mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Make the linkchecker output usable with Emacs' grep-mode.
This commit is contained in:
parent
e886f2c5ae
commit
0f0c91875c
@ -100,7 +100,7 @@ class CheckExternalLinksBuilder(Builder):
|
|||||||
|
|
||||||
def write_entry(self, what, docname, line, uri):
|
def write_entry(self, what, docname, line, uri):
|
||||||
output = open(path.join(self.outdir, 'output.txt'), 'a')
|
output = open(path.join(self.outdir, 'output.txt'), 'a')
|
||||||
output.write("%s:%s [%s] %s\n" % (self.env.doc2path(docname, None),
|
output.write("%s:%s: [%s] %s\n" % (self.env.doc2path(docname, None),
|
||||||
line, what, uri))
|
line, what, uri))
|
||||||
output.close()
|
output.close()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user