From ce0e204a9b802f942a54882be9753b369c9b99c4 Mon Sep 17 00:00:00 2001 From: jablonskidev <36643503+jablonskidev@users.noreply.github.com> Date: Sat, 20 Mar 2021 12:11:34 -0700 Subject: [PATCH] Added copyright link for the devguide In order to resolve issues #652 and #653 in the devguide (which are duplicates of each other), we added a theme variable to `python_docs_theme/layout.html` in PR #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. --- conf.py | 1 + 1 file changed, 1 insertion(+) diff --git a/conf.py b/conf.py index 407109588e..18d7a78bc5 100644 --- a/conf.py +++ b/conf.py @@ -97,6 +97,7 @@ html_theme_options = { 'collapsiblesidebar': True, 'issues_url': 'https://github.com/python/devguide/issues/new', + 'copyright_url': 'https://github.com/python/devguide/blob/master/LICENSE', }