summaryrefslogtreecommitdiff
path: root/doc/_templates
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2017-04-28 01:19:01 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2017-04-28 01:19:01 +0900
commitbd66ffc1fafd0e83f07e7143f99bc4023bc72508 (patch)
treee9778f8857206e018b3a7030865804eca8cf49b5 /doc/_templates
parent67c1a8a59e006697d9b323b076408cc7001c3a4f (diff)
downloadsphinx-git-bd66ffc1fafd0e83f07e7143f99bc4023bc72508.tar.gz
Fix the unreleased version number is shown (refs: #3678, #3027)
Diffstat (limited to 'doc/_templates')
-rw-r--r--doc/_templates/indexsidebar.html2
1 files changed, 1 insertions, 1 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