diff --git a/Makefile.sphinx b/Makefile.sphinx --- a/Makefile.sphinx +++ b/Makefile.sphinx @@ -10,7 +10,7 @@ SPHINX_SRCDIR = . # relative to docs/ dir. Hence "." exclude the docs/ dir itself -APIDOC_EXCLUDES = . ../setup.py ../conftest.py +APIDOC_EXCLUDES = . ../setup.py ../conftest.py ../swh/*/conftest.py APIDOC_EXCLUDES += ../swh/*/tests ../swh/*/tests/* ../swh/*/*/tests/* ../swh/*/*/*/tests/* APIDOC_EXCLUDES += ../swh/*/migrations ../swh/*/migrations/* ../swh/*/*/migrations/* ../swh/*/*/*/migrations/* APIDOC_EXCLUDES += ../bin ../dist ../utils ../node_modules diff --git a/docs/Makefile b/docs/Makefile --- a/docs/Makefile +++ b/docs/Makefile @@ -16,7 +16,8 @@ APIDOC_OPTS = --ext-viewcode --separate --no-toc APIDOC_EXCLUDES = */tests */tests/* */*/tests/* */*/*/tests/* APIDOC_EXCLUDES += */migrations */migrations/* */*/migrations/* */*/*/migrations/* -APIDOC_EXCLUDES += */wsgi.py */*/wsgi.py */*/*/wsgi.py */*/*/wsgi.py +APIDOC_EXCLUDES += */wsgi.py */*/wsgi.py */*/*/wsgi.py +APIDOC_EXCLUDES += */conftest.py */*/conftest.py */*/*/conftest.py APIDOC_EXCLUDES += deposit/settings/* web/settings/* dataset/* APIDOC_SWH_EXCLUDES = $(patsubst %,$(SWHPKGDIR)/%,$(APIDOC_EXCLUDES))