8000 Change 'make docs-install' command to install Sphinx and Twilio libra… · BioComputing/twilio-python@53437e4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 53437e4

Browse files
committed
Change 'make docs-install' command to install Sphinx and Twilio libraries and 'make docs' to run sphinx-apidoc
1 parent 13efe7f commit 53437e4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,11 @@ cover:
2727
find tests -type d | xargs nosetests --with-coverage --cover-inclusive --cover-erase --cover-package=twilio
2828

2929
docs-install:
30-
. venv/bin/activate; pip install pdoc
30+
. venv/bin/activate; pip install twilio sphinx
3131

3232
docs:
33-
. venv/bin/activate; pdoc twilio --overwrite --html --html-dir docs
33+
. venv/bin/activate; sphinx-apidoc -f twilio -o docs/source
34+
cd docs && make clean && make html
3435

3536
release:
3637
. venv/bin/activate; python setup.py sdist upload

0 commit comments

Comments
 (0)
0