From 9ac168e1bf389a5ea454d14d5d1742b724f3e5ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Thu, 20 May 2021 10:21:18 +0200 Subject: [PATCH] Changes to the Readme.md.j2 : * Fix whitespace / empty lines in generated files * Add an 'upstream.version' variable (with fallback on 'manifest.version') --- tools/README-generator/templates/README.md.j2 | 36 ++++++++++--------- .../templates/README_fr.md.j2 | 32 +++++++++-------- 2 files changed, 38 insertions(+), 30 deletions(-) diff --git a/tools/README-generator/templates/README.md.j2 b/tools/README-generator/templates/README.md.j2 index f368039e..55b233bf 100644 --- a/tools/README-generator/templates/README.md.j2 +++ b/tools/README-generator/templates/README.md.j2 @@ -1,4 +1,4 @@ -{% if manifest.id == "example" %} +{% if manifest.id == "example" -%} # Packaging your an app, starting from this example - Copy this app before working on it, using the ['Use this template'](https://github.com/YunoHost/example_ynh/generate) button on the Github repo. @@ -8,8 +8,8 @@ - Add a `LICENSE` file for the package. - Edit `doc/DISCLAIMER*.md` - The `README.md` files are to be automatically generated by https://github.com/YunoHost/apps/tree/master/tools/README-generator -{% endif %} +{% endif -%} ---