File tree Expand file tree Collapse file tree 4 files changed +36
-1
lines changed
Expand file tree Collapse file tree 4 files changed +36
-1
lines changed Original file line number Diff line number Diff line change 1+ @import url ("theme.css" );
2+
3+ .wy-side-nav-search > a img .logo ,
4+ .wy-side-nav-search .wy-dropdown > a img .logo {
5+ width : 12rem ;
6+ }
7+
8+ /* Logo and search background color */
9+ .wy-side-nav-search {
10+ background-color : # eee ;
11+ }
12+
13+ /* The color of the Flyingpigeon text above the logo. */
14+ .wy-side-nav-search > a {
15+ color : # 2f3974 ;
16+ }
17+
18+ .wy-side-nav-search > div .version {
19+ display : none;
20+ }
21+
22+ .wy-nav-top {
23+ background-color : # 555 ;
24+ }
Original file line number Diff line number Diff line change 1+ {% extends "!layout.html" %}
2+ {% set css_files = css_files + ["_static/style.css"] %}
Original file line number Diff line number Diff line change 8787
8888# The theme to use for HTML and HTML Help pages. See the documentation for
8989# a list of builtin themes.
90- html_theme = 'alabaster'
90+ # html_theme = 'alabaster'
91+ on_rtd = os .environ .get ('READTHEDOCS' , None ) == 'True'
92+
93+ if on_rtd :
94+ html_theme = 'default'
95+ else : # only import and set the theme if we're building docs locally
96+ import sphinx_rtd_theme
97+ html_theme = 'sphinx_rtd_theme'
98+ html_theme_path = [sphinx_rtd_theme .get_html_theme_path ()]
9199
92100# Theme options are theme-specific and customize the look and feel of a
93101# theme further. For a list of options available for each theme, see the
Original file line number Diff line number Diff line change @@ -33,3 +33,4 @@ dependencies:
3333 - -e git+https://github.com/bird-house/eggshell.git#egg=eggshell
3434 - -e git+https://github.com/NCPP/ocgis#egg=owslib
3535 - -e git+https://github.com/geopython/pywps.git#egg=pywps
36+ - sphinx_rtd_theme
You can’t perform that action at this time.
0 commit comments