Skip to content

Commit

Permalink
Merge pull request #109 from NiklasMelton/autodoc-init
Browse files Browse the repository at this point in the history
Autodoc init
  • Loading branch information
NiklasMelton authored Oct 17, 2024
2 parents 6297606 + 19139fb commit a64d5fa
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@
# -- Project information -----------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information

def skip(app, what, name, obj, would_skip, options):
if name == "__init__":
return False
return would_skip

def setup(app):
app.connect("autodoc-skip-member", skip)

project = 'AdaptiveResonanceLib'
copyright = '2024, Niklas Melton'
author = 'Niklas Melton'
Expand Down Expand Up @@ -34,7 +42,8 @@
autoapi_type = 'python'
autoapi_dirs = ['../../artlib'] # Adjust this to point to your source code directory
autoapi_ignore = ['*/experimental', '*/experimental/*']
autoapi_python_class_content = 'both'
# autoapi_python_class_content = 'both'
# autoclass_content = 'both'

bibtex_bibfiles = ['references.bib']

Expand Down

0 comments on commit a64d5fa

Please sign in to comment.