2018-05-29 18:33:50 +03:00
|
|
|
# Minimal makefile for Sphinx documentation
|
|
|
|
#
|
|
|
|
|
|
|
|
# You can set these variables from the command line.
|
2021-07-20 11:27:58 +03:00
|
|
|
SPHINXOPTS = -n -q -j auto -T $(FAIL_WARN) $(OPTS)
|
2019-04-24 12:42:36 +03:00
|
|
|
SPHINXBUILD = sphinx-build
|
2018-05-29 18:33:50 +03:00
|
|
|
SPHINXPROJ = kitty
|
|
|
|
SOURCEDIR = .
|
|
|
|
BUILDDIR = _build
|
|
|
|
|
|
|
|
# Put it first so that "make" without argument is like "make help".
|
|
|
|
help:
|
|
|
|
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|
|
|
|
|
|
|
|
.PHONY: help Makefile
|
|
|
|
|
|
|
|
# Catch-all target: route all unknown targets to Sphinx using the new
|
|
|
|
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
|
|
|
|
%: Makefile
|
2018-06-08 09:12:54 +03:00
|
|
|
$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|
2021-07-17 13:58:42 +03:00
|
|
|
|
|
|
|
|
|
|
|
develop-docs:
|
2021-07-22 08:33:13 +03:00
|
|
|
sphinx-autobuild --ignore "$(abspath $(SOURCEDIR))/generated/*" --watch ../kitty --watch ../kittens -b dirhtml "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS)
|