Skip to content

Commit

Permalink
added favicon
Browse files Browse the repository at this point in the history
  • Loading branch information
777arc committed Mar 12, 2024
1 parent 1c82fe9 commit 16ecabb
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
Binary file added _static/myicon-not-transparent.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 2 additions & 5 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@
imgmath_embed = True #turned this on since latest update broke html formula output, generated wrong svg src links.
imgmath_font_size = 14 # default is 12 and it looked a bit small

html_favicon = 'myicon.png' # should be in same dir as conf.py

# Additional LaTeX code to put into the preamble of the LaTeX files used to translate the math snippets. This is left empty by default. Use it e.g. to add packages which modify the fonts used for math, such as '\\usepackage{newtxsf}' for sans-serif fonts, or '\\usepackage{fouriernc}' for serif fonts. Indeed, the default LaTeX math fonts have rather thin glyphs which (in HTML output) often do not match well with the font for text.
# The code below makes math equations not right-align which was so ugly
imgmath_latex_preamble = r'''
Expand Down Expand Up @@ -250,11 +252,6 @@ def setup(app):
# of the sidebar.
#html_logo = None

# The name of an image file (relative to this directory) to use as a favicon of
# the docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
# pixels large.
#html_favicon = None

# 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 Down
Binary file added myicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 16ecabb

Please sign in to comment.