diff --git a/examples/freeflowchannel/README.md b/examples/freeflowchannel/README.md index 0ab86fa2a4827f9637633fc6300651c2c75f8b51..71899e09ca7060c11a86db0a81fe9b28388abbcf 100644 --- a/examples/freeflowchannel/README.md +++ b/examples/freeflowchannel/README.md @@ -106,6 +106,7 @@ struct EnableGridGeometryCache<TypeTag, TTag::ChannelExample> { static constexpr ``` +---------- ## The file `problem.hh` @@ -315,6 +316,7 @@ Finally, private variables are declared: </details> +---------- ## The file `main.cc` @@ -603,3 +605,6 @@ catch (...) ``` </details> + + +---------- diff --git a/examples/generate_example_docs.py b/examples/generate_example_docs.py index dc97ba7da5b7a13abcfbe48e7087a3f8a0cafc76..39e8f3653f5fd4be495eefbf2b8e0c2041fd7f24 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") + targetFile.write("\n\n" + transformCode(cppCode.read(), cppRules(), sourceRelPath) + "\n----------\n") else: raise IOError("Unsupported or unknown file extension *{}".format(fileExtension)) diff --git a/examples/shallowwaterfriction/README.md b/examples/shallowwaterfriction/README.md index e71e3b5460a30c7589f9125a087fcd65de40fefd..82512d4a23b6689ddf11522e1af9c47cd4a41fea 100644 --- a/examples/shallowwaterfriction/README.md +++ b/examples/shallowwaterfriction/README.md @@ -180,6 +180,7 @@ struct EnableGridGeometryCache<TypeTag, TTag::RoughChannel> ``` +---------- ## The file `spatialparams.hh` @@ -322,6 +323,7 @@ end of namespace Dumux. ``` +---------- ## The file `problem.hh` @@ -688,6 +690,7 @@ eps is used as a small value for the definition of the boundry conditions ``` +---------- ## The file `main.cc` @@ -1020,3 +1023,4 @@ catch (...) ``` +----------