Merge pull request #3679 from tk0miya/update_doc_version

Fix the unreleased version number is shown (refs: #3678, #3027)
This commit is contained in:
Takeshi KOMIYA 2017-04-28 22:55:23 +09:00 committed by GitHub
commit 7808e72976
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
{%trans%}project{%endtrans%}</p> {%trans%}project{%endtrans%}</p>
<h3>Download</h3> <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 <p>{%trans%}This documentation is for version <b><a href="changes.html">{{ version }}</a></b>, which is
not released yet.{%endtrans%}</p> not released yet.{%endtrans%}</p>
<p>{%trans%}You can use it from the <p>{%trans%}You can use it from the

View File

@ -16,7 +16,7 @@ exclude_patterns = ['_build']
project = 'Sphinx' project = 'Sphinx'
copyright = '2007-2017, Georg Brandl and the Sphinx team' copyright = '2007-2017, Georg Brandl and the Sphinx team'
version = sphinx.__released__ version = sphinx.__display_version__
release = version release = version
show_authors = True show_authors = True