From c5bc15e4cbb2a2d2ec9503e96076bd6202ca9a76 Mon Sep 17 00:00:00 2001 From: Timo Koch <timo.koch@iws.uni-stuttgart.de> Date: Thu, 2 Apr 2020 14:20:00 +0200 Subject: [PATCH] [examples] Remove horizontal rule at the end of file includes --- examples/1ptracer/doc/1pmodel.md | 3 --- examples/1ptracer/doc/main.md | 1 - examples/1ptracer/doc/tracermodel.md | 3 --- examples/2pinfiltration/README.md | 4 ---- examples/freeflowchannel/README.md | 3 --- examples/generate_example_docs.py | 2 +- examples/shallowwaterfriction/README.md | 4 ---- 7 files changed, 1 insertion(+), 19 deletions(-) diff --git a/examples/1ptracer/doc/1pmodel.md b/examples/1ptracer/doc/1pmodel.md index 79ec991536..48b55e6dac 100644 --- a/examples/1ptracer/doc/1pmodel.md +++ b/examples/1ptracer/doc/1pmodel.md @@ -170,7 +170,6 @@ struct EnableGridGeometryCache<TypeTag, TTag::IncompressibleTest> { static const </details> ----------- ## Initial and boundary conditions (`problem_1p.hh`) @@ -274,7 +273,6 @@ Fluid properties that depend on temperature will be calculated with this value. ``` ----------- ## Parameter distributions (`spatialparams_1p.hh`) @@ -438,4 +436,3 @@ private: </details> ----------- diff --git a/examples/1ptracer/doc/main.md b/examples/1ptracer/doc/main.md index eeb5589950..89137a3427 100644 --- a/examples/1ptracer/doc/main.md +++ b/examples/1ptracer/doc/main.md @@ -408,4 +408,3 @@ catch (...) </details> ----------- diff --git a/examples/1ptracer/doc/tracermodel.md b/examples/1ptracer/doc/tracermodel.md index 681a1abbd5..3a6f3ac2c0 100644 --- a/examples/1ptracer/doc/tracermodel.md +++ b/examples/1ptracer/doc/tracermodel.md @@ -209,7 +209,6 @@ struct SolutionDependentMolecularDiffusion<TypeTag, TTag::TracerTest> </details> ----------- ## Initial and boundary conditions (`problem_tracer.hh`) @@ -361,7 +360,6 @@ private: ``` ----------- ## Parameter distributions (`spatialparams_tracer.hh`) @@ -497,4 +495,3 @@ private: ``` ----------- diff --git a/examples/2pinfiltration/README.md b/examples/2pinfiltration/README.md index b0d3814b7a..3ba9f6e4f4 100644 --- a/examples/2pinfiltration/README.md +++ b/examples/2pinfiltration/README.md @@ -240,7 +240,6 @@ we have a convenience definition of the position of the lens </details> ----------- ## The file `problem.hh` @@ -459,7 +458,6 @@ private: </details> ----------- ## The file `properties.hh` @@ -587,7 +585,6 @@ struct Formulation<TypeTag, TTag::PointSourceExample> </details> ----------- ## The file `main.cc` @@ -1119,4 +1116,3 @@ catch (...) </details> ----------- diff --git a/examples/freeflowchannel/README.md b/examples/freeflowchannel/README.md index 71899e09ca..d7221b3877 100644 --- a/examples/freeflowchannel/README.md +++ b/examples/freeflowchannel/README.md @@ -106,7 +106,6 @@ struct EnableGridGeometryCache<TypeTag, TTag::ChannelExample> { static constexpr ``` ----------- ## The file `problem.hh` @@ -316,7 +315,6 @@ Finally, private variables are declared: </details> ----------- ## The file `main.cc` @@ -607,4 +605,3 @@ catch (...) </details> ----------- diff --git a/examples/generate_example_docs.py b/examples/generate_example_docs.py index 39e8f3653f..dc97ba7da5 100755 --- a/examples/generate_example_docs.py +++ b/examples/generate_example_docs.py @@ -28,7 +28,7 @@ def convertToMarkdownAndMerge(dir, config): elif fileExtension == ".hh" or fileExtension == ".cc": with open(os.path.join(dir, source), "r") as cppCode: sourceRelPath = os.path.relpath(os.path.abspath(os.path.join(dir, source)), os.path.split(os.path.abspath(targetPath))[0]) - targetFile.write("\n\n" + transformCode(cppCode.read(), cppRules(), sourceRelPath) + "\n----------\n") + targetFile.write("\n\n" + transformCode(cppCode.read(), cppRules(), sourceRelPath) + "\n") else: raise IOError("Unsupported or unknown file extension *{}".format(fileExtension)) diff --git a/examples/shallowwaterfriction/README.md b/examples/shallowwaterfriction/README.md index 82512d4a23..e71e3b5460 100644 --- a/examples/shallowwaterfriction/README.md +++ b/examples/shallowwaterfriction/README.md @@ -180,7 +180,6 @@ struct EnableGridGeometryCache<TypeTag, TTag::RoughChannel> ``` ----------- ## The file `spatialparams.hh` @@ -323,7 +322,6 @@ end of namespace Dumux. ``` ----------- ## The file `problem.hh` @@ -690,7 +688,6 @@ eps is used as a small value for the definition of the boundry conditions ``` ----------- ## The file `main.cc` @@ -1023,4 +1020,3 @@ catch (...) ``` ----------- -- GitLab