mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Merge pull request #3679 from tk0miya/update_doc_version
Fix the unreleased version number is shown (refs: #3678, #3027)
This commit is contained in:
commit
7808e72976
2
doc/_templates/indexsidebar.html
vendored
2
doc/_templates/indexsidebar.html
vendored
@ -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
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user