quickstart: Simplify generated conf.py (version and release)

This commit is contained in:
Takeshi KOMIYA 2019-02-09 01:36:28 +09:00
parent d08903d9b9
commit d129f447c3

View File

@ -30,10 +30,16 @@ project = {{ project | repr }}
copyright = {{ copyright | repr }}
author = {{ author | repr }}
{%- if version %}
# The short X.Y version
version = {{ version | repr }}
{%- endif %}
{%- if release %}
# The full version, including alpha/beta/rc tags
release = {{ release | repr }}
{%- endif %}
# -- General configuration ---------------------------------------------------