|
14 | 14 |
|
15 | 15 | import sys
|
16 | 16 | import os
|
17 |
| -import sphinx_rtd_theme |
| 17 | +import sphinx_bootstrap_theme |
18 | 18 |
|
19 |
| -# import sphinx_bootstrap_theme |
20 | 19 | #import shlex
|
21 | 20 |
|
22 | 21 | # If extensions (or modules to document with autodoc) are in another directory,
|
|
115 | 114 |
|
116 | 115 | # The theme to use for HTML and HTML Help pages. See the documentation for
|
117 | 116 | # a list of builtin themes.
|
118 |
| -#html_theme = 'alabaster' |
119 |
| -html_theme = "sphinx_rtd_theme" |
120 |
| -# html_theme = 'bootstrap' |
121 |
| -# html_theme_path = sphinx_bootstrap_theme.get_html_theme_path(c:\python27\lib\site-packages) |
| 117 | +html_theme = 'bootstrap' |
| 118 | +html_theme_path = sphinx_bootstrap_theme.get_html_theme_path()#c:\python27\lib\site-packages) |
122 | 119 |
|
123 | 120 | # Theme options are theme-specific and customize the look and feel of a theme
|
124 | 121 | # further. For a list of options available for each theme, see the
|
125 | 122 | # documentation.
|
126 |
| -#html_theme_options = {} |
| 123 | +html_theme_options = { |
| 124 | + # Navigation bar title. (Default: ``project`` value) |
| 125 | + 'navbar_title': "RackHD", |
| 126 | + |
| 127 | + # Tab name for entire site. (Default: "Site") |
| 128 | + 'navbar_site_name': "RackHD", |
| 129 | + |
| 130 | + # A list of tuples containing pages or urls to link to. |
| 131 | + # Valid tuples should be in the following forms: |
| 132 | + # (name, page) # a link to a page |
| 133 | + # (name, "/aa/bb", 1) # a link to an arbitrary relative url |
| 134 | + # (name, "http://example.com", True) # arbitrary absolute url |
| 135 | + # Note the "1" or "True" value above as the third argument to indicate |
| 136 | + # an arbitrary url. |
| 137 | + # 'navbar_links': [ |
| 138 | + # ("Examples", "examples"), |
| 139 | + # ("Link", "http://example.com", True), |
| 140 | + # ], |
| 141 | + |
| 142 | + # Render the next and previous page links in navbar. (Default: true) |
| 143 | + # 'navbar_sidebarrel': False, |
| 144 | + |
| 145 | + # Render the current pages TOC in the navbar. (Default: true) |
| 146 | + # 'navbar_pagenav': False, |
| 147 | + |
| 148 | + # Tab name for the current pages TOC. (Default: "Page") |
| 149 | + 'navbar_pagenav_name': "Docs", |
| 150 | + |
| 151 | + # Global TOC depth for "site" navbar tab. (Default: 1) |
| 152 | + # Switching to -1 shows all levels. |
| 153 | + # 'globaltoc_depth': 2, |
| 154 | + |
| 155 | + # Include hidden TOCs in Site navbar? |
| 156 | + # Note: If this is "false", you cannot have mixed ``:hidden:`` and |
| 157 | + # non-hidden ``toctree`` directives in the same page, or else the build |
| 158 | + # will break. |
| 159 | + # Values: "true" (default) or "false" |
| 160 | + # 'globaltoc_includehidden': "false", |
| 161 | + |
| 162 | + # HTML navbar class (Default: "navbar") to attach to <div> element. |
| 163 | + # For black navbar, do "navbar navbar-inverse" |
| 164 | + # 'navbar_class': "navbar navbar-inverse", |
| 165 | + |
| 166 | + # Fix navigation bar to top of page? |
| 167 | + # Values: "true" (default) or "false" |
| 168 | + 'navbar_fixed_top': "true", |
| 169 | + |
| 170 | + # Location of link to source. |
| 171 | + # Options are "nav" (default), "footer" or anything else to exclude. |
| 172 | + 'source_link_position': "nav", |
| 173 | + |
| 174 | + # Bootswatch (http://bootswatch.com/) theme. |
| 175 | + # Options are nothing (default) or the name of a valid theme |
| 176 | + # such as "amelia", "cosmo", or "united". |
| 177 | + 'bootswatch_theme': "yeti", |
| 178 | + |
| 179 | + # Choose Bootstrap version. |
| 180 | + # Values: "3" (default) or "2" (in quotes) |
| 181 | + # 'bootstrap_version': "2", |
| 182 | +} |
127 | 183 |
|
128 | 184 | # Add any paths that contain custom themes here, relative to this directory.
|
129 | 185 | #html_theme_path = []
|
|
0 commit comments