Add initial requirements for documentation

This commit is contained in:
Oliver Walters 2019-04-27 15:44:46 +10:00
parent fee8616766
commit 66cf8239fc
2 changed files with 11 additions and 7 deletions

View File

@ -7,13 +7,6 @@ clean:
rm -rf .tox rm -rf .tox
rm -f .coverage rm -f .coverage
style:
flake8 InvenTree
test:
python InvenTree/manage.py check
python InvenTree/manage.py test build company part stock
migrate: migrate:
python InvenTree/manage.py makemigrations company python InvenTree/manage.py makemigrations company
python InvenTree/manage.py makemigrations part python InvenTree/manage.py makemigrations part
@ -28,10 +21,20 @@ install:
setup: install migrate setup: install migrate
style:
flake8 InvenTree
test:
python InvenTree/manage.py check
python InvenTree/manage.py test build company part stock
coverage: coverage:
python InvenTree/manage.py check python InvenTree/manage.py check
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:
pip install -U -r docs/requirements.txt
superuser: superuser:
python InvenTree/manage.py createsuperuser python InvenTree/manage.py createsuperuser

1
docs/requirements.txt Normal file
View File

@ -0,0 +1 @@
Sphinx>=2.0.1