Skip to content

Commit

Permalink
docs(cof): Add autodoc settings
Browse files Browse the repository at this point in the history
  • Loading branch information
tony committed Oct 1, 2022
1 parent c67d91e commit 0ca95a4
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/conf.py
Expand Up @@ -100,6 +100,18 @@
# linkify_issues
issue_url_tpl = about["__github__"] + "/issues/{issue_id}"

# sphinx.ext.autodoc
autoclass_content = "both"
autodoc_member_order = "bysource"
toc_object_entries_show_parents = "hide"
autodoc_default_options = {
"undoc-members": True,
"members": True,
"private-members": True,
"show-inheritance": True,
"member-order": "bysource",
}

# sphinxext.opengraph
ogp_site_url = about["__docs__"]
ogp_image = "_static/img/icons/icon-192x192.png"
Expand Down

0 comments on commit 0ca95a4

Please sign in to comment.