On 21/02/2011 15:27, werner wrote:
Just upgraded to 1.0.7 and I get lots of these:
source/headings.txt:4: (WARNING/2) don't know which module to import
for autodocumenting u'__init__' (try placing a "module" or
"currentmodule" directive in the document, or giving an explicit
module name)
My first 7 lines in headings.txt are:
.. |doc_title| image:: _static/doc_title.png
:align: top
:width: 32
.. |description| image:: _static/Description.png
:align: top
:width: 32
The above is then used in the .rst like this:
.. include:: headings.txt
.. module:: dabo.biz.dAutoBizobj
.. _dabo.biz.dAutoBizobj.dAutoBizobj:
================================================
|doc_title| **dAutoBizobj.dAutoBizobj** - class
================================================
Anyone has an idea why this would cause a problem in 1.0.7 but not in
1.0.4?
I think these errors where caused by the following type of code:
.. autoclass:: dabo.dObject.dObject
.. automethod:: __init__
If I change it to:
.. autoclass:: dabo.dObject.dObject
.. automethod:: dabo.dObject.dObject.__init__
the errors go away.
Shouldn't either of them work?
Werner
--
You received this message because you are subscribed to the Google Groups
"sphinx-dev" group.
To post to this group, send email to sphinx-dev@googlegroups.com.
To unsubscribe from this group, send email to
sphinx-dev+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/sphinx-dev?hl=en.