Skip to content

Fix documentation build error with Sphinx >= 6 - #160

Open
Fire162 wants to merge 1 commit into
python-trio:masterfrom
Fire162:fix/sphinx-logo-undefined
Open

Fire162 wants to merge 1 commit into
python-trio:masterfrom
Fire162:fix/sphinx-logo-undefined

Conversation

@Fire162

@Fire162 Fire162 commented Nov 6, 2026

Copy link
Copy Markdown

Sphinx 6 removed logo from the HTML template context in favor of logo_url, causing sphinx-build to fail with UndefinedError: 'logo' is undefined. This updates layout.html to use logo_url when available (matching Trio's layout) and removes the deprecated html_theme_path.

Fixes #140

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Sphinx 7.2.6] Build error - UndefinedError("'logo' is undefined")

1 participant