8000 Auto generate docs with sphinx by mbichoffe · Pull Request #442 · twilio/twilio-python · GitHub
[go: up one dir, main page]

Skip to content

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 20 commits into from
Aug 3, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
address code review comments
  • Loading branch information
mbichoffe committed Aug 1, 2018
commit a4cdd87813043884a58712fd4e33612746cc1d04
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ docs-install:
. venv/bin/activate; pip install -U sphinx
Copy link
Contributor

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.


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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how does sphinx-build know where to find index.rst?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's on conf.py and the -c flag indicates where the conf file lives


Expand Down
0