From adeb9946852bd8c4b8fa22b857a8207bb9083f9b Mon Sep 17 00:00:00 2001 From: Jean Abou Samra Date: Mon, 6 Nov 2023 11:15:23 +0100 Subject: [PATCH] Use pydata-sphinx-theme --- requirements.txt | 2 +- source/conf.py | 22 +++++++++++----------- source/flow.rst | 6 +++--- source/overview.rst | 6 +++--- 4 files changed, 18 insertions(+), 18 deletions(-) diff --git a/requirements.txt b/requirements.txt index 6cdad44d2c..ae410b97d3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,5 +3,5 @@ sphinx-autobuild==2021.3.14 sphinx-inline-tabs==2023.4.21 python-docs-theme==2023.9 sphinx-copybutton==0.5.2 -pypa-docs-theme @ git+https://github.com/pypa/pypa-docs-theme.git +pydata-sphinx-theme==0.14.3 sphinx-toolbox==3.5.0 diff --git a/source/conf.py b/source/conf.py index c4d7a5ccc1..b66af24bc2 100644 --- a/source/conf.py +++ b/source/conf.py @@ -150,17 +150,17 @@ # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. # -html_theme = 'pypa_theme' +html_theme = 'pydata_sphinx_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 # documentation. -html_theme_options = { - 'collapsiblesidebar': True, - 'externalrefs': True, - 'navigation_depth': 2, - 'issues_url': github_repo_issues_url, -} +#html_theme_options = { +# 'collapsiblesidebar': True, +# 'externalrefs': True, +# 'navigation_depth': 2, +# 'issues_url': github_repo_issues_url, +#} # Add any paths that contain custom themes here, relative to this directory. # html_theme_path = ['themes'] @@ -211,10 +211,10 @@ # # Custom sidebar templates, filenames relative to this file. -html_sidebars = { - '**': ['globaltoc.html', 'relations.html'], - 'index': ['globaltoc.html'] -} +#html_sidebars = { +# '**': ['globaltoc.html', 'relations.html'], +# 'index': ['globaltoc.html'] +#} # Additional templates that should be rendered to pages, maps page names to # template names. diff --git a/source/flow.rst b/source/flow.rst index 974cfd6e93..1f63b62e4a 100644 --- a/source/flow.rst +++ b/source/flow.rst @@ -1,6 +1,6 @@ -================== -The Packaging Flow -================== +============== +Packaging Flow +============== The document aims to outline the flow involved in publishing/distributing a :term:`distribution package `, usually to the `Python diff --git a/source/overview.rst b/source/overview.rst index 2f3f44007d..2e63776cb1 100644 --- a/source/overview.rst +++ b/source/overview.rst @@ -1,6 +1,6 @@ -=================================== -An Overview of Packaging for Python -=================================== +======== +Overview +======== .. Editors, see notes at the bottom of the document for maintenance info.