Skip to content

Commit 7dcdd88

Browse files
authored
Change the logo and add a dark option (#716)
1 parent 8120a3b commit 7dcdd88

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

docs/src/_static/mlx_logo.png

69 KB
Loading

docs/src/_static/mlx_logo_dark.png

47.6 KB
Loading

docs/src/conf.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,12 @@
4949
"repository_url": "https://github.com/ml-explore/mlx",
5050
"use_repository_button": True,
5151
"navigation_with_keys": False,
52+
"logo": {
53+
"image_light": "_static/mlx_logo.png",
54+
"image_dark": "_static/mlx_logo_dark.png",
55+
},
5256
}
5357

54-
html_logo = "_static/mlx_logo.png"
55-
5658

5759
# -- Options for HTMLHelp output ---------------------------------------------
5860

0 commit comments

Comments
 (0)