summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Geier <Matthias.Geier@gmail.com>2020-04-17 17:01:48 +0200
committerMatthias Geier <Matthias.Geier@gmail.com>2020-04-17 17:01:48 +0200
commitfc78f09441ebfe2c3b3be693f77c2702522a33c0 (patch)
tree70a4ff2153937307f071969f13e7f06e6d457c26
parent836e2e405c9f2afac6559cedb4c5d123d4c24ddd (diff)
downloadsphinx-git-fc78f09441ebfe2c3b3be693f77c2702522a33c0.tar.gz
DOC: Use html_baseurl
-rw-r--r--doc/_themes/sphinx13/layout.html5
-rw-r--r--doc/conf.py1
2 files changed, 1 insertions, 5 deletions
diff --git a/doc/_themes/sphinx13/layout.html b/doc/_themes/sphinx13/layout.html
index 8d1b04a14..e3bb37dce 100644
--- a/doc/_themes/sphinx13/layout.html
+++ b/doc/_themes/sphinx13/layout.html
@@ -13,11 +13,6 @@
{% block sidebar1 %}{{ sidebar() }}{% endblock %}
{% block sidebar2 %}{% endblock %}
-{% block linktags %}
-{{ super() }}
- <link rel="canonical" href="http://www.sphinx-doc.org/en/master/{{ pagename }}{{ file_suffix }}" />
-{% endblock %}
-
{% block extrahead %}
<link href='https://fonts.googleapis.com/css?family=Open+Sans:300,400,700'
rel='stylesheet' type='text/css' />
diff --git a/doc/conf.py b/doc/conf.py
index 77d2a577a..681fdc449 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -27,6 +27,7 @@ html_static_path = ['_static']
html_sidebars = {'index': ['indexsidebar.html', 'searchbox.html']}
html_additional_pages = {'index': 'index.html'}
html_use_opensearch = 'http://sphinx-doc.org'
+html_baseurl = 'https://www.sphinx-doc.org/en/master/'
htmlhelp_basename = 'Sphinxdoc'