diff --git a/_static/myicon-not-transparent.png b/_static/myicon-not-transparent.png new file mode 100644 index 0000000..c8f82d0 Binary files /dev/null and b/_static/myicon-not-transparent.png differ diff --git a/conf.py b/conf.py index 32d4129..b0103b6 100644 --- a/conf.py +++ b/conf.py @@ -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''' @@ -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". diff --git a/myicon.png b/myicon.png new file mode 100644 index 0000000..4c42ba6 Binary files /dev/null and b/myicon.png differ