Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
nni
Commits
f20b49eb
Commit
f20b49eb
authored
Jun 27, 2019
by
suiguoxin
Browse files
fix custom css bug
parent
1c3bf4f8
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
docs/en_US/conf.py
docs/en_US/conf.py
+2
-2
docs/static/css/custom.css
docs/static/css/custom.css
+0
-0
docs/zh_CN/conf.py
docs/zh_CN/conf.py
+2
-2
No files found.
docs/en_US/conf.py
View file @
f20b49eb
...
@@ -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'
)
docs/
_
static/css/custom.css
→
docs/static/css/custom.css
View file @
f20b49eb
File moved
docs/zh_CN/conf.py
View file @
f20b49eb
...
@@ -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'
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment