Skip to content

Commit

Permalink
Documentation: Updates sidebar logo to use SVG.
Browse files Browse the repository at this point in the history
  • Loading branch information
jamie-lemon committed Jul 22, 2024
1 parent ee22f01 commit 550411c
Show file tree
Hide file tree
Showing 6 changed files with 111 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/_static/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ button.cta a {
}

.sidebar-logo {
width: 60px;
width: auto;
height: 60px;
}

Expand Down
Binary file removed docs/_static/pymupdf-sidebar-logo-dark.png
Binary file not shown.
Binary file removed docs/_static/pymupdf-sidebar-logo-light.png
Binary file not shown.
54 changes: 54 additions & 0 deletions docs/_static/sidebar-logo-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
54 changes: 54 additions & 0 deletions docs/_static/sidebar-logo-light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,8 @@
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ["_static"]
html_theme_options = {
"light_logo": "pymupdf-sidebar-logo-dark.png",
"dark_logo": "pymupdf-sidebar-logo-light.png",
"light_logo": "sidebar-logo-dark.svg",
"dark_logo": "sidebar-logo-light.svg",
}

# A list of CSS files. The entry must be a filename string or a tuple containing
Expand Down

0 comments on commit 550411c

Please sign in to comment.