|
30 | 30 | # Add any Sphinx extension module names here, as strings. They can be extensions
|
31 | 31 | # coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
|
32 | 32 | extensions = ['sphinx.ext.autodoc', 'sphinx.ext.intersphinx', 'sphinx.ext.todo',
|
33 |
| - 'sphinx.ext.coverage', 'sphinx.ext.ifconfig', 'sphinx_paramlinks',] |
| 33 | + 'sphinx.ext.coverage', 'sphinx.ext.ifconfig', 'sphinx_paramlinks', |
| 34 | + 'sphinx-favicon',] |
34 | 35 |
|
35 | 36 | autodoc_default_options = {
|
36 | 37 | 'members': True,
|
|
129 | 130 | # pixels large.
|
130 | 131 | #html_favicon = None
|
131 | 132 |
|
| 133 | +# Set up favicons with sphinx-favicon. |
| 134 | +favicons = [ |
| 135 | + { |
| 136 | + "rel": "icon", |
| 137 | + "static-file": "favicon/icon.svg", |
| 138 | + "type": "image/svg", |
| 139 | + }, |
| 140 | + { |
| 141 | + "rel": "icon", |
| 142 | + "sizes": "16x16", |
| 143 | + "static-file": "favicon/icon-16x16.png", |
| 144 | + "type": "image/png", |
| 145 | + }, |
| 146 | + { |
| 147 | + "rel": "icon", |
| 148 | + "sizes": "32x32", |
| 149 | + "static-file": "favicon/icon-32x32.png", |
| 150 | + "type": "image/png", |
| 151 | + }, |
| 152 | + { |
| 153 | + "rel": "icon", |
| 154 | + "sizes": "96x96", |
| 155 | + "static-file": "favicon/icon-96x96.png", |
| 156 | + "type": "image/png", |
| 157 | + }, |
| 158 | + { |
| 159 | + "rel": "icon", |
| 160 | + "sizes": "128x128", |
| 161 | + "static-file": "favicon/icon-128x128.png", |
| 162 | + "type": "image/png", |
| 163 | + }, |
| 164 | + { |
| 165 | + "rel": "icon", |
| 166 | + "sizes": "196x196", |
| 167 | + "static-file": "favicon/icon-196x196.png", |
| 168 | + "type": "image/png", |
| 169 | + }, |
| 170 | + { |
| 171 | + "rel": "apple-touch-icon", |
| 172 | + "sizes": "57x57", |
| 173 | + "static-file": "favicon/apple-touch-icon-57x57.png", |
| 174 | + "type": "image/png", |
| 175 | + }, |
| 176 | + { |
| 177 | + "rel": "apple-touch-icon", |
| 178 | + "sizes": "60x60", |
| 179 | + "static-file": "favicon/apple-touch-icon-60x60.png", |
| 180 | + "type": "image/png", |
| 181 | + }, |
| 182 | + { |
| 183 | + "rel": "apple-touch-icon", |
| 184 | + "sizes": "72x72", |
| 185 | + "static-file": "favicon/apple-touch-icon-72x72.png", |
| 186 | + "type": "image/png", |
| 187 | + }, |
| 188 | + { |
| 189 | + "rel": "apple-touch-icon", |
| 190 | + "sizes": "76x76", |
| 191 | + "static-file": "favicon/apple-touch-icon-76x76.png", |
| 192 | + "type": "image/png", |
| 193 | + }, |
| 194 | + { |
| 195 | + "rel": "apple-touch-icon", |
| 196 | + "sizes": "114x114", |
| 197 | + "static-file": "favicon/apple-touch-icon-114x114.png", |
| 198 | + "type": "image/png", |
| 199 | + }, |
| 200 | + { |
| 201 | + "rel": "apple-touch-icon", |
| 202 | + "sizes": "120x120", |
| 203 | + "static-file": "favicon/apple-touch-icon-120x120.png", |
| 204 | + "type": "image/png", |
| 205 | + }, |
| 206 | + { |
| 207 | + "rel": "apple-touch-icon", |
| 208 | + "sizes": "144x144", |
| 209 | + "static-file": "favicon/apple-touch-icon-144x144.png", |
| 210 | + "type": "image/png", |
| 211 | + }, |
| 212 | + { |
| 213 | + "rel": "apple-touch-icon", |
| 214 | + "sizes": "152x152", |
| 215 | + "static-file": "favicon/apple-touch-icon-152x152.png", |
| 216 | + "type": "image/png", |
| 217 | + }, |
| 218 | +] |
| 219 | + |
132 | 220 | # Add any paths that contain custom static files (such as style sheets) here,
|
133 | 221 | # relative to this directory. They are copied after the builtin static files,
|
134 | 222 | # so a file named "default.css" will overwrite the builtin "default.css".
|
135 |
| -#html_static_path = ['_static'] |
| 223 | +html_static_path = ['_static'] |
136 | 224 |
|
137 | 225 | # If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
|
138 | 226 | # using the given strftime format.
|
|
0 commit comments