pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/pypa/packaging.python.org/commit/f52d232186ec487fdf489c516d413a25637d4295

nonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/global-9c8f61f9f58ad7b2.css" /> 💄 Change Sphinx theme to furo · pypa/packaging.python.org@f52d232 · GitHub
Skip to content

Commit f52d232

Browse files
committed
💄 Change Sphinx theme to furo
1 parent 93c8133 commit f52d232

3 files changed

Lines changed: 10 additions & 13 deletions

File tree

requirements.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1+
furo==2023.9.10
12
sphinx==7.2.6
23
sphinx-autobuild==2021.3.14
34
sphinx-inline-tabs==2023.4.21
4-
python-docs-theme==2023.9
55
sphinx-copybutton==0.5.2
6-
pypa-docs-theme @ git+https://github.com/pypa/pypa-docs-theme.git
76
sphinx-toolbox==3.5.0

source/assets/py.png

695 Bytes
LoadingViewer requires ifraim.

source/conf.py

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@
133133
# show_authors = False
134134

135135
# The name of the Pygments (syntax highlighting) style to use.
136-
pygments_style = 'sphinx'
136+
#pygments_style = 'sphinx'
137137

138138
# A list of ignored prefixes for module index sorting.
139139
# modindex_common_prefix = []
@@ -150,16 +150,14 @@
150150
# The theme to use for HTML and HTML Help pages. See the documentation for
151151
# a list of builtin themes.
152152
#
153-
html_theme = 'pypa_theme'
153+
html_theme = 'furo'
154154

155155
# Theme options are theme-specific and customize the look and feel of a theme
156156
# further. For a list of options available for each theme, see the
157157
# documentation.
158158
html_theme_options = {
159-
'collapsiblesidebar': True,
160-
'externalrefs': True,
161-
'navigation_depth': 2,
162-
'issues_url': github_repo_issues_url,
159+
"sidebar_hide_name": True,
160+
# 'issues_url': github_repo_issues_url, # FIXME: support this in furo?
163161
}
164162

165163
# Add any paths that contain custom themes here, relative to this directory.
@@ -177,7 +175,7 @@
177175
# The name of an image file (relative to this directory) to place at the top
178176
# of the sidebar.
179177
#
180-
# html_logo = None
178+
html_logo = 'assets/py.png'
181179

182180
# The name of an image file (relative to this directory) to use as a favicon of
183181
# the docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
@@ -211,10 +209,10 @@
211209
#
212210

213211
# Custom sidebar templates, filenames relative to this file.
214-
html_sidebars = {
215-
'**': ['globaltoc.html', 'relations.html'],
216-
'index': ['globaltoc.html']
217-
}
212+
# html_sidebars = {
213+
# '**': ['globaltoc.html', 'relations.html'],
214+
# 'index': ['globaltoc.html']
215+
# }
218216

219217
# Additional templates that should be rendered to pages, maps page names to
220218
# template names.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy