doc: do not put version in breadcrumbs for daily docs
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
diff --git a/doc/conf.py b/doc/conf.py
index 8faac1f..2d91f3c 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -145,6 +145,11 @@
html_theme_path = ['./themes']
+if tags.has('release'):
+ docs_title = 'Docs / %s' %(version)
+else:
+ docs_title = 'Docs'
+
# The name for this set of Sphinx documents. If None, it defaults to
# "<project> v<release> documentation".
html_title = "Zephyr Project Documentation"
@@ -326,7 +331,7 @@
# docs_title is used in the breadcrumb title in the zephyr docs theme
html_context = {
'show_license': html_show_license,
- 'docs_title': 'Docs / ' + version,
+ 'docs_title': docs_title,
}
extlinks = {'jira': ('https://jira.zephyrproject.org/browse/%s', '')}