Use more modern way of including style sheet. Hopefully fixes deprecated add_stylesheet
This commit is contained in:
parent
c32fbed88a
commit
c8f4a18c7c
|
@ -15,9 +15,6 @@
|
|||
import sys
|
||||
import os
|
||||
|
||||
def setup(app):
|
||||
app.add_stylesheet('zmstyle.css')
|
||||
|
||||
# If extensions (or modules to document with autodoc) are in another directory,
|
||||
# add these directories to sys.path here. If the directory is relative to the
|
||||
# documentation root, use os.path.abspath to make it absolute, like shown here.
|
||||
|
@ -134,7 +131,9 @@ html_theme = 'default'
|
|||
# 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_style='zmstyles.css'
|
||||
|
||||
html_css_files = [ 'zmstyle.css' ]
|
||||
|
||||
|
||||
# Add any extra paths that contain custom files (such as robots.txt or
|
||||
# .htaccess) here, relative to this directory. These files are copied
|
||||
|
|
Loading…
Reference in New Issue