Changeset View
Changeset View
Standalone View
Standalone View
Makefile.sphinx
# Makefile to be included by other modules, from the TOPLEVEL/docs/ dir, to | # Makefile to be included by other modules, from the TOPLEVEL/docs/ dir, to | ||||
# automatically build sphinx documentation. | # automatically build sphinx documentation. | ||||
APIDOC_DIR = apidoc | APIDOC_DIR = apidoc | ||||
APIDOC_OPTS = --ext-viewcode --separate | APIDOC_OPTS = --ext-viewcode --separate | ||||
SPHINXBUILD = sphinx-build | SPHINXBUILD = sphinx-build | ||||
SPHINXAPIDOC = sphinx-apidoc | SPHINXAPIDOC = sphinx-apidoc | ||||
SPHINX_OPTS = | SPHINX_OPTS = | ||||
SPHINX_BUILDDIR = _build | SPHINX_BUILDDIR = _build | ||||
SPHINX_SRCDIR = . | SPHINX_SRCDIR = . | ||||
# relative to docs/ dir. Hence "." exclude the docs/ dir itself | # relative to docs/ dir. Hence "." exclude the docs/ dir itself | ||||
APIDOC_EXCLUDES = . ../setup.py | APIDOC_EXCLUDES = . ../setup.py ../conftest.py | ||||
APIDOC_EXCLUDES += ../swh/*/tests ../swh/*/tests/* ../swh/*/*/tests/* ../swh/*/*/*/tests/* | APIDOC_EXCLUDES += ../swh/*/tests ../swh/*/tests/* ../swh/*/*/tests/* ../swh/*/*/*/tests/* | ||||
APIDOC_EXCLUDES += ../swh/*/migrations ../swh/*/migrations/* ../swh/*/*/migrations/* ../swh/*/*/*/migrations/* | APIDOC_EXCLUDES += ../swh/*/migrations ../swh/*/migrations/* ../swh/*/*/migrations/* ../swh/*/*/*/migrations/* | ||||
APIDOC_EXCLUDES += ../bin ../dist ../utils ../node_modules | APIDOC_EXCLUDES += ../bin ../dist ../utils ../node_modules | ||||
html: sphinx/html | html: sphinx/html | ||||
help: sphinx/help | help: sphinx/help | ||||
# allow to skip apidoc generation, for modules where the overall documentation | # allow to skip apidoc generation, for modules where the overall documentation | ||||
Show All 31 Lines |