Skip to content

Commit

Permalink
FIX: update new logo location for jb>=1.0 (#268)
Browse files Browse the repository at this point in the history
  • Loading branch information
mmcky authored Oct 25, 2024
1 parent e3255af commit 90fba30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/quantecon_book_theme/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__)
Expand Down Expand Up @@ -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
Expand Down

1 comment on commit 90fba30

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.