add version number to gnuviechadmin

- add __version__ to gnuviechadmin/__init__.py
- change docs/conf.py to use version number from gnuviechadmin
- add gnuviechadmin.context_processors.version_info to add
  gnuviechadmin_version to template context
- add version and technology links to templates/base.html footer
- add CSS styles for footer formatting
This commit is contained in:
Jan Dittberner 2015-02-01 22:15:40 +01:00
parent 1bee80044c
commit 251e8a54f6
6 changed files with 59 additions and 6 deletions

View file

@ -59,10 +59,11 @@ copyright = u'2014, 2015 Jan Dittberner'
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
version = '0.11'
# The full version, including alpha/beta/rc tags.
release = '0.11.0'
from gnuviechadmin import __version__ as release
# 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.