Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

Commit

Permalink
DOC: Include special members in documentation
Browse files Browse the repository at this point in the history
Include the `__call__` and `__len__` special members when generating the
documentation.
  • Loading branch information
jhlegarreta committed Dec 8, 2024
1 parent f10fc12 commit a0c8ec2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,13 @@
apidoc_separate_modules = True
apidoc_extra_args = ["--module-first", "-d 1", "-T"]


# -- Options for autodoc extension -------------------------------------------
autodoc_default_options = {
"special-members": "__call__, __len__",
}


# -- Options for intersphinx extension ---------------------------------------

# Example configuration for intersphinx: refer to the Python standard library.
Expand Down

0 comments on commit a0c8ec2

Please sign in to comment.