diff --git a/docs/conf.py b/docs/conf.py index d54a19c..dce0e9d 100755 --- a/docs/conf.py +++ b/docs/conf.py @@ -280,9 +280,13 @@ #texinfo_no_detailmenu = False +# Run sphinx-apidoc before building docs. def run_apidoc(_): ignore_paths = [ - ... + "../setup.py", + "../tests", + "../travis_pypi_setup.py", + "../versioneer.py" ] argv = [ diff --git a/docs/index.rst b/docs/index.rst index f431c10..97524e3 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -1,5 +1,5 @@ Welcome to pysharedmem's documentation! -====================================== +======================================= Contents: