Skip to content

Commit

Permalink
Logo for dark theme
Browse files Browse the repository at this point in the history
  • Loading branch information
jlenain committed Jul 31, 2024
1 parent f82d2d8 commit c821de3
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ src/nectarchain/user_scripts/**/test
**.log
**.pdf
**.csv
**.png

#VScode
.vscode/
Expand Down
Binary file removed docs/_static/nectarcam.png
Binary file not shown.
Binary file added docs/_static/nectarcam_logo.webp
Binary file not shown.
Binary file added docs/_static/nectarcam_logo_dark.webp
Binary file not shown.
7 changes: 5 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,6 @@
# Output file base name for HTML help builder.
htmlhelp_basename = f"{project}doc"

html_logo = "_static/nectarcam.png"

# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
Expand All @@ -132,6 +130,11 @@
html_file_suffix = ".html"

html_theme_options = {
"logo": {
"image_light": "_static/nectarcam_logo.webp",
"image_dark": "_static/nectarcam_logo_dark.webp",
"alt_text": "nectarchain",
},
"navigation_with_keys": False,
"github_url": f"https://github.com/cta-observatory/{project}",
"navbar_start": ["navbar-logo", "version-switcher"],
Expand Down

0 comments on commit c821de3

Please sign in to comment.