Docs: update Sphinx config, to show inheritance. This should simplify cross-module readability, and also makes errors caused by autodoc easier to spot.

This commit is contained in:
Nathan Williis 2024-08-20 16:14:46 +01:00
parent 31b5ce1f8e
commit 6f7d949d5c

View File

@ -40,7 +40,7 @@ extensions = [
autodoc_mock_imports = ["gtk", "reportlab"]
autodoc_default_options = {"members": True, "inherited-members": True}
autodoc_default_options = {"members": True, "inherited-members": True, "show-inheritance": True}
# Add any paths that contain templates here, relative to this directory.
templates_path = ["_templates"]
@ -78,7 +78,7 @@ release = "4.0"
#
# This is also used if you do content translation via gettext catalogs.
# Usually you set "language" from the command line for these cases.
language = None
language = "en"
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.