diff --git a/MANIFEST.in b/MANIFEST.in index a3c0e94fdf..0844e992fc 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -4,4 +4,4 @@ include smriprep/_version.py include smriprep/data/reports/* include smriprep/data/boilerplate.bib include smriprep/data/itkIdentityTransform.txt -include VERSION +include smriprep/VERSION diff --git a/docs/conf.py b/docs/conf.py index 71fa46cc38..7f93661810 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -209,7 +209,7 @@ apidoc_module_dir = '../smriprep' apidoc_output_dir = 'api' -apidoc_excluded_paths = ['conftest.py', '*/tests/*', 'tests/*', 'data/*'] +apidoc_excluded_paths = ['conftest.py', '*/tests/*', 'tests/*', 'data/*', 'conf/*'] apidoc_separate_modules = True apidoc_extra_args = ['--module-first', '-d 1', '-T'] diff --git a/setup.cfg b/setup.cfg index b0b8d9f658..f88709890f 100644 --- a/setup.cfg +++ b/setup.cfg @@ -51,9 +51,10 @@ doc = pydotplus sphinx >= 2.1.2 sphinx-argparse - sphinx-versioning @ git+https://github.com/rwblair/sphinxcontrib-versioning.git@39b40b0b84bf872fc398feff05344051bbce0f63 sphinx_rtd_theme sphinxcontrib-apidoc ~= 0.3.0 + sphinxcontrib-napoleon @ git+https://github.com/AleksandarPetrov/napoleon.git@0dc3f28a309ad602be5f44a9049785a1026451b3 + sphinxcontrib-versioning @ git+https://github.com/rwblair/sphinxcontrib-versioning.git@39b40b0b84bf872fc398feff05344051bbce0f63 docs = %(doc)s duecredit = duecredit