summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/_templates/indexsidebar.html2
-rw-r--r--doc/conf.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/_templates/indexsidebar.html b/doc/_templates/indexsidebar.html
index bfa0139cb..6359921a5 100644
--- a/doc/_templates/indexsidebar.html
+++ b/doc/_templates/indexsidebar.html
@@ -3,7 +3,7 @@
{%trans%}project{%endtrans%}</p>
<h3>Download</h3>
-{% if version.endswith('a0') %}
+{% if version.endswith('+') %}
<p>{%trans%}This documentation is for version <b><a href="changes.html">{{ version }}</a></b>, which is
not released yet.{%endtrans%}</p>
<p>{%trans%}You can use it from the
diff --git a/doc/conf.py b/doc/conf.py
index 95d14ec46..6817af12a 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -16,7 +16,7 @@ exclude_patterns = ['_build']
project = 'Sphinx'
copyright = '2007-2017, Georg Brandl and the Sphinx team'
-version = sphinx.__released__
+version = sphinx.__display_version__
release = version
show_authors = True