diff options
author | Nicolas Dechesne <nicolas.dechesne@linaro.org> | 2020-06-10 15:08:19 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-09-16 18:14:07 +0100 |
commit | 623ea7f3fe9fe8c972b5c6c3bcbe6fc0c4798182 (patch) | |
tree | 793d12d77f2f9441b2b12114b5708b5947282ff4 /bitbake/doc/conf.py | |
parent | b744f6975043f6a362f90525c16b8f86383074bc (diff) | |
download | poky-623ea7f3fe9fe8c972b5c6c3bcbe6fc0c4798182.tar.gz |
bitbake: sphinx: override theme CSS
It is possible to override CSS settings from the theme, by providing
custom snippets of CSS stylesheet. Support for that is added in
conf.py file.
Most of the CSS customization is inherited from the DocBook CSS style.
(Bitbake rev: fa304c0129538d7a0b7a3922cd1fde2e242d6cab)
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.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/bitbake/doc/conf.py b/bitbake/doc/conf.py index 77ea2e8215..f5a3aa56c1 100644 --- a/bitbake/doc/conf.py +++ b/bitbake/doc/conf.py | |||
@@ -63,4 +63,10 @@ html_theme = 'sphinx_rtd_theme' | |||
63 | # Add any paths that contain custom static files (such as style sheets) here, | 63 | # Add any paths that contain custom static files (such as style sheets) here, |
64 | # relative to this directory. They are copied after the builtin static files, | 64 | # relative to this directory. They are copied after the builtin static files, |
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". |
66 | html_static_path = ['_static'] | 66 | html_static_path = ['sphinx-static'] |
67 | |||
68 | html_context = { | ||
69 | 'css_files': [ | ||
70 | '_static/theme_overrides.css', | ||
71 | ], | ||
72 | } | ||