2019-01-22 02:42:55 +00:00
|
|
|
# Minimal makefile for Sphinx documentation
|
|
|
|
#
|
|
|
|
|
|
|
|
# You can set these variables from the command line.
|
2019-09-22 21:39:41 +00:00
|
|
|
SPHINXOPTS = -W
|
2019-01-30 01:20:15 +00:00
|
|
|
SPHINXBUILD = python3 -m sphinx
|
2019-01-22 02:42:55 +00:00
|
|
|
SOURCEDIR = source
|
|
|
|
BUILDDIR = build
|
|
|
|
|
2020-04-24 17:52:27 +00:00
|
|
|
|
2019-01-22 02:42:55 +00:00
|
|
|
# Put it first so that "make" without argument is like "make help".
|
|
|
|
help:
|
|
|
|
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|
|
|
|
|
|
|
|
.PHONY: help Makefile
|
|
|
|
|
2020-05-04 16:41:41 +00:00
|
|
|
clean:
|
|
|
|
echo "Removing old autodoc generated files..."
|
|
|
|
rm -rf "$(SOURCEDIR)/api"
|
|
|
|
@$(SPHINXBUILD) -M clean "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|
|
|
|
|
2019-01-22 02:42:55 +00:00
|
|
|
# Catch-all target: route all unknown targets to Sphinx using the new
|
|
|
|
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
|
|
|
|
%: Makefile
|
2020-05-19 18:28:29 +00:00
|
|
|
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|