summaryrefslogtreecommitdiffstats
path: root/bitbake/doc/conf.py
diff options
context:
space:
mode:
authorNicolas Dechesne <nicolas.dechesne@linaro.org>2020-09-08 16:12:06 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-09-16 18:14:08 +0100
commit390fc75bd6705ee55ec9f35f09bfa715f81024e2 (patch)
tree3d0176e158981b9e522c531db108f66096c9328e /bitbake/doc/conf.py
parent67b5e54d014d8de74cd13bdb2071a83f71cab34b (diff)
downloadpoky-390fc75bd6705ee55ec9f35f09bfa715f81024e2.tar.gz
bitbake: sphinx: tweak html output a bit
* Remove the 'generated by Sphinx' text on each page * Add a 'last updated timestamp' on each page * Remove the trailing 'dot' in TOC numbering (Bitbake rev: 10a54678bf7a119e91df8160b0f43384181d636d) Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/doc/conf.py')
-rw-r--r--bitbake/doc/conf.py16
1 files changed, 11 insertions, 5 deletions
diff --git a/bitbake/doc/conf.py b/bitbake/doc/conf.py
index f5a3aa56c1..4ff90e8dbf 100644
--- a/bitbake/doc/conf.py
+++ b/bitbake/doc/conf.py
@@ -65,8 +65,14 @@ html_theme = 'sphinx_rtd_theme'
65# so a file named "default.css" will overwrite the builtin "default.css". 65# so a file named "default.css" will overwrite the builtin "default.css".
66html_static_path = ['sphinx-static'] 66html_static_path = ['sphinx-static']
67 67
68html_context = { 68# Add customm CSS and JS files
69 'css_files': [ 69html_css_files = ['theme_overrides.css']
70 '_static/theme_overrides.css', 70
71 ], 71# Hide 'Created using Sphinx' text
72} 72html_show_sphinx = False
73
74# Add 'Last updated' on each page
75html_last_updated_fmt = '%b %d, %Y'
76
77# Remove the trailing 'dot' in section numbers
78html_secnumber_suffix = " "