diff --git a/Makefile.sphinx b/Makefile.sphinx index dd500dbe25b1d7841edb0fe0605eaa431cb574c3..03b277ef8dfea85466e4613f53f8417327522fde 100644 --- a/Makefile.sphinx +++ b/Makefile.sphinx @@ -12,7 +12,7 @@ SPHINX_SRCDIR = . # relative to docs/ dir. Hence "." exclude the docs/ dir itself APIDOC_EXCLUDES = conftest.py setup.py APIDOC_EXCLUDES += */tests/* */migrations/* */wsgi.py */conftest.py -APIDOC_EXCLUDES += */deposit/settings/* */web/settings/* */dataset/* +APIDOC_EXCLUDES += */deposit/settings/* */web/settings/* APIDOC_EXCLUDES += bin build dist utils node_modules APIDOC_SWH_EXCLUDES = $(patsubst %,"../%",$(APIDOC_EXCLUDES)) diff --git a/docs/devel/Makefile b/docs/devel/Makefile index 761f278704e97f9c70eed7a9edce58a20ab1ed04..1c429f7b29c5e3cc42274217d767baa4e0036ed5 100644 --- a/docs/devel/Makefile +++ b/docs/devel/Makefile @@ -9,7 +9,7 @@ SPHINXAPIDOC = sphinx-apidoc APIDOC_DIR = apidoc APIDOC_OPTS = --ext-viewcode --separate --no-toc APIDOC_EXCLUDES = */tests */migrations */wsgi.py */conftest.py */setup.py -APIDOC_EXCLUDES += deposit/settings/* web/settings/* dataset/* +APIDOC_EXCLUDES += deposit/settings/* web/settings/* APIDOC_SWH_EXCLUDES = $(patsubst %,"$(SWHPKGDIR)/%",$(APIDOC_EXCLUDES)) all: html