From 687453b38e04d68f1aa94c152f16afe231f95b66 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 1/7] Changes to the Readme.md.j2 : * Fix whitespace / empty lines in generated files * Add an 'upstream.version' variable (with fallback on 'manifest.version') --- README-generator/templates/README.md.j2 | 36 ++++++++++++---------- README-generator/templates/README_fr.md.j2 | 32 ++++++++++--------- 2 files changed, 38 insertions(+), 30 deletions(-) diff --git a/README-generator/templates/README.md.j2 b/README-generator/templates/README.md.j2 index f368039..55b233b 100644 --- a/README-generator/templates/README.md.j2 +++ b/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 -%} ---