Skip to content

Commit 8a39f31

Browse files
committed
add favicons to the doco
1 parent a5316d4 commit 8a39f31

File tree

7 files changed

+38
-0
lines changed

7 files changed

+38
-0
lines changed
21.5 KB
Loading
117 KB
Loading
19.8 KB
Loading
750 Bytes
Loading
1.49 KB
Loading

docs/source/_static/favicon.ico

15 KB
Binary file not shown.

docs/source/conf.py

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
"sphinx_autodoc_typehints",
4848
# "scanpydoc.elegant_typehints",
4949
"sphinx_autorun",
50+
"sphinx-favicon",
5051
]
5152

5253
autosummary_generate = True
@@ -174,3 +175,40 @@
174175

175176
# autodoc_default_flags = ["members"]
176177
autosummary_generate = True
178+
179+
# -------- Options favicon -------------------------------------------------------#
180+
181+
html_static_path = ["_static"]
182+
# create favicons online using https://favicon.io/favicon-converter/
183+
favicons = [
184+
{
185+
"rel": "icon",
186+
"sizes": "16x16",
187+
"static-file": "favicon-16x16.png",
188+
"type": "image/png",
189+
},
190+
{
191+
"rel": "icon",
192+
"sizes": "32x32",
193+
"static-file": "favicon-32x32.png",
194+
"type": "image/png",
195+
},
196+
{
197+
"rel": "apple-touch-icon",
198+
"sizes": "180x180",
199+
"static-file": "apple-touch-icon.png",
200+
"type": "image/png",
201+
},
202+
{
203+
"rel": "android-chrome",
204+
"sizes": "192x192",
205+
"static-file": "android-chrome-192x192.png ",
206+
"type": "image/png",
207+
},
208+
{
209+
"rel": "android-chrome",
210+
"sizes": "512x512",
211+
"static-file": "android-chrome-512x512.png ",
212+
"type": "image/png",
213+
},
214+
]

0 commit comments

Comments
 (0)