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

Merge branch 'feature/examples-fix-new-line-endoffile' into 'master'

[examples] Fix endline character at the end of partitioned examples

See merge request !2302
parents bf0ae20f b755c173
No related branches found
No related tags found
1 merge request!2302[examples] Fix endline character at the end of partitioned examples
...@@ -107,4 +107,4 @@ volumes and control volume face areas for the mid-point integration rule. ...@@ -107,4 +107,4 @@ volumes and control volume face areas for the mid-point integration rule.
## Part 3: Post-processing with ParaView ## Part 3: Post-processing with ParaView
| [:arrow_right: Click to continue with part 3 of the documentation](doc/paraview.md) | | [:arrow_right: Click to continue with part 3 of the documentation](doc/paraview.md) |
|---:| |---:|
\ No newline at end of file
...@@ -130,4 +130,4 @@ simulations are solved sequentially in the main file (`main.cc`). ...@@ -130,4 +130,4 @@ simulations are solved sequentially in the main file (`main.cc`).
## Part 3: Main program flow ## Part 3: Main program flow
| [:arrow_right: Click to continue with part 3 of the documentation](doc/main.md) | | [:arrow_right: Click to continue with part 3 of the documentation](doc/main.md) |
|---:| |---:|
\ No newline at end of file
...@@ -83,4 +83,4 @@ In the documentations behind the links provided in the following, you will find ...@@ -83,4 +83,4 @@ In the documentations behind the links provided in the following, you will find
## Part 2: Main program flow ## Part 2: Main program flow
| [:arrow_right: Click to continue with part 2 of the documentation](doc/main.md) | | [:arrow_right: Click to continue with part 2 of the documentation](doc/main.md) |
|---:| |---:|
\ No newline at end of file
...@@ -187,4 +187,4 @@ especially the multi-component solidsystems and variable solid volume fractions. ...@@ -187,4 +187,4 @@ especially the multi-component solidsystems and variable solid volume fractions.
## Part 5: Specific solid material files ## Part 5: Specific solid material files
| [:arrow_right: Click to continue with part 5 of the documentation](doc/solidmaterial.md) | | [:arrow_right: Click to continue with part 5 of the documentation](doc/solidmaterial.md) |
|---:| |---:|
\ No newline at end of file
...@@ -36,7 +36,7 @@ class Navigation: ...@@ -36,7 +36,7 @@ class Navigation:
makeEntry = lambda i,l: "| [:arrow_right: Click to continue with part {} of the documentation]({}) |\n|---:|\n\n".format(i,l) 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))] [ makeHead(title) + makeEntry(index+1, self.getRelPath(mainpage, subpage)) for index, (subpage, title) in enumerate(zip(subpages, subtitles))]
).rstrip("\n") ).rstrip() + '\n' # end file with a single endline character
# then the navigation snippets for the subpages # then the navigation snippets for the subpages
pagetypes = ["mid" for i in range(len(subpages))] pagetypes = ["mid" for i in range(len(subpages))]
......
...@@ -149,4 +149,4 @@ is applied. ...@@ -149,4 +149,4 @@ is applied.
## Part 2: Main program flow ## Part 2: Main program flow
| [:arrow_right: Click to continue with part 2 of the documentation](doc/main.md) | | [:arrow_right: Click to continue with part 2 of the documentation](doc/main.md) |
|---:| |---:|
\ No newline at end of file
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