Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
s3v- opened this issue Jan 16, 2024 · 0 comments
Open

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

s3v- opened this issue Jan 16, 2024 · 0 comments
Labels

Comments

@s3v-
Copy link

s3v- commented Jan 16, 2024

Hi,
I'm unable to build docs with Sphinx 7.2.6.

$ sphinx-build python-pytest-trio-0.8.0/docs/source/ dummy
Running Sphinx v7.2.6
making output directory... done
building [mo]: targets for 0 po files that are out of date
writing output... 
building [html]: targets for 4 source files that are out of date
updating environment: [new config] 4 added, 0 changed, 0 removed
reading sources... [100%] reference
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
copying assets... copying static files... done
copying extra files... done
done
/build/python-pytest-trio-0.8.0/docs/source/history.rst:67: WARNING: py:exc reference target not found: trio.Cancelled

Theme error:
An error happened in rendering the page history.
Reason: UndefinedError("'logo' is undefined")

The problem is that "layout.html" relies on "logo" variable:

<img class="logo" src="{{ pathto('_static/' + logo, 1) }}" />

but this variable was removed since Sphinx 6 and replaced by "logo_url".
sphinx-doc/sphinx#11062

Kind Regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants