From 1d5a7d8ca9849c40d39813e7c99e0bf79460bbc3 Mon Sep 17 00:00:00 2001 From: Ryan Ly Date: Fri, 9 Feb 2024 22:53:26 -0800 Subject: [PATCH] Exclude pynwb retinotopy from sphinx --- docs/source/conf.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/source/conf.py b/docs/source/conf.py index c46d2edd5..e4d70da10 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -209,6 +209,13 @@ def __call__(self, filename): # directories to ignore when looking for source files. exclude_patterns = ['_build', 'test.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 +# building process. +autodoc_mock_imports = [ + 'pynwb.retinotopy', +] + # The reST default role (used for this markup: `text`) to use for all documents. # default_role = None