mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Sphinx: Replace use of deprecated css_files
This commit is contained in:
parent
4311cae31a
commit
0de82426ff
@ -148,7 +148,6 @@ html_favicon = '../icons/favicon.ico'
|
||||
# relative to this directory. They are copied after the built-in static files,
|
||||
# so a file named "default.css" will overwrite the built-in "default.css".
|
||||
html_static_path = ['resources', '../icons/favicon.ico']
|
||||
html_css_files = ['custom.css']
|
||||
|
||||
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
|
||||
# using the given strftime format.
|
||||
|
@ -373,6 +373,7 @@ def setup(app):
|
||||
from docutils.parsers.rst import roles
|
||||
monkey_patch_docutils()
|
||||
setup_man_pages(app)
|
||||
app.add_css_file('custom.css')
|
||||
app.add_builder(EPUBHelpBuilder)
|
||||
app.add_builder(LaTeXHelpBuilder)
|
||||
app.connect('source-read', source_read_handler)
|
||||
|
Loading…
x
Reference in New Issue
Block a user