automaticlally set version in Sphinx from release

pull/29/head
Florian Ludwig 2021-03-13 17:54:24 +01:00
rodzic df1696d8f9
commit 009986efbc
1 zmienionych plików z 5 dodań i 2 usunięć

Wyświetl plik

@ -59,11 +59,14 @@ author = 'aMQTT contributers'
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
version = '0.10'
# The full version, including alpha/beta/rc tags.
release = '0.10.0 alpha 0'
# The short X.Y version.
version = ".".join(release.split(".")[:2])
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
#