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)