Skip to content

Commit 80b5913

Browse files
[docs] fix the edit page buttton link in docs (#17933)
Fixes #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.
1 parent 740292a commit 80b5913

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/source/conf.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,12 @@
107107
# a list of builtin themes.
108108
html_theme = "furo"
109109

110+
html_theme_options = {
111+
"source_repository": "https://github.com/python/mypy",
112+
"source_branch": "master",
113+
"source_directory": "docs/source",
114+
}
115+
110116
# Theme options are theme-specific and customize the look and feel of a theme
111117
# further. For a list of options available for each theme, see the
112118
# documentation.

0 commit comments

Comments
 (0)