Günter,
On 05/03/2011 20:38, Guenter Milde wrote:
On 2011-03-04, werner wrote:
I get this error:
C:\dev\dabodoc\api\sphinx\source\dabo.biz.RemoteBizobj.RemoteBizobj.rst:631:
WARNING: undefined label:
no-612-dabo.biz.remotebizobj.remotebizobj.setlimit (if the link has no
caption the label must precede a section header)
The label definition is this:
.. _no-612-dabo.biz.RemoteBizobj.RemoteBizobj.setLimit:
no-612-dabo.biz.RemoteBizobj.RemoteBizobj.setLimit
If you want a visible label, you can just write
_`label1`
If you want a hidden label, write
.. _label2:
separated by blank lines above and below.
Now I link to label1_ and label2_.
A construct like
.. _label3:
label3
leads to a warning:
Explicit markup ends without a blank line; unexpected unindent.
here. Linking to label3_ works, though.
It was the blank lines I "fell over", i.e. didn't have in all cases.
Thanks for the detailed explanation.
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.