diff --git a/python_docs_theme/layout.html b/python_docs_theme/layout.html index 3b35d9c..07f863e 100644 --- a/python_docs_theme/layout.html +++ b/python_docs_theme/layout.html @@ -126,14 +126,14 @@

{{ _('Navigation') }}


{% trans %}Examples, recipes, and other code in the documentation are additionally licensed under the Zero Clause BSD License.{% endtrans %}
- {% trans pathto_license=license_file %}See History and License for more information.{% endtrans %} -

+ {% if theme_license_url %}{% trans license_file=theme_license_url %}See History and License for more information.{% endtrans %}
{% endif %} +
{% include "footerdonate.html" %}
{% trans last_updated=last_updated|e %}Last updated on {{ last_updated }}.{% endtrans %} - {% if theme_issues_url %}{% trans pathto_bugs=theme_issues_url %}Found a bug?{% endtrans %}{% endif %} + {% if theme_issues_url %}{% trans %}Found a bug?{% endtrans %}{% endif %}
{% trans sphinx_version=sphinx_version|e %}Created using Sphinx {{ sphinx_version }}.{% endtrans %} diff --git a/python_docs_theme/theme.conf b/python_docs_theme/theme.conf index feaf249..6f39e4b 100644 --- a/python_docs_theme/theme.conf +++ b/python_docs_theme/theme.conf @@ -25,6 +25,7 @@ codebgcolor = #eeffcc codetextcolor = #333333 issues_url = +license_url = root_name = Python root_url = https://www.python.org/ root_icon = py.svg