-
Notifications
You must be signed in to change notification settings - Fork 774
Auto generate docs with sphinx #442
New issue
8000
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
53437e4
Change 'make docs-install' command to install Sphinx and Twilio libra…
mbichoffe 200900d
update gitignore to ignore build directories
mbichoffe 98e6e19
Add docs directory and Makefile
mbichoffe 6808032
add config file
mbichoffe fab86d0
add sidebar template;
mbichoffe 4061c61
adds index directive
mbichoffe a7f92bd
adds readme to autogenerated docs
mbichoffe f6a5829
Clean up source/_rst directory before calling sphinx-apidoc
mbichoffe ced3bf0
Remove unnecessary commands
mbichoffe 0b894b6
Remove twilio lib from doc-install
mbichoffe c55b271
Add twilio relative import
mbichoffe 6b7d9ea
add glob flag and _rst/module directive
mbichoffe b4fb42e
add _rst directory
mbichoffe 05284fc
Update master doc location
mbichoffe 615d5ae
fiiiine, added all sphinx make commands to this file and removed docs…
mbichoffe a4cdd87
address code review comments
mbichoffe d788c3d
specify docs directories to ignore
mbichoffe b889bdf
address code review comments
mbichoffe d6c49ea
bump Sphinx version
mbichoffe 7a6eb0e
address code review comment
mbichoffe File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
address code review comments
- Loading branch information
commit a4cdd87813043884a58712fd4e33612746cc1d04
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,8 +30,8 @@ docs-install: | |
. venv/bin/activate; pip install -U sphinx | ||
|
||
docs: | ||
-rm -rf source/_rst/* | ||
-rm -rf build/* | ||
-rm -rf docs/source/_rst | ||
-rm -rf docs/build/* | ||
. venv/bin/activate; sphinx-apidoc -f twilio -o docs/source/_rst | ||
. venv/bin/activate; sphinx-build -b html -c ./docs -d docs/build/doctrees . docs/build/html | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. how does sphinx-build know where to find index.rst? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It's on |
||
|
||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe better to use
pip install -r tests/requirements.txt
? It looks like we already require sphinx 1.4.9 there.