From 33a2d28e088a1c10f7176053f192a6625f64c08d Mon Sep 17 00:00:00 2001 From: Peter Holloway Date: Wed, 21 Jan 2026 17:05:11 +0000 Subject: [PATCH 1/2] Reformat link table template in README Having the source and repo link as a 'normal' row makes it clearer what is going on and stops 'Source' looking like a description of the other link types. Keeping each if/endif pair on the same line as the row it's gating makes the template easier to read. The generated readme is unchanged. --- template/README.md.jinja | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/template/README.md.jinja b/template/README.md.jinja index 83fd9f31..1998efba 100644 --- a/template/README.md.jinja +++ b/template/README.md.jinja @@ -10,12 +10,13 @@ This is where you should write a short paragraph that describes what your module does, how it does it, and why people should use it. -{% if True %}Source | <{{repo_url}}> -{% endif %}{% if True %}:---: | :---: -{% endif %}{% if pypi %}PyPI | `pip install {{distribution_name}}` -{% endif %}{% if docker %}Docker | `docker run ghcr.io/{{github_org | lower}}/{{repo_name}}:latest` -{% endif %}{% if sphinx %}Documentation | <{{docs_url}}> -{% endif %}Releases | <{{repo_url}}/releases> +What | Where +:---: | :---: +Source | <{{repo_url}}> +{% if pypi %}PyPI | `pip install {{distribution_name}}`{% endif %} +{% if docker %}Docker | `docker run ghcr.io/{{github_org | lower}}/{{repo_name}}:latest`{% endif %} +{% if sphinx %}Documentation | <{{docs_url}}>{% endif %} +Releases | <{{repo_url}}/releases> This is where you should put some images or code snippets that illustrate some relevant examples. If it is a library then you might put some From a48eccc3135d687efd3e9d893412391eb35986b5 Mon Sep 17 00:00:00 2001 From: Peter Holloway Date: Mon, 2 Feb 2026 15:21:41 +0000 Subject: [PATCH 2/2] Restore awkward whitespace handling --- template/README.md.jinja | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/template/README.md.jinja b/template/README.md.jinja index 1998efba..722e0419 100644 --- a/template/README.md.jinja +++ b/template/README.md.jinja @@ -10,13 +10,13 @@ This is where you should write a short paragraph that describes what your module does, how it does it, and why people should use it. -What | Where -:---: | :---: -Source | <{{repo_url}}> -{% if pypi %}PyPI | `pip install {{distribution_name}}`{% endif %} -{% if docker %}Docker | `docker run ghcr.io/{{github_org | lower}}/{{repo_name}}:latest`{% endif %} -{% if sphinx %}Documentation | <{{docs_url}}>{% endif %} -Releases | <{{repo_url}}/releases> +{# #}What | Where +{# #}:---: | :---: +{# #}Source | <{{repo_url}}> +{% if pypi %}PyPI | `pip install {{distribution_name}}` +{% endif %}{% if docker %}Docker | `docker run ghcr.io/{{github_org | lower}}/{{repo_name}}:latest` +{% endif %}{% if sphinx %}Documentation | <{{docs_url}}> +{% endif %}Releases | <{{repo_url}}/releases> This is where you should put some images or code snippets that illustrate some relevant examples. If it is a library then you might put some