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
gaoqiong
pybind11
Commits
bda3b67d
Commit
bda3b67d
authored
Dec 07, 2015
by
Wenzel Jakob
Browse files
add extra documentation CSS on RTD
parent
f1532bd3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
15 deletions
+10
-15
docs/_static/theme_overrides.css
docs/_static/theme_overrides.css
+0
-0
docs/conf.py
docs/conf.py
+10
-15
No files found.
docs/
.
static/theme_overrides.css
→
docs/
_
static/theme_overrides.css
View file @
bda3b67d
File moved
docs/conf.py
View file @
bda3b67d
...
...
@@ -116,25 +116,20 @@ if not on_rtd: # only import and set the theme if we're building docs locally
import
sphinx_rtd_theme
html_theme
=
'sphinx_rtd_theme'
html_theme_path
=
[
sphinx_rtd_theme
.
get_html_theme_path
()]
html_context
=
{
'css_files'
:
[
'.static/theme_overrides.css'
,
'_static/theme_overrides.css'
]
}
else
:
html_context
=
{
'css_files'
:
[
'//media.readthedocs.org/css/sphinx_rtd_theme.css'
,
'//media.readthedocs.org/css/readthedocs-doc-embed.css'
,
'_static/theme_overrides.css'
]
}
#import alabaster
#html_theme_path = [alabaster.get_path()]
#extensions = ['alabaster']
#html_theme = 'alabaster'
#html_sidebars = {
#'**': [
#'about.html',
#'navigation.html',
#'relations.html',
#'searchbox.html'
#]
#}
# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
...
...
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