Skip to content
Snippets Groups Projects
Commit b06dd496 authored by Timo Koch's avatar Timo Koch
Browse files

Merge branch 'fix/generate_example_docs-trailing-whitespaces' into 'master'

[examples] Fix generate_example_docs.py to avoid trailing whitespaces

See merge request !1946
parents 140a7b7c 2a70def8
No related branches found
No related tags found
1 merge request!1946[examples] Fix generate_example_docs.py to avoid trailing whitespaces
......@@ -120,13 +120,13 @@ simulations are solved sequentially in the main file (`main.cc`).
| [:arrow_right: Click to continue with part 1 of the documentation](doc/1pmodel.md) |
|---:|
## Part 2: Tracer transport simulation setup
| [:arrow_right: Click to continue with part 2 of the documentation](doc/tracermodel.md) |
|---:|
## Part 3: Main program flow
| [:arrow_right: Click to continue with part 3 of the documentation](doc/main.md) |
......
......@@ -34,7 +34,7 @@ class Navigation:
self.snippets[mainpage] = { "header" : "", "footer" : "" }
makeHead = lambda t: "\n## {}\n\n".format(t)
makeEntry = lambda i,l: "| [:arrow_right: Click to continue with part {} of the documentation]({}) |\n|---:|\n\n".format(i,l)
self.snippets[mainpage]["footer"] = " ".join(
self.snippets[mainpage]["footer"] = "".join(
[ makeHead(title) + makeEntry(index+1, self.getRelPath(mainpage, subpage)) for index, (subpage, title) in enumerate(zip(subpages, subtitles))]
).rstrip("\n")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment