2
0
Fork 0
mirror of https://github.com/datalad/datasalad.git synced 2026-05-20 11:28:02 +00:00
datasalad/docs/Makefile
Michael Hanke a2fe3ab317 chore: tune documentation setup
Use a leaner automodule documentation. Go with a select list of
to-be-documented module content, rather than everything. This enables
using content overview tables without running into duplication issues
with Sphinx.

Use the RTD theme and polish the presentation of information a bit.
2024-09-29 10:57:50 +02:00

20 lines
652 B
Makefile

# Minimal makefile for Sphinx documentation
#
# You can set these variables from the command line, and also
# from the environment for the first two.
SPHINXOPTS ?= --fail-on-warning
SPHINXBUILD ?= sphinx-build
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
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)