From 15b450f13b4f3b95d7bf3f7739a91aa97fc32ea4 Mon Sep 17 00:00:00 2001 From: Willi Goesgens Date: Tue, 11 Aug 2015 14:15:49 +0200 Subject: [PATCH] Output the full path to the file, README.mdpp alone isn't that informative. --- Documentation/Books/codeBlockReader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/Books/codeBlockReader.py b/Documentation/Books/codeBlockReader.py index 5f600c8d46..e689668790 100644 --- a/Documentation/Books/codeBlockReader.py +++ b/Documentation/Books/codeBlockReader.py @@ -175,7 +175,7 @@ def fetch_comments(dirpath): filepath = os.path.join(root, filename) file_comments = file_content(filepath) for comment in file_comments: - fh.write("\n\n" % filename) + fh.write("\n\n" % filepath) for _com in comment: _text = re.sub(r"//(/)+\s*\n", "
", _com) _text = re.sub(r"///+(\s+\s+)([-\*\d])", r" \2", _text)