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
I'd say it is a bug, because a common notation for error reporting like "docs\freefeatures.rst:26: bla-bla-bla" is a source code line number.
Reproducer:
Note the non existent target
porttitor_
is on line 8 of the document, but the error is reported against line 4.A