mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Add initial requirements for documentation
This commit is contained in:
parent
fee8616766
commit
66cf8239fc
17
Makefile
17
Makefile
@ -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
1
docs/requirements.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
Sphinx>=2.0.1
|
Loading…
Reference in New Issue
Block a user