Commit f20b49eb authored by suiguoxin's avatar suiguoxin
Browse files

fix custom css bug

parent 1c3bf4f8
...@@ -96,7 +96,7 @@ html_theme_options = { ...@@ -96,7 +96,7 @@ html_theme_options = {
# 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 = ['../static']
# Custom sidebar templates, must be a dictionary that maps document names # Custom sidebar templates, must be a dictionary that maps document names
# to template names. # to template names.
...@@ -192,4 +192,4 @@ def setup(app): ...@@ -192,4 +192,4 @@ def setup(app):
'enable_auto_toc_tree': False, 'enable_auto_toc_tree': False,
}, True) }, True)
app.add_transform(AutoStructify) app.add_transform(AutoStructify)
app.add_stylesheet('../../../../_static/css/custom.css') app.add_stylesheet('css/custom.css')
...@@ -96,7 +96,7 @@ html_theme_options = { ...@@ -96,7 +96,7 @@ html_theme_options = {
# 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 = ['../static']
# Custom sidebar templates, must be a dictionary that maps document names # Custom sidebar templates, must be a dictionary that maps document names
# to template names. # to template names.
...@@ -192,4 +192,4 @@ def setup(app): ...@@ -192,4 +192,4 @@ def setup(app):
'enable_auto_toc_tree': False, 'enable_auto_toc_tree': False,
}, True) }, True)
app.add_transform(AutoStructify) app.add_transform(AutoStructify)
app.add_stylesheet('../../../../_static/css/custom.css') app.add_stylesheet('css/custom.css')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment