Skip to content

Commit

Permalink
Merge pull request #707 from devanshshukla99/fix-logo
Browse files Browse the repository at this point in the history
Adds stingray's logo and favicon in the documentation
  • Loading branch information
matteobachetti authored Apr 13, 2023
2 parents e789ddf + 300dd93 commit a417cc1
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions docs/_static/css/custom.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions docs/changes/707.trivial.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Added stingray's logo in the documentation's favicon and top bar.
4 changes: 3 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@
# a list of builtin themes. To override the custom theme, set this to the
# name of a builtin theme or the name of a custom theme in html_theme_path.
# html_theme = None
html_static_path = ["_static"]
html_css_files = ["css/custom.css"]

html_theme_options = {
'logotext1': 'Sting', # white, semi-bold
Expand All @@ -129,7 +131,7 @@
# The name of an image file (within the static path) to use as favicon of the
# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
# pixels large.
# html_favicon = ''
html_favicon = "images/stingray_logo.ico"

# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
# using the given strftime format.
Expand Down
Binary file added docs/images/stingray_logo.ico
Binary file not shown.

0 comments on commit a417cc1

Please sign in to comment.