# built documents.
#
# The short X.Y version.
-version = libbe.version.version()
+version = libbe.version.version(3)
# The full version, including alpha/beta/rc tags.
-release = libbe.version.version()
-
-# Override default sphinx.config.Config.configvalues[html_title] to
-# change formatting string from '%s v%s' to '%s %s'. With git-commit
-# versions, the original formatting string gives titles like
-# bugs-everywhere vc07c687273afc1f38258d3fa5caf39244c0d1b33
-# which may suprise users who don't realize the leading 'v' is not
-# part of the hash.
-html_title = '%s %s documentation' % (project, release)
+release = '%s (%s)' % (libbe.version.version(),
+ libbe.version.version_info['revision'])
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
# "<project> v<release> documentation".
#html_title = None
+# Override default sphinx.config.Config.configvalues[html_title] to
+# change formatting string from '%s v%s' to '%s %s'. With git-commit
+# versions, the original formatting string gives titles like
+# bugs-everywhere vc07c687273afc1f38258d3fa5caf39244c0d1b33
+# which may suprise users who don't realize the leading 'v' is not
+# part of the hash.
+html_title = '%s %s documentation' % (project, version)
+
# A shorter title for the navigation bar. Default is the same as html_title.
#html_short_title = None
+html_short_title = '%s %s documentation' % (project, release)
# The name of an image file (relative to this directory) to place at the top
# of the sidebar.