From 5e18e2f1b590e81e8e0c57cbc37626c9bd142596 Mon Sep 17 00:00:00 2001 From: ionutboangiu Date: Tue, 20 Jun 2023 03:03:10 -0400 Subject: [PATCH] Resolve issue with tabs not being displayed in docs --- docs/conf.py | 5 +++-- docs/requirements.in | 3 ++- docs/requirements.txt | 8 +++++++- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index cf16e0cd4..976a4287a 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -27,7 +27,8 @@ import sys, os # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. extensions = [ 'sphinx.ext.todo', - 'sphinx_copybutton' + 'sphinx_copybutton', + 'sphinx_tabs.tabs' ] # Add any paths that contain templates here, relative to this directory. @@ -94,7 +95,7 @@ pygments_style = 'sphinx' # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. -html_theme = 'default' +html_theme = 'sphinx_rtd_theme' # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the diff --git a/docs/requirements.in b/docs/requirements.in index 9dc4cb150..5e7703c92 100644 --- a/docs/requirements.in +++ b/docs/requirements.in @@ -1,3 +1,4 @@ sphinx_rtd_theme==1.2.0 sphinx==6.2.1 -sphinx_copybutton==0.5.2 \ No newline at end of file +sphinx_copybutton==0.5.2 +sphinx_tabs==3.4.1 \ No newline at end of file diff --git a/docs/requirements.txt b/docs/requirements.txt index 12e7cd9b7..f84b0fe0a 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -16,6 +16,7 @@ docutils==0.18.1 # via # sphinx # sphinx-rtd-theme + # sphinx-tabs idna==3.4 # via requests imagesize==1.4.1 @@ -29,7 +30,9 @@ markupsafe==2.1.2 packaging==23.1 # via sphinx pygments==2.15.1 - # via sphinx + # via + # sphinx + # sphinx-tabs requests==2.30.0 # via sphinx snowballstemmer==2.2.0 @@ -39,11 +42,14 @@ sphinx==6.2.1 # -r requirements.in # sphinx-copybutton # sphinx-rtd-theme + # sphinx-tabs # sphinxcontrib-jquery sphinx-copybutton==0.5.2 # via -r requirements.in sphinx-rtd-theme==1.2.0 # via -r requirements.in +sphinx-tabs==3.4.1 + # via -r requirements.in sphinxcontrib-applehelp==1.0.4 # via sphinx sphinxcontrib-devhelp==1.0.2