Build docs is now implemented using setup.py
This commit is contained in:
parent
20b6e455a6
commit
bba5e66fa1
2
.gitignore
vendored
2
.gitignore
vendored
@ -25,6 +25,8 @@ target
|
||||
*.iws
|
||||
doc/html
|
||||
doc/source/apidoc
|
||||
doc/source/api
|
||||
doc/build
|
||||
*.db
|
||||
.coverage
|
||||
nosetests.xml
|
||||
|
4
setup.cfg
Normal file
4
setup.cfg
Normal file
@ -0,0 +1,4 @@
|
||||
[build_sphinx]
|
||||
all_files = 1
|
||||
build-dir = doc/build
|
||||
source-dir = doc/source
|
@ -1,12 +1,11 @@
|
||||
#!/bin/bash
|
||||
#!/bin/bash -e
|
||||
|
||||
echo "Building docs..."
|
||||
|
||||
rm -rf doc/html
|
||||
rm -rf doc/source/apidoc
|
||||
rm -rf doc/html doc/build
|
||||
rm -rf doc/source/apidoc doc/source/api
|
||||
|
||||
# .venv/bin/sphinx-apidoc -f -o doc/source/apidoc/ eho
|
||||
.venv/bin/sphinx-build doc/source/ doc/html/
|
||||
.venv/bin/python setup.py build_sphinx
|
||||
|
||||
echo "Done."
|
||||
echo "Docs are now available in 'doc/html/'"
|
||||
echo "Docs are now available in 'doc/build/html/'"
|
||||
|
Loading…
Reference in New Issue
Block a user