Skip to content

Commit e452337

Browse files
hugovkwebknjaz
authored andcommitted
Add view and edit buttons
1 parent 226afc2 commit e452337

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
furo==2023.9.10
1+
furo==2024.8.6
22
sphinx==7.2.6
33
sphinx-autobuild==2021.3.14
44
sphinx-inline-tabs==2023.4.21

source/conf.py

+5
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,11 @@
6262
html_title = "Python Packaging User Guide"
6363
html_theme = "furo"
6464

65+
html_theme_options = {
66+
"source_edit_link": "https://github.com/pypa/packaging.python.org/edit/main/source/{filename}",
67+
"source_view_link": "https://github.com/pypa/packaging.python.org/blob/main/source/{filename}?plain=true",
68+
}
69+
6570
html_favicon = "assets/py.png"
6671
html_last_updated_fmt = ""
6772

0 commit comments

Comments
 (0)