Skip to content

Commit 0ddeab8

Browse files
committed
Docs: support for dark mode logo
1 parent 420df9d commit 0ddeab8

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

docs/_config.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
title : Serena Documentation # The title of the book. Will be placed in the left navbar.
1212
author : Oraios AI & Oraios Software # The author of the book
1313
copyright : "2025 by Serena contributors" # Copyright year to be placed in the footer
14-
logo : ../resources/serena-logo.svg # A path to the book logo
1514
# Patterns to skip when building the book. Can be glob-style (e.g. "*skip.ipynb")
1615
exclude_patterns : ['**.ipynb_checkpoints', '.DS_Store', 'Thumbs.db', '_build', 'jupyter_execute', '.jupyter_cache', '.pytest_cache', 'docs/autogen_rst.py', 'docs/create_toc.py']
1716
# Auto-exclude files not in the toc
@@ -59,11 +58,8 @@ html:
5958
use_multitoc_numbering : true # Continuous numbering across parts/chapters
6059
use_darkmode_button : false
6160
extra_footer : ""
62-
google_analytics_id : "" # A GA id that can be used to track book views.
6361
home_page_in_navbar : true # Whether to include your home page in the left Navigation Bar
6462
baseurl : "https://oraios.github.io/serena/"
65-
analytics:
66-
6763
comments:
6864
hypothesis : false
6965
utterances : false
@@ -105,6 +101,10 @@ sphinx:
105101
recursive_update : false # A boolean indicating whether to overwrite the Sphinx config (true) or recursively update (false)
106102
config : # key-value pairs to directly over-ride the Sphinx configuration
107103
master_doc: "01-about/000_intro.md"
104+
html_theme_options:
105+
logo:
106+
image_light: _static/images/serena-logo.svg
107+
image_dark: _static/images/serena-logo-dark-mode.svg
108108
autodoc_typehints_format: "short"
109109
autodoc_member_order: "bysource"
110110
autoclass_content: "both"
213 KB
Loading
213 KB
Loading

0 commit comments

Comments
 (0)