summaryrefslogtreecommitdiffstats
path: root/bitbake/doc/conf.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/doc/conf.py')
-rw-r--r--bitbake/doc/conf.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/bitbake/doc/conf.py b/bitbake/doc/conf.py
index 4ff90e8dbf..722c79230b 100644
--- a/bitbake/doc/conf.py
+++ b/bitbake/doc/conf.py
@@ -16,6 +16,15 @@
16 16
17import datetime 17import datetime
18 18
19current_version = "dev"
20
21# String used in sidebar
22version = 'Version: ' + current_version
23if current_version == 'dev':
24 version = 'Version: Current Development'
25# Version seen in documentation_options.js and hence in js switchers code
26release = current_version
27
19# -- Project information ----------------------------------------------------- 28# -- Project information -----------------------------------------------------
20 29
21project = 'Bitbake' 30project = 'Bitbake'
@@ -67,6 +76,7 @@ html_static_path = ['sphinx-static']
67 76
68# Add customm CSS and JS files 77# Add customm CSS and JS files
69html_css_files = ['theme_overrides.css'] 78html_css_files = ['theme_overrides.css']
79html_js_files = ['switchers.js']
70 80
71# Hide 'Created using Sphinx' text 81# Hide 'Created using Sphinx' text
72html_show_sphinx = False 82html_show_sphinx = False