Skip to content

Footnotes break when translating content. #485

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

Closed
lwasser opened this issue May 12, 2025 · 2 comments
Closed

Footnotes break when translating content. #485

lwasser opened this issue May 12, 2025 · 2 comments

Comments

@lwasser
Copy link
Member

lwasser commented May 12, 2025

When we try to use footnotes in Sphinx, they seem to break when translated.

see this page here for the Japanese translation. You can see that the footnote syntax is not recognized

Image

However, the footnotes are rendered at the bottom.

Image

Some of me wonders if it's something that needs to be escaped or something?

The result of this bug is that the link checker breaks for every build.

CC: @flpm @sneakers-the-rat
i'm going to post in either pydata sphinx or myst - i'm not sure which repo to post in so maybe i can post in the scientific Python discord first?

@sneakers-the-rat
Copy link
Contributor

sneakers-the-rat commented May 12, 2025

I believe that the problem is resolved by using python 3.13 in the ci build process: #484

https://output.circle-artifacts.com/output/job/5904f9d8-bc66-4d54-8206-cd8066343890/artifacts/0/html/ja/tutorials/add-license-coc.html#id1

@flpm suspects (and I agree) this is because using 3.9 pins us to some older version of some of the dependencies. I can bisect this to find out which, but in the meantime it seems like #484 patches the problem crudely

@lwasser
Copy link
Member Author

lwasser commented May 12, 2025

Awesome !! Let's merge #484 does that sound ok?? and now we have this documented. I didn't follow the fix before - i remember the venv cache issue but gosh this is a simple fix which is awesome. Then maybe we consider pinning deps in the future? Thank you!!

@lwasser lwasser closed this as completed May 12, 2025
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

2 participants