mirror of
https://github.com/Kozea/WeasyPrint.git
synced 2024-10-04 16:07:57 +03:00
Try again to use a custom CSS file
This commit is contained in:
parent
aec0b502ea
commit
07930455d2
2
docs/_static/custom.css
vendored
2
docs/_static/custom.css
vendored
@ -1,5 +1,3 @@
|
||||
@import 'default.css';
|
||||
|
||||
.wy-nav-content {
|
||||
height: auto;
|
||||
min-height: 100%;
|
||||
|
@ -109,6 +109,10 @@ html_theme = 'sphinx_rtd_theme'
|
||||
# Add any paths that contain custom themes here, relative to this directory.
|
||||
html_theme_path = ['_themes']
|
||||
|
||||
html_context = {
|
||||
'extra_css_files': ['_static/custom.css']
|
||||
}
|
||||
|
||||
# The name for this set of Sphinx documents. If None, it defaults to
|
||||
# "<project> v<release> documentation".
|
||||
#html_title = None
|
||||
@ -130,8 +134,6 @@ html_favicon = 'icon.ico'
|
||||
# so a file named "default.css" will overwrite the builtin "default.css".
|
||||
html_static_path = ['_static']
|
||||
|
||||
html_style = 'custom.css'
|
||||
|
||||
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
|
||||
# using the given strftime format.
|
||||
#html_last_updated_fmt = '%b %d, %Y'
|
||||
|
Loading…
Reference in New Issue
Block a user