Skip to content

Commit

Permalink
[docs] fix the edit page buttton link in docs (python#17933)
Browse files Browse the repository at this point in the history
Fixes python#17870 

The current docs `edit` the page button gives a 404.
This PR edits the sphinx `config.py` and configures the edit button url
to the `master` branch of this repository.
  • Loading branch information
Mr-Sunglasses authored Oct 14, 2024
1 parent 740292a commit 80b5913
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,12 @@
# a list of builtin themes.
html_theme = "furo"

html_theme_options = {
"source_repository": "https://github.com/python/mypy",
"source_branch": "master",
"source_directory": "docs/source",
}

# 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.
Expand Down

0 comments on commit 80b5913

Please sign in to comment.