Skip to content
Snippets Groups Projects
Commit e7f01079 authored by Tamas Gal's avatar Tamas Gal :speech_balloon:
Browse files

Fix version display in docs

parent 2c65b547
No related branches found
No related tags found
No related merge requests found
Pipeline #8887 passed with warnings
......@@ -72,10 +72,10 @@ master_doc = 'index'
# The full version, including alpha/beta/rc tags.
version = get_distribution('foo').version
# The short X.Y version.
short_version = '.'.join(release.split('.')[:2])
short_version = '.'.join(version.split('.')[:2])
# General information about the project.
project = "Foo {}".format(version)
project = "Foo {}".format(short_version)
copyright = u'{0}, Your Name'.format(date.today().year)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment