Skip to content
Snippets Groups Projects
Commit 5578eb94 authored by Hervé  MENAGER's avatar Hervé MENAGER
Browse files

clean up the docs generation (sphinx-api and graph_models)

parent a503b405
No related branches found
No related tags found
1 merge request!15Master
......@@ -62,8 +62,6 @@ test-centos7:
- coverage html
- pip3.6 install sphinx sphinx-argparse sphinxcontrib.bibtex sphinx_rtd_theme
- cd docs
- sphinx-apidoc -o source/ippidb/ ../ippidb
- sphinx-apidoc -o source/ippisite/ ../ippisite
- make html
artifacts:
paths:
......
......@@ -3,6 +3,8 @@
# You can set these variables from the command line.
SPHINXOPTS =
SPHINXAPI = sphinx-apidoc
SPHINXAPISRC = ..
SPHINXBUILD = sphinx-build
SOURCEDIR = source
BUILDDIR = build
......@@ -16,4 +18,6 @@ help:
# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
\ No newline at end of file
@$(SPHINXAPI) -o $(SOURCEDIR) $(SPHINXAPISRC)
python ../manage.py graph_models ippidb --dot > source/db.dot
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment