File tree Expand file tree Collapse file tree 4 files changed +33
-20
lines changed
Expand file tree Collapse file tree 4 files changed +33
-20
lines changed Original file line number Diff line number Diff line change 1+ pre {
2+ box-shadow : 0px 1px 6px 0px lightgray;
3+ }
4+
5+ dl .class {
6+ padding : 5px ;
7+ box-shadow : 0px 1px 6px 0px lightgray;
8+ }
9+
10+ pre {
11+ overflow : auto;
12+ word-wrap : normal;
13+ white-space : pre;
14+ }
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ {# Import the theme's layout. #}
2+ {% extends "!page.html" %}
3+
4+ {# Custom CSS overrides #}
5+ {% set bootswatch_css_custom = ['_static/custom.css'] %}
Original file line number Diff line number Diff line change 2222
2323on_rtd = os .environ .get ('READTHEDOCS' , None ) == 'True'
2424
25+ if on_rtd :
26+ import pip
27+ pip .main (['install' , 'sphinx_bootstrap_theme' ])
28+
29+ import sphinx_bootstrap_theme
30+
2531# If extensions (or modules to document with autodoc) are in another directory,
2632# add these directories to sys.path here. If the directory is relative to the
2733# documentation root, use os.path.abspath to make it absolute, like shown here.
117123
118124# The theme to use for HTML and HTML Help pages. See the documentation for
119125# a list of builtin themes.
120- if not on_rtd :
121- html_theme = 'sphinx_rtd_theme'
122-
123- def setup (app ):
124- # overrides for wide tables in RTD theme
125- app .add_stylesheet ('theme_overrides.css' )
126+ html_theme_path = sphinx_bootstrap_theme .get_html_theme_path ()
127+ html_theme = 'bootstrap'
128+ html_theme_options = {
129+ 'bootswatch_theme' : 'yeti' ,
130+ 'navbar_links' : [
131+ ("GitHub" , "https://github.com/rhempel/ev3dev-lang-python" , True )
132+ ]
133+ }
126134
127135# Theme options are theme-specific and customize the look and feel of a theme
128136# further. For a list of options available for each theme, see the
You can’t perform that action at this time.
0 commit comments