Open tomkivlin opened 2 years ago
Is this happened with markdown document? If so, please report this to the myst_parser project first.
Is this happened with markdown document? If so, please report this to the myst_parser project first.
Thanks, will do so.
Describe the bug
I am using sphinx-build to build some markdown pages.
I noticed some errors in the build yesterday that were referring to lines that don't exist in the file affected.
e.g. I received this error message:
So this suggests the error is on line 6172 of the
platform-tci.md
file. However, that file only has 5475 lines.When checking, all the other warnings that were found in that build (and others) refer to seemingly random line numbers?
How to Reproduce
Hard to share steps as I can't share the document in use (sensitive info), but essentially:
where the Makefile is:
Expected behavior
I expect the number that is shown after the file name to refer to the line number that the error refers to.
Your project
n/a
Screenshots
No response
OS
Ubuntu 20.04
Python version
3.8
Sphinx version
4.3.1
Sphinx extensions
myst_parser, sphinxcontrib.mermaid, sphinxcontrib.inkscapeconverter, sphinx.ext.githubpages, sphinx.ext.autosectionlabel, sphinx_markdown_tables, sphinx_panels
Extra tools
No response
Additional context
Additional warnings that also have wrong line numbers: