summaryrefslogtreecommitdiff
path: root/Makefile.example
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2020-12-01 18:17:04 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2021-02-28 12:15:21 +0100
commit3c6d4cca5fdb40850359c5a4cdf1f17fd5bd7473 (patch)
treeaf310bc80c9a4980d345071ef93a08217280e7c3 /Makefile.example
parent342ea7e679a1609a810f216549e403d2563d27a1 (diff)
downloadIshtar-3c6d4cca5fdb40850359c5a4cdf1f17fd5bd7473.tar.bz2
Ishtar-3c6d4cca5fdb40850359c5a4cdf1f17fd5bd7473.zip
Docs: autogen value documentation
Diffstat (limited to 'Makefile.example')
-rw-r--r--Makefile.example2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.example b/Makefile.example
index b873d86fd..4aeca6f21 100644
--- a/Makefile.example
+++ b/Makefile.example
@@ -101,6 +101,8 @@ migrations:
generate_doc:
cd $(project);\
+ echo 'exec(open("../docs/generate_values_doc.py").read())' | $(PYTHON) ./manage.py shell
+ cd $(project);\
$(PYTHON) manage.py graph_models --pydot -g -I "ImporterModel,ImporterType,ImporterDefault,ImporterDefaultValues,ImporterColumn,Regexp,ImportTarget,FormaterType,Import" ishtar_common > /tmp/ishtar-imports.dot ;\
dot -Tsvg /tmp/ishtar-imports.dot -o ../docs/source/_static/db-imports.svg
rm /tmp/ishtar-imports.dot