File tree 4 files changed +25
-8
lines changed
4 files changed +25
-8
lines changed Original file line number Diff line number Diff line change
1
+ .navbar-default {
2
+ background-color : # 00004f ;
3
+ }
4
+ .navbar {
5
+ min-height : 75px ;
6
+ }
7
+ .navbar-brand {
8
+ font-family : "Open Sans" , sans-serif;
9
+ padding : 10px 10px ;
10
+ }
11
+ .body {
12
+ font-family : "Open Sans" , sans-serif;
13
+ }
Original file line number Diff line number Diff line change 14
14
#
15
15
import os
16
16
import sys
17
-
17
+ import sphinx_bootstrap_theme
18
18
# sys.path.insert(0, os.path.abspath("../packages/python/plotly"))
19
19
20
20
21
21
# -- Project information -----------------------------------------------------
22
22
23
- project = "plotly "
23
+ project = ""
24
24
copyright = "2019, plotly team"
25
25
author = "plotly team"
26
26
87
87
# The theme to use for HTML and HTML Help pages. See the documentation for
88
88
# a list of builtin themes.
89
89
#
90
- html_theme = "alabaster"
90
+ html_theme = "bootstrap"
91
+ html_theme_path = sphinx_bootstrap_theme .get_html_theme_path ()
91
92
93
+ html_logo = 'logo.png'
92
94
# Theme options are theme-specific and customize the look and feel of a theme
93
95
# further. For a list of options available for each theme, see the
94
96
# documentation.
95
97
#
96
98
html_theme_options = {
97
- #'nosidebar': True,
98
- 'analytics_id' :'UA-39373211-1' ,
99
- 'logo' :'logo.png' ,
100
- 'page_width' : '70%' ,
101
- 'sidebar_width' :'20%'
99
+ 'analytics_id' :'UA-39373211-1' , # not supported by this theme
100
+ 'bootswatch_theme' : "flatly" ,
101
+ 'source_link_position' : "no"
102
102
}
103
103
104
104
# Add any paths that contain custom static files (such as style sheets) here,
203
203
204
204
# If true, `todo` and `todoList` produce output, else they produce nothing.
205
205
todo_include_todos = True
206
+
207
+ def setup (app ):
208
+ app .add_stylesheet ("plotly-style.css" ) # also can be a full URL
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ networkx
18
18
squarify
19
19
scikit-image
20
20
sphinx
21
+ sphinx_bootstrap_theme
21
22
recommonmark
22
23
pathlib
23
24
python-frontmatter
You can’t perform that action at this time.
0 commit comments