Skip to content

Commit

Permalink
WIP PyData Sphinx Theme
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Oct 24, 2024
1 parent c35b33b commit 0d8b501
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
11 changes: 6 additions & 5 deletions Doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -330,13 +330,14 @@
# -----------------------

# Use our custom theme.
html_theme = 'python_docs_theme'
# html_theme = 'python_docs_theme'
html_theme = 'pydata_sphinx_theme'
html_theme_path = ['tools']
html_theme_options = {
'collapsiblesidebar': True,
'issues_url': '/bugs.html',
'license_url': '/license.html',
'root_include_title': False, # We use the version switcher instead.
# 'collapsiblesidebar': True,
# 'issues_url': '/bugs.html',
# 'license_url': '/license.html',
# 'root_include_title': False, # We use the version switcher instead.
}

if os.getenv("READTHEDOCS"):
Expand Down
3 changes: 2 additions & 1 deletion Doc/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ sphinx-notfound-page~=1.0.0

# The theme used by the documentation is stored separately, so we need
# to install that as well.
python-docs-theme>=2023.3.1,!=2023.7
# python-docs-theme>=2023.3.1,!=2023.7
pydata-sphinx-theme

-c constraints.txt

0 comments on commit 0d8b501

Please sign in to comment.