From 20a003e077207588158694ff062297ed2fc2a158 Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Sat, 9 Dec 2023 00:02:54 +0100 Subject: [PATCH] FIX: remove `sphinx.ext.viewcode` --- docs/conf.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 71093d4c..577ad6b8 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -121,17 +121,16 @@ def create_constraints_inventory() -> None: "sphinx.ext.intersphinx", "sphinx.ext.mathjax", "sphinx.ext.napoleon", - "sphinx.ext.viewcode", + "sphinx_api_relink", "sphinx_codeautolink", "sphinx_comments", "sphinx_copybutton", "sphinx_design", "sphinx_hep_pdgref", + "sphinx_pybtex_etal_style", "sphinx_thebe", "sphinx_togglebutton", "sphinxcontrib.bibtex", - "sphinx_api_relink", - "sphinx_pybtex_etal_style", ] autodoc_default_options = { "exclude-members": ", ".join([ @@ -316,5 +315,4 @@ def create_constraints_inventory() -> None: "repository_branch": html_theme_options["repository_branch"], } todo_include_todos = False -viewcode_follow_imported_members = True version = get_package_version(PACKAGE)