[NumPy-Tickets] [NumPy] #1772: autosummary output for classes broken

NumPy Trac numpy-tickets@scipy....
Tue Mar 15 00:12:37 CDT 2011


#1772: autosummary output for classes broken
---------------------------+------------------------------------------------
 Reporter:  rgommers       |       Owner:  pv         
     Type:  defect         |      Status:  new        
 Priority:  normal         |   Milestone:  Unscheduled
Component:  Documentation  |     Version:  1.5.1      
 Keywords:                 |  
---------------------------+------------------------------------------------
 The methods and attributes sections are wrong, because sphinx tries to
 import numpy.methodname instead of numpy.classname.methodname.  See
 numpy.chararray for example.

 This is probably a Sphinx bug (in autosummary/generate.py), but currently
 we duplicate/extend the autosummary class template in
 doc/source/reference/_templates. That class template should probably be
 completely removed anyway, this is fixed in Sphinx. I tried removing it,
 and the generated pdf got 20 pages longer while the number of warnings
 went from 1600 down to 800.

-- 
Ticket URL: <http://projects.scipy.org/numpy/ticket/1772>
NumPy <http://projects.scipy.org/numpy>
My example project


More information about the NumPy-Tickets mailing list