Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 76eaf47e authored by Kevin Pouget's avatar Kevin Pouget
Browse files

add documentation autobuild

parent 82e9fd5e
No related branches found
No related tags found
No related merge requests found
......@@ -4,6 +4,8 @@
# You can set these variables from the command line.
SPHINXOPTS =
SPHINXBUILD = sphinx-build
SPHINXAUTOBUILD = sphinx-autobuild
SPHINXAUTOBUILDOPT = --ignore .\#*
PAPER =
BUILDDIR = _build
ROOT_DIR := $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
......@@ -26,6 +28,7 @@ I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
help:
@echo "Please use \`make <target>' where <target> is one of"
@echo " html to make standalone HTML files"
@echo " autohtml to make start a watch and rebuild the documentation when a change is detected (https://github.com/GaretJax/sphinx-autobuild)."
@echo " dirhtml to make HTML files named index.html in directories"
@echo " singlehtml to make a single large HTML file"
@echo " pickle to make pickle files"
......@@ -56,6 +59,11 @@ html:
@echo
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
autohtml:
$(SPHINXAUTOBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html $(SPHINXAUTOBUILDOPT)
@echo
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
dirhtml:
$(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml
@echo
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment