8000 fiiiine, added all sphinx make commands to this file and removed docs… · BioComputing/twilio-python@615d5ae · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit 615d5ae

Browse files
committed
fiiiine, added all sphinx make commands to this file and removed docs/Makefile
1 parent 05284fc commit 615d5ae

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

Makefile

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,17 @@ 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 sphinx
30+
. venv/bin/activate; pip install -U sphinx
3131

3232
docs:
3333
-rm -rf source/_rst/*
34+
-rm -rf build/*
3435
. venv/bin/activate; sphinx-apidoc -f twilio -o docs/source/_rst
35-
cd docs && make clean && make html
36+
. venv/bin/activate; sphinx-build -b html -c ./docs -d docs/build/doctrees . docs/build/html
37+
38+
@echo
39+
@echo "Build finished. The HTML pages are in build/html."
40+
3641

3742
release:
3843
. venv/bin/activate; python setup.py sdist upload

0 commit comments

Comments
 (0)
0