summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9f5a80b5..7dd127b3 100644
--- a/Makefile
+++ b/Makefile
@@ -30,7 +30,8 @@ test: venv
./venv/bin/python ./unitest-xmlrpc.py
docs: venv-dev
- cd docs && ./build.sh
+ ./venv/bin/python -m glances -C ./conf/glances.conf --api-doc > ./docs/api.rst
+ cd docs && ./build.sh && cd ..
docs-server: docs
(sleep 2 && sensible-browser "http://localhost:$(PORT)") &