Generate documentation from makefile

- Had to change 'docs' to 'documentation' to prevent directory clash
This commit is contained in:
Oliver Walters 2019-04-27 17:22:23 +10:00
parent ad3defffe3
commit 53ec42af03
2 changed files with 3 additions and 2 deletions

View File

@ -33,8 +33,9 @@ coverage:
coverage run InvenTree/manage.py test build company part stock coverage run InvenTree/manage.py test build company part stock
coverage html coverage html
docs: documentation:
pip install -U -r docs/requirements.txt pip install -U -r docs/requirements.txt
cd docs & make html
superuser: superuser:
python InvenTree/manage.py createsuperuser python InvenTree/manage.py createsuperuser

View File

@ -1,3 +1,3 @@
Sphinx>=2.0.1 Sphinx>=2.0.1
sphinx-auto-api==1.0.0 sphinx-autoapi==1.0.0
sphinx-rtd-theme==0.4.3 sphinx-rtd-theme==0.4.3