diff --git a/docs/source/conf.py b/docs/source/conf.py index a95656167..e20d8127e 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -27,6 +27,9 @@ # If true, the current module name will be prepended to all description # unit titles (such as .. function::). add_module_names = False +# Disable auto-created table of contents entries for all domain objects +# (functions, classes, attributes, etc.) +toc_object_entries = False extensions = [ "djangodocs", @@ -51,5 +54,5 @@ # -- Options for HTML output ------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output -html_theme = "alabaster" +html_theme = "furo" html_static_path = ["_static"] diff --git a/pyproject.toml b/pyproject.toml index 7b412e1db..375c6bbad 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -34,7 +34,10 @@ classifiers = [ ] [project.optional-dependencies] -docs = [ "sphinx>=7"] +docs = [ + "sphinx>=7", + "furo>=2025.7.19", +] [project.urls] Homepage = "https://www.mongodb.org"