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,8 +100,8 @@ class CheckExternalLinksBuilder(Builder):
|
||||
|
||||
def write_entry(self, what, docname, line, uri):
|
||||
output = open(path.join(self.outdir, 'output.txt'), 'a')
|
||||
output.write("%s:%s [%s] %s\n" % (self.env.doc2path(docname, None),
|
||||
line, what, uri))
|
||||
output.write("%s:%s: [%s] %s\n" % (self.env.doc2path(docname, None),
|
||||
line, what, uri))
|
||||
output.close()
|
||||
|
||||
def resolve(self, uri):
|
||||
|
Loading…
Reference in New Issue
Block a user