Commits

Georg Brandl committed 1ff3f93

#536: Include line number when complaining about missing reference targets in nitpicky mode.

  • Participants
  • Parent commits 08a316a

Comments (0)

Files changed (2)

 Release 1.0.7 (in development)
 ==============================
 
+* #536: Include line number when complaining about missing reference
+  targets in nitpicky mode.
+
 * #590: Fix inline display of graphviz diagrams in LaTeX output.
 
 * #589: Build using app.build() in setup command.

File sphinx/environment.py

                             'reference target not found: %stype %s, target %s'
                             % (node.get('refdomain') and
                                'domain %s, ' % node['refdomain'] or '',
-                               typ, target))
+                               typ, target), node.line)
             except NoUri:
                 newnode = contnode
             node.replace_self(newnode or contnode)