Show master branch as 'Latest' 53/30953/3
authorShubhamRathi <shubhamiiitbackup@gmail.com>
Sun, 19 Mar 2017 18:38:35 +0000 (00:08 +0530)
committerAric Gardner <agardner@linuxfoundation.org>
Mon, 27 Mar 2017 19:39:16 +0000 (19:39 +0000)
Documentation built on RTD shows
the branch name of the latest (master)
branch as Danube. This patch fixes the
branch name to 'Latest'

Change-Id: I3d52fda5992fbb3e5fb17c9784d7a98396c0ebdc
Signed-off-by: ShubhamRathi <shubhamiiitbackup@gmail.com>
docs/conf.py

index 5cf18dd..a5e9fd2 100644 (file)
@@ -1,4 +1,5 @@
 import sphinx_bootstrap_theme
+import os
 
 # If extensions (or modules to document with autodoc) are in another directory,
 # add these directories to sys.path here. If the directory is relative to the
@@ -40,9 +41,9 @@ author = 'Open Platform for NFV'
 # built documents.
 #
 # The short X.Y version.
-version = 'Danube'
+version = 'Latest'
 # The full version, including alpha/beta/rc tags.
-release = 'Danube'
+release = 'Latest'
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.