-
Notifications
You must be signed in to change notification settings - Fork 396
pospell
fails with code entries
#3324
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
Comments
OK, so I found out that if I don't translate the code entries, we could bypass the error. |
As far I understand, the problem here is because the most of code snippets entries (maybe all) have @rtobar, I've implemented a temporary solution (bastante fiera!) in our script that skips the checks for these entries. |
For 3.13, there was a change in the documentation that now snippets were marked as translatable.
This means that there is a large number of "new entries" that are snippets from the documentation page.
Even though I believe this is a great thing, the tooling around might need to be adapted.
Recently I discovered that in some cases,
pospell
fails to parse and handle such entries.For example:
Produces a
Marking those entries as fuzzy or adding three back-ticks "```" doesn't work, so I'm trying to brainstorm a bit how we could solve this.
A couple of ideas would be to:
python-format
in order to take the content for granted and avoid parsing it.Ideas?
CC: @JulienPalard
The text was updated successfully, but these errors were encountered: