summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authornicolargo <nicolas@nicolargo.com>2021-07-17 09:31:07 +0200
committernicolargo <nicolas@nicolargo.com>2021-07-17 09:31:07 +0200
commita9d5c0c1acb4834f8fe28ef48eab38d4bf92fddb (patch)
treefd7a24551dd60d9f8f1f39c1aaa8ed852e4b9c4f /Makefile
parenta24fab1b643a95c462e833fe53dc141fc12e4048 (diff)
Add limits
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)") &