include ../defines.mk
-ifeq ($(BUILD_MODE), release)
-COMPILEDIR := ../target/release
-else
-COMPILEDIR := ../target/debug
-endif
-
GENERATED_SYNOPSIS := \
proxmox-backup-client/synopsis.rst \
proxmox-backup-client/catalog-shell-synopsis.rst \
SPHINXBUILD = sphinx-build
BUILDDIR = output
+ifeq ($(BUILD_MODE), release)
+COMPILEDIR := ../target/release
+SPHINXOPTS += -t release
+else
+COMPILEDIR := ../target/debug
+SPHINXOPTS += -t devbuild
+endif
+
+
# Sphinx internal variables.
ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(SPHINXOPTS) .
Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included
in the section entitled "GNU Free Documentation License".
-.. todolist::
-
.. toctree::
:maxdepth: 3
glossary.rst
GFDL.rst
+.. only:: html and devbuild
+
+ .. toctree::
+ :maxdepth: 2
+ :caption: Developer Appendix
+
+ todos.rst
+
+
* :ref:`genindex`