diff options
Diffstat (limited to 'bitbake/doc/conf.py')
-rw-r--r-- | bitbake/doc/conf.py | 10 |
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 | ||
17 | import datetime | 17 | import datetime |
18 | 18 | ||
19 | current_version = "dev" | ||
20 | |||
21 | # String used in sidebar | ||
22 | version = 'Version: ' + current_version | ||
23 | if current_version == 'dev': | ||
24 | version = 'Version: Current Development' | ||
25 | # Version seen in documentation_options.js and hence in js switchers code | ||
26 | release = current_version | ||
27 | |||
19 | # -- Project information ----------------------------------------------------- | 28 | # -- Project information ----------------------------------------------------- |
20 | 29 | ||
21 | project = 'Bitbake' | 30 | project = '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 |
69 | html_css_files = ['theme_overrides.css'] | 78 | html_css_files = ['theme_overrides.css'] |
79 | html_js_files = ['switchers.js'] | ||
70 | 80 | ||
71 | # Hide 'Created using Sphinx' text | 81 | # Hide 'Created using Sphinx' text |
72 | html_show_sphinx = False | 82 | html_show_sphinx = False |