From 53ec42af031ce7534f11f5fdf190cce18985c348 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Sat, 27 Apr 2019 17:22:23 +1000 Subject: [PATCH] Generate documentation from makefile - Had to change 'docs' to 'documentation' to prevent directory clash --- Makefile | 3 ++- docs/requirements.txt | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index b25683e5a9..d675749c5c 100644 --- a/Makefile +++ b/Makefile @@ -33,8 +33,9 @@ coverage: coverage run InvenTree/manage.py test build company part stock coverage html -docs: +documentation: pip install -U -r docs/requirements.txt + cd docs & make html superuser: python InvenTree/manage.py createsuperuser diff --git a/docs/requirements.txt b/docs/requirements.txt index 7f9639c4b0..7b5dff3e0a 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,3 +1,3 @@ Sphinx>=2.0.1 -sphinx-auto-api==1.0.0 +sphinx-autoapi==1.0.0 sphinx-rtd-theme==0.4.3 \ No newline at end of file