summaryrefslogtreecommitdiff
path: root/docs/conf.py
diff options
context:
space:
mode:
authorc1570 <[email protected]>2025-09-22 23:31:13 +0200
committerc1570 <[email protected]>2025-10-20 21:07:04 +0200
commite4ff88f3640458f820838efd047a3831333446d8 (patch)
tree1b21341429fe8dda6ff59d8764a6cb6df6a4b499 /docs/conf.py
parent79445c2386adefb207a76a70d87578b53c3e7922 (diff)
WIP improved docs (feat. LLM)
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']