I wanted to upgrade our project from Sphinx 1.0.4 to 1.0.7, but when I
pulled a branch to test it, I got 5 warnings when I built. All
warnings are related to the Enthoughts Traits package that we import.

writing output... [100%] user-guide/
userguide_script
/OpenMDAO/dev/pziegfel/Test-Sphinx107/docs/srcdocs/packages/
openmdao.lib.rst:7: WARNING: undefined label:
enthought.traits.has_traits.py (if the link has no caption the label
must precede a section header)
/OpenMDAO/dev/pziegfel/Test-Sphinx107/docs/srcdocs/packages/
openmdao.lib.rst:9: WARNING: undefined label:
enthought.traits.has_traits.py (if the link has no caption the label
must precede a section header)
/OpenMDAO/dev/pziegfel/Test-Sphinx107/docs/srcdocs/packages/
openmdao.lib.rst:35: WARNING: undefined label:
enthought.traits.has_traits.py (if the link has no caption the label
must precede a section header)
/OpenMDAO/dev/pziegfel/Test-Sphinx107/docs/srcdocs/packages/
openmdao.lib.rst:43: WARNING: undefined label:
enthought.traits.trait_errors.py (if the link has no caption the label
must precede a section header)
/OpenMDAO/dev/pziegfel/Test-Sphinx107/docs/srcdocs/packages/
openmdao.lib.rst:45: WARNING: undefined label:
enthought.traits.trait_handlers.py (if the link has no caption the
label must precede a section header)

I searched all the code and couldn't find the labels. The .rst file it
refers to imports other files that import other stuff.  Is there a way
that I can suppress this warning so the developers don't have to see
them when they build every time since we can't change outside code.
Versions 1.0.5 and 1.0.6 don't display warnings, so I assume it's
related to V1.0.7, #572, Show warning by default when reference labels
cannot be found.

Thanks,
Paulette

-- 
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.

Reply via email to