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

Parsing errors in reStructuredText files have no source #4859

Closed
pekkaklarck opened this issue Sep 7, 2023 · 0 comments
Closed

Parsing errors in reStructuredText files have no source #4859

pekkaklarck opened this issue Sep 7, 2023 · 0 comments

Comments

@pekkaklarck
Copy link
Member

If there's a parsing error in reST file, the reported error looks like this:

Error in file 'None' on line 4: Non-existing setting 'Bad Setting'.

Luckily fixing the source is easy.

Another problem is that the line number isn't the actual line in the source file but a line in the parsed code block. Fixing that would be a lot harder and I don't consider it worth the effort at least now.

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

No branches or pull requests

1 participant