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

Typlog theme seems to be not compatible #56

Closed
humitos opened this issue Apr 3, 2020 · 6 comments
Closed

Typlog theme seems to be not compatible #56

humitos opened this issue Apr 3, 2020 · 6 comments

Comments

@humitos
Copy link
Member

humitos commented Apr 3, 2020

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

Theme URL: https://sphinx-typlog-theme.readthedocs.io/

@humitos humitos transferred this issue from readthedocs/sphinx-notfound-page Apr 11, 2020
@humitos humitos changed the title Typlog theme seems to be not compatible with notfound extension Typlog theme seems to be not compatible Apr 14, 2020
@humitos
Copy link
Member Author

humitos commented Aug 31, 2020

This seems to not be an issue anymore

Screenshot_2020-08-31_15-29-31

Live example: https://returns.readthedocs.io/en/latest/pages/container.html#needs-transformation

@humitos humitos closed this as completed Aug 31, 2020
@nchelaru
Copy link

I am having the same problem, how did you resolve it?

@humitos
Copy link
Member Author

humitos commented Dec 18, 2020

Hi @nchelaru. I didn't really change anything, it just disappeared, and I assume that it was a problem in the theme itself. Are you experimenting the same issue? Could you please provide more information? What versions of sphinx, typlog, hoverxref are you using?

Do you have a project on Read the Docs where this issue is happening? Can you paste the URL of that project here?

@nchelaru
Copy link

Oh shoot, I just realized that this is an issue with the Typlog theme, rather than hoverxref. Sorry for the trouble!

Thank you for your quick reply!

@chrizzFTD
Copy link
Contributor

Hi @humitos, just in case someone comes across this as well, it happened to me while working on thegrill/grill#23, I realized this was happening when the docs environment had jinja2-3.0.1.

Failing docs had this log:

Collecting Jinja2>=2.3
  Downloading Jinja2-3.0.1-py3-none-any.whl

However, I locally had jinja2==2.11.2 and it all worked.

I gave it a try and locking my docs requirements to jinja2==2.11.2 fixes the issue for me. I didn't look deeper after that.

I have commented this as well on the typlog theme: typlog/sphinx-typlog-theme#22

@humitos
Copy link
Member Author

humitos commented Jun 1, 2021

@chrizzFTD thanks for your comment here! Hopefully, it helps other people to workaround the problem.

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

No branches or pull requests

3 participants