Sphinx 6: Use logo_url instead of logo (#1405)

* Sphinx 6: Use logo_url instead of logo

* Handle removal of favicon template context + refactor display of logo and link so it's easier to see what belongs to <4.0 and what is >=4.0

* Adds a favicon to the demo

* Import condensed version logic @agjohnson

* Update sphinx_rtd_theme/layout.html

Co-authored-by: Anthony <aj@ohess.org>

Co-authored-by: Anthony <aj@ohess.org>
This commit is contained in:
Benjamin Balder Bach
2023-01-17 22:48:39 +01:00
committed by GitHub
parent ce20cfccca
commit 5e80b2bd08
3 changed files with 17 additions and 23 deletions

View File

@@ -70,6 +70,7 @@ if not 'READTHEDOCS' in os.environ:
html_logo = "demo/static/logo-wordmark-light.svg"
html_show_sourcelink = True
html_favicon = "demo/static/favicon.ico"
htmlhelp_basename = slug

Binary file not shown.

After

Width:  |  Height:  |  Size: 766 B