1
0
Fork 0

Documentation 3.3/fix codeblock reader keep newlines (#4735)

* fix dumping permission checks;

- don't load collections if we're not allowed to read from them
- don't list collections for dump if we're not allowed to read from them

* adjust to new user struct code structure

* fix codeblock reader - keep newlines

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:
Wilfried Goesgens 2018-03-02 11:50:23 +01:00 committed by Jan
parent 7cc78dc0cd
commit b259cc0b9d
1 changed files with 2 additions and 0 deletions

View File

@ -230,6 +230,8 @@ def fetch_comments(dirpath):
elif ("@END_EXAMPLE_ARANGOSH_OUTPUT" in _text or \
"@END_EXAMPLE_ARANGOSH_RUN" in _text):
shouldIgnoreLine = False
else:
fh.write("\n")
fh.close()
if __name__ == "__main__":