doc-rst: boilerplate HTML theme customization
Implements the minimal boilerplate for Sphinx HTML theme customization. Signed-off-by: Markus Heiser <markus.heiser@darmarIT.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
parent
fc833980e3
commit
bc21467114
2 changed files with 17 additions and 1 deletions
|
@ -176,7 +176,14 @@ except ImportError:
|
|||
# Add any paths that contain custom static files (such as style sheets) here,
|
||||
# relative to this directory. They are copied after the builtin static files,
|
||||
# so a file named "default.css" will overwrite the builtin "default.css".
|
||||
#html_static_path = ['_static']
|
||||
|
||||
html_static_path = ['sphinx-static']
|
||||
|
||||
html_context = {
|
||||
'css_files': [
|
||||
'_static/theme_overrides.css',
|
||||
],
|
||||
}
|
||||
|
||||
# Add any extra paths that contain custom files (such as robots.txt or
|
||||
# .htaccess) here, relative to this directory. These files are copied
|
||||
|
|
9
Documentation/sphinx-static/theme_overrides.css
Normal file
9
Documentation/sphinx-static/theme_overrides.css
Normal file
|
@ -0,0 +1,9 @@
|
|||
/* -*- coding: utf-8; mode: css -*-
|
||||
*
|
||||
* Sphinx HTML theme customization
|
||||
*
|
||||
*/
|
||||
|
||||
@media screen {
|
||||
|
||||
}
|
Loading…
Reference in a new issue