On 1/21/12 1:14 PM, John H Palmieri wrote:


On Saturday, January 21, 2012 8:28:35 AM UTC-8, jason wrote:

    I'm trying to track down this error:

    
/Users/grout/sage-trees/sage-5.0.prealpha1/devel/sagenb-git/sagenb/notebook/cell.py:docstring

    of sagenb.notebook.cell.Cell:4: WARNING: Block quote ends without a
    blank line; unexpected unindent.
    
/Users/grout/sage-trees/sage-5.0.prealpha1/devel/sagenb-git/sagenb/notebook/cell.py:docstring

    of sagenb.notebook.cell.Cell:14: ERROR: Unexpected indentation.


    Everything in that classes __init__ function is formatted properly.
    When I add or remove lines, I can get the line numbers in the error
    message to change. I just can't find the errors anywhere, though.


The __init__ function shouldn't even by processed by Sphinx: Sphinx
ignores all methods starting with an underscore. So the problem is
somewhere else. I'll take a look and post to #11080. (If all else fails,
delete half of the file and build the documentation. If the error is
still there, delete half of what's left, etc.)

    Is there a way to see the actual rst file sphinx is working with (i.e.,
    generated by the autodoc extension)?


Not that I know of.

It would be nice if we could do:

sage -docbuild reference rst

to get just the full generated source for the reference manual.

Right now, I'm poking around in Sphinx to see if I can get it to spit out the source of the file...

Thanks,

Jason

--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to