From 827904df90d3da4e48747375aab2e36da385b367 Mon Sep 17 00:00:00 2001 From: pveigadecamargo Date: Fri, 9 Aug 2024 23:17:04 +1000 Subject: [PATCH] Documentation performance --- docs/requirements-docs.txt | 3 ++- docs/source/conf.py | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/requirements-docs.txt b/docs/requirements-docs.txt index dd9913ecd..ba9bee28b 100644 --- a/docs/requirements-docs.txt +++ b/docs/requirements-docs.txt @@ -14,4 +14,5 @@ sphinx-gallery sphinx-copybutton sphinx-design sphinx-git -nbconvert \ No newline at end of file +nbconvert +sphinx-tabs \ No newline at end of file diff --git a/docs/source/conf.py b/docs/source/conf.py index c43d7d253..649174b45 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -62,8 +62,12 @@ "sphinx_design", "sphinx_copybutton", "sphinx_git", + "sphinx_tabs.tabs", ] +sphinx_tabs_valid_builders = ['linkcheck'] +sphinx_tabs_disable_tab_closing = True + # Change plot_gallery to True to start building examples again sphinx_gallery_conf = { "examples_dirs": ["examples"], # path to your example scripts