From: Adam T. <aa-...@us...> - 2022-05-30 20:07:35
|
Reproducer: ```rest Line Number Bug =============== Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus congue convallis pulvinar. Donec eget orci lorem. Nunc eu dignissim ligula. Nullam nisl nibh, vulputate a justo eget, congue auctor libero. Quisque aliquam nulla ac porttitor_ dignissim. Vivamus sit amet metus ac nunc fermentum vestibulum. ``` ```doscon (docutils) S:\Development\docutils>docutils line-numbers-errors.rst line-numbers-errors.html line-numbers-errors.rst:4: (ERROR/3) Unknown target name: "porttitor". ``` Note the non existent target `porttitor_` is on line 8 of the document, but the error is reported against line 4. A --- ** [bugs:#145] error report with paragraph start line instead of error-line** **Status:** open **Created:** Sun Aug 22, 2010 04:17 PM UTC by anatoly techtonik **Last Updated:** Mon Aug 23, 2010 09:57 AM UTC **Owner:** nobody Sphinx - the tool to generate official Python documentation reports incorrect line with an error in reST source. Georg Brandl \(Sphinx maintainer\) detected that it is Docutils bug, Guenter Milde confirmed that in private mail. http://bitbucket.org/birkenfeld/sphinx/issue/457/wrong-line-number-reported-on-error --- Sent from sourceforge.net because doc...@li... is subscribed to https://sourceforge.net/p/docutils/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/docutils/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |