summaryrefslogtreecommitdiff
path: root/docs/conf.py
diff options
context:
space:
mode:
Diffstat (limited to 'docs/conf.py')
-rwxr-xr-xdocs/conf.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/docs/conf.py b/docs/conf.py
index 4249d41f7..be9aeaaf9 100755
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -24,9 +24,29 @@ extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.intersphinx',
'sphinx.ext.todo',
+ 'sphinx.ext.viewcode',
+ 'sphinx.ext.napoleon',
'sphinx_autodoc_typehints',
]
+# Autodoc configuration
+autodoc_default_options = {
+ 'members': True,
+ 'undoc-members': True,
+ 'show-inheritance': True,
+}
+
+# Napoleon configuration for Google/NumPy style docstrings
+napoleon_google_docstring = True
+napoleon_numpy_docstring = True
+napoleon_include_init_with_doc = False
+napoleon_include_private_with_doc = False
+
+# Intersphinx mapping for cross-references
+intersphinx_mapping = {
+ 'python': ('https://docs.python.org/3', None),
+}
+
templates_path = ['_templates']
exclude_patterns = ['_build']