Skip to content

Download an archive of project files #16

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wapcaplet opened this issue Sep 4, 2010 · 4 comments
Closed

Download an archive of project files #16

wapcaplet opened this issue Sep 4, 2010 · 4 comments

Comments

@wapcaplet
Copy link
Contributor

For projects that are created on the RTD site (as opposed to those that are imported from a repository), it might be nice to have an option to download an archive of all that project's files.

Use case: I start a new toy project, and throw a few docs up on RTD. But then the project grows, and now I want to grab all my docs and put them in my repository.

Suggested by ojiisan on issue #1

@ericholscher
Copy link
Member

This is already implemented at the bottom of projects.views.private, but not exposed in the UI. Could probably be done in the dashboard submenu optionally for people who have non-imported projects.

@wapcaplet
Copy link
Contributor Author

Heck, all the work was done for me. I added it to the project bar, next to "Manage Files": wapcaplet/readthedocs.org@0d36c59

One wrinkle is the call to os.system in the view; it should work to use Python's builtin zipfile library instead. I'll look into it.

@wapcaplet
Copy link
Contributor Author

Switched to the zipfile library: wapcaplet/readthedocs.org@3402dc2

@ericholscher
Copy link
Member

This was fixed.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants