Skip to content

Commit

Permalink
Merge pull request #1670 from hugovk/add-view-edit-buttons
Browse files Browse the repository at this point in the history
Theme: add view and edit buttons
  • Loading branch information
webknjaz authored Dec 11, 2024
2 parents 226afc2 + e452337 commit 13308d5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
furo==2023.9.10
furo==2024.8.6
sphinx==7.2.6
sphinx-autobuild==2021.3.14
sphinx-inline-tabs==2023.4.21
Expand Down
5 changes: 5 additions & 0 deletions source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,11 @@
html_title = "Python Packaging User Guide"
html_theme = "furo"

html_theme_options = {
"source_edit_link": "https://github.com/pypa/packaging.python.org/edit/main/source/{filename}",
"source_view_link": "https://github.com/pypa/packaging.python.org/blob/main/source/{filename}?plain=true",
}

html_favicon = "assets/py.png"
html_last_updated_fmt = ""

Expand Down

0 comments on commit 13308d5

Please sign in to comment.