Skip to content

Commit

Permalink
Don't show module attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
Malte Jahn committed Mar 24, 2023
1 parent b08d71c commit 038faaf
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,18 @@
"*/flex_opt/storage_positioning.py",
"*/opf/*",
]


def skip_autoapi_parts(app, what, name, obj, skip, options):
if obj.type == "data":
skip = True
return skip


def setup(sphinx):
sphinx.connect("autoapi-skip-member", skip_autoapi_parts)


# Napoleon settings
napoleon_google_docstring = True
napoleon_numpy_docstring = True
Expand Down

0 comments on commit 038faaf

Please sign in to comment.