> > > Yes, I have duplicate target names on purpose. I need them. Why being > > warned about it as if I was doing something wrong? > > Usually an explicit target is inserted to be referenced using their name. > Duplicate target names make it impossible to use them for this purpose > without ambiguity. What do you need these targets for? Maybe you can use > `anonymous targets`__ or some other rst construct instead? > > __ > http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#anonymous-hyperlinks > >
Sorry, but don't see how that can help on this. What I'm doing is to have a table in one document that refers to many other different html files, and because I don't want to create a different target for each call, I do it this way which causes all those warnings. +------------------------------------------------+---------------------------------------------------------------------+ | **grdmath** `(...) <grdmath.html>`_ | Mathematical operations on grid files | +------------------------------------------------+---------------------------------------------------------------------+ | **grdvolume** `(...) <grdvolume.html>`_ | Calculate volumes under a surface within specified contour | +------------------------------------------------+---------------------------------------------------------------------+ In context http://w3.ualg.pt/~jluis/GMTdoc_teste/html/GMT_Docs.html#gmt-summary Thanks for the help. Joaquim > > > Is there any way to suppress these warnings (selectively, preferably)? > > There is a Docutils setting > > --report=<level>, -r <level> > Report system messages at or higher than <level>: > "info" or "1", "warning"/"2" (default), > "error"/"3", > "severe"/"4", "none"/"5" > > http://docutils.sourceforge.net/docs/user/config.html#report-level > > Unfortunately, I don't know how to pass configuration settings to > Docutils, > when it is used via Sphinx. You may try with a `config file`__ in a > generic > place like ``~/.docutils``. > > __ > http://docutils.sourceforge.net/docs/user/config.html#configuration-files > > Hope this helps, > > > Günter > > -- You received this message because you are subscribed to the Google Groups "sphinx-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sphinx-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
