mirror of https://gitee.com/openkylin/linux.git
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
|
@ -176,7 +176,14 @@ except ImportError:
|
||||||
# Add any paths that contain custom static files (such as style sheets) here,
|
# 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,
|
# relative to this directory. They are copied after the builtin static files,
|
||||||
# so a file named "default.css" will overwrite the builtin "default.css".
|
# 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
|
# Add any extra paths that contain custom files (such as robots.txt or
|
||||||
# .htaccess) here, relative to this directory. These files are copied
|
# .htaccess) here, relative to this directory. These files are copied
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
/* -*- coding: utf-8; mode: css -*-
|
||||||
|
*
|
||||||
|
* Sphinx HTML theme customization
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
@media screen {
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue