diff --git a/docs/conf.py b/docs/conf.py index 28b39452c..74c51fd71 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -374,6 +374,10 @@ texinfo_documents = [ # If true, do not generate a @detailmenu in the "Top" node's menu. #texinfo_no_detailmenu = False +# If true, create table of contents entries for domain objects (e.g. functions, +# classes, attributes, etc.). +toc_object_entries=False + def setup(app): if app.config.language == 'ja': app.config.intersphinx_mapping['py'] = ('https://docs.python.org/ja/3', None) diff --git a/pyproject.toml b/pyproject.toml index 4ec7bc007..627fd72a7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -38,7 +38,7 @@ dependencies = { file = "requirements.txt" } [project.optional-dependencies] voice = ["PyNaCl>=1.3.0,<1.6"] docs = [ - "sphinx==4.4.0", + "sphinx==5.3.0", "sphinxcontrib_trio==1.1.2", # TODO: bump these when migrating to a newer Sphinx version "sphinxcontrib-websupport==1.2.4",