I think the line numbers are relative to the beginng of the docstring, not 
the whole file. It would be nice if Sphinx would print some context...



On Sunday, September 29, 2013 1:57:53 PM UTC+1, Eric Gourgoulhon wrote:
>
> Hi,
>
> I totally subscribe to your point 2: the line numbers provided with 
> warnings during the documentation built do not correspond to actual line 
> numbers in the source files. I do not know the meaning of these line 
> numbers. Does anybody have some hint about this ?
>
> Best wishes,
>
> Eric.
>
> Le samedi 28 septembre 2013 19:01:30 UTC+2, Andrey Novoseltsev a écrit :
>>
>> Hello,
>>
>> I just fixed a couple of format problems in documentation (using git in 
>> case it matters) and had two problems with the way docbuid works:
>>
>> 1. There is no message about warning in the end of the output. As the 
>> process takes a while, I am not watching what's going on and when I come 
>> back to the terminal I see a lot of statistics but have to scroll up and 
>> search for warnings/errors. Would be way better if they were summarized in 
>> the end as it is done with doctests.
>>
>> 2. Line numbers are completely screwed up - I could not figure out what 
>> is wrong with 4 and 14, because they both were in the second thousand far 
>> away from each other. I ended up looking through the whole file.
>>
>> Is this something known or does anybody know how to fix it? I am pretty 
>> sure that line numbers used to be correct.
>>
>> Thank you!
>> Andrey
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to