From b7deca6233c10a1bcd0637d48f8687a6335e047a Mon Sep 17 00:00:00 2001 From: Ryan Ly Date: Wed, 14 Feb 2024 13:25:03 +0900 Subject: [PATCH] Update conf.py --- docs/source/conf.py | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index 4fb9f9acd..16ed7a669 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -207,7 +207,13 @@ def __call__(self, filename): # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. -exclude_patterns = ['_build', 'test.py'] +exclude_patterns = ['_build', 'test.py', "../../src/pynwb/retinotopy.py",] + +# List of patterns, relative to source directory, of modules to be +# excluded by apidoc when generating rst files. +apidoc_exclude = [ + "../../src/pynwb/retinotopy.py", +] # # This value contains a list of modules to be mocked up. This is useful # # when some external dependencies are not met at build time and break the @@ -411,11 +417,6 @@ def __call__(self, filename): # see http://www.sphinx-doc.org/en/master/extdev/appapi.html # -# paths to modules to be excluded by apidoc when generating rst files -apidoc_exclude = [ - "../../src/pynwb/retinotopy", -] - def run_apidoc(_): from sphinx.ext.apidoc import main as apidoc_main import os