mirror of https://gitee.com/bigwinds/arangodb
fix codeblock reader - keep newlines (#4734)
We must keep newlines when copying the markdown blocks into the documentation; else it will destroy the structure of documents. fixes #4716
This commit is contained in:
parent
801d43e250
commit
bffac3f1f4
|
@ -230,6 +230,8 @@ def fetch_comments(dirpath):
|
||||||
elif ("@END_EXAMPLE_ARANGOSH_OUTPUT" in _text or \
|
elif ("@END_EXAMPLE_ARANGOSH_OUTPUT" in _text or \
|
||||||
"@END_EXAMPLE_ARANGOSH_RUN" in _text):
|
"@END_EXAMPLE_ARANGOSH_RUN" in _text):
|
||||||
shouldIgnoreLine = False
|
shouldIgnoreLine = False
|
||||||
|
else:
|
||||||
|
fh.write("\n")
|
||||||
fh.close()
|
fh.close()
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|
Loading…
Reference in New Issue