From 58c11281a52b42b4e6cc76a59e70fa62149d26fd Mon Sep 17 00:00:00 2001 From: mmcky Date: Fri, 25 Oct 2024 17:24:50 +1100 Subject: [PATCH] FIX: update new logo location for jb>=1.0 --- src/quantecon_book_theme/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/quantecon_book_theme/__init__.py b/src/quantecon_book_theme/__init__.py index 35e040d..8b7944a 100644 --- a/src/quantecon_book_theme/__init__.py +++ b/src/quantecon_book_theme/__init__.py @@ -12,7 +12,7 @@ from .launch import add_hub_urls -__version__ = "0.7.3" +__version__ = "0.7.4" """quantecon-book-theme version""" SPHINX_LOGGER = logging.getLogger(__name__) @@ -214,7 +214,7 @@ def get_github_src_folder(app): # pageurl will already be set by Sphinx if so if app.config.html_baseurl and app.config.html_logo: context["logourl"] = "/".join( - (app.config.html_baseurl.rstrip("/"), "_static/" + context["logo"]) + (app.config.html_baseurl.rstrip("/"), context["logo_url"]) ) # Check mathjax version and set it in a variable