Skip to content

Commit ce0e204

Browse files
authored
Added copyright link for the devguide
In order to resolve issues python#652 and python#653 in the devguide (which are duplicates of each other), we added a theme variable to `python_docs_theme/layout.html` in PR python#67. This will allow all users of the python-docs-theme library to have more functionality and backwards compatibility. In addition, if users don't define a link for copyright information, then they won't have a broken link that leads to nowhere in their page footer. In order to have the correct copyright link for the devguide specifically, we just needed to specify it in the `html_theme_options` dictionary in the devguide's `conf.py`, which I did in this commit.
1 parent 0f2ea52 commit ce0e204

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@
9797
html_theme_options = {
9898
'collapsiblesidebar': True,
9999
'issues_url': 'https://github.com/python/devguide/issues/new',
100+
'copyright_url': 'https://github.com/python/devguide/blob/master/LICENSE',
100101
}
101102

102103

0 commit comments

Comments
 (0)