Commits

Georg Brandl  committed 9d64090

Mention :noindex: in warning message.

  • Participants
  • Parent commits 93bab77

Comments (0)

Files changed (1)

File sphinx/environment.py

             self.warn(self.docname,
                       'duplicate canonical description name %s, ' % fullname +
                       'other instance in ' +
-                      self.doc2path(self.descrefs[fullname][0]),
+                      self.doc2path(self.descrefs[fullname][0]) +
+                      ', use :noindex: for one of them',
                       line)
         self.descrefs[fullname] = (self.docname, desctype)