From 3e6e27238a406ca8f57080720fd547db5d34759f Mon Sep 17 00:00:00 2001 From: Liam Pattinson Date: Thu, 12 Jun 2025 12:09:30 +0100 Subject: [PATCH] Always display package license info if provided in package_index.yml --- source/packages/data-types.md | 11 +++++++++++ source/packages/examples.md | 11 +++++++++++ source/packages/graphics.md | 11 +++++++++++ source/packages/interfaces.md | 11 +++++++++++ source/packages/io.md | 11 +++++++++++ source/packages/libraries.md | 11 +++++++++++ source/packages/numerical.md | 11 +++++++++++ source/packages/programming.md | 11 +++++++++++ source/packages/scientific.md | 11 +++++++++++ source/packages/strings.md | 11 +++++++++++ 10 files changed, 110 insertions(+) diff --git a/source/packages/data-types.md b/source/packages/data-types.md index 5dfc2ccb3fa8..48bc1b9589d4 100644 --- a/source/packages/data-types.md +++ b/source/packages/data-types.md @@ -16,7 +16,11 @@ A rich ecosystem of high-performance code ## {fab}`github;1em` [{{j.name}}]({{"https://github.com/"+j.github}}) Release +{% if j.license is defined %} +license +{% else %} license +{% endif %} stars forks last-commit @@ -34,7 +38,11 @@ Tags: {% for tag in j.tags.split() %} {bdg-light}`{{ tag }}` {% endfor %} ## {fab}`gitlab;1em` [{{j.name}}]({{"https://gitlab.com/"+j.gitlab}}) Release +{% if j.license is defined %} +license +{% else %} license +{% endif %} forks issues {% if j.description is defined %} @@ -48,6 +56,9 @@ Tags: {% for tag in j.tags.split() %} {bdg-light}`{{ tag }}` {% endfor %} ## {fab}`git-alt;1em` [{{j.name}}]({{j.url}}) +{% if j.license is defined %} +license +{% endif %} {% if j.description is defined %} {{j.description}} {% endif %} diff --git a/source/packages/examples.md b/source/packages/examples.md index ff61f7659676..83cc8b22f335 100644 --- a/source/packages/examples.md +++ b/source/packages/examples.md @@ -17,7 +17,11 @@ A rich ecosystem of high-performance code ## {fab}`github;1em` [{{j.name}}]({{"https://github.com/"+j.github}}) Release +{% if j.license is defined %} +license +{% else %} license +{% endif %} stars forks last-commit @@ -35,7 +39,11 @@ Tags: {% for tag in j.tags.split() %} {bdg-light}`{{ tag }}` {% endfor %} ## {fab}`gitlab;1em` [{{j.name}}]({{"https://gitlab.com/"+j.gitlab}}) Release +{% if j.license is defined %} +license +{% else %} license +{% endif %} forks issues {% if j.description is defined %} @@ -49,6 +57,9 @@ Tags: {% for tag in j.tags.split() %} {bdg-light}`{{ tag }}` {% endfor %} ## {fab}`git-alt;1em` [{{j.name}}]({{j.url}}) +{% if j.license is defined %} +license +{% endif %} {% if j.description is defined %} {{j.description}} {% endif %} diff --git a/source/packages/graphics.md b/source/packages/graphics.md index aad8fa7c1a36..c8ec95788972 100644 --- a/source/packages/graphics.md +++ b/source/packages/graphics.md @@ -16,7 +16,11 @@ A rich ecosystem of high-performance code ## {fab}`github;1em` [{{j.name}}]({{"https://github.com/"+j.github}}) Release +{% if j.license is defined %} +license +{% else %} license +{% endif %} stars forks last-commit @@ -34,7 +38,11 @@ Tags: {% for tag in j.tags.split() %} {bdg-light}`{{ tag }}` {% endfor %} ## {fab}`gitlab;1em` [{{j.name}}]({{"https://gitlab.com/"+j.gitlab}}) Release +{% if j.license is defined %} +license +{% else %} license +{% endif %} forks issues {% if j.description is defined %} @@ -48,6 +56,9 @@ Tags: {% for tag in j.tags.split() %} {bdg-light}`{{ tag }}` {% endfor %} ## {fab}`git-alt;1em` [{{j.name}}]({{j.url}}) +{% if j.license is defined %} +license +{% endif %} {% if j.description is defined %} {{j.description}} {% endif %} diff --git a/source/packages/interfaces.md b/source/packages/interfaces.md index f6820f8109c9..4d993ecfb63c 100644 --- a/source/packages/interfaces.md +++ b/source/packages/interfaces.md @@ -16,7 +16,11 @@ A rich ecosystem of high-performance code ## {fab}`github;1em` [{{j.name}}]({{"https://github.com/"+j.github}}) Release +{% if j.license is defined %} +license +{% else %} license +{% endif %} stars forks last-commit @@ -34,7 +38,11 @@ Tags: {% for tag in j.tags.split() %} {bdg-light}`{{ tag }}` {% endfor %} ## {fab}`gitlab;1em` [{{j.name}}]({{"https://gitlab.com/"+j.gitlab}}) Release +{% if j.license is defined %} +license +{% else %} license +{% endif %} forks issues {% if j.description is defined %} @@ -48,6 +56,9 @@ Tags: {% for tag in j.tags.split() %} {bdg-light}`{{ tag }}` {% endfor %} ## {fab}`git-alt;1em` [{{j.name}}]({{j.url}}) +{% if j.license is defined %} +license +{% endif %} {% if j.description is defined %} {{j.description}} {% endif %} diff --git a/source/packages/io.md b/source/packages/io.md index 2a015da9f59a..d55bba9afe9e 100644 --- a/source/packages/io.md +++ b/source/packages/io.md @@ -16,7 +16,11 @@ A rich ecosystem of high-performance code ## {fab}`github;1em` [{{j.name}}]({{"https://github.com/"+j.github}}) Release +{% if j.license is defined %} +license +{% else %} license +{% endif %} stars forks last-commit @@ -34,7 +38,11 @@ Tags: {% for tag in j.tags.split() %} {bdg-light}`{{ tag }}` {% endfor %} ## {fab}`gitlab;1em` [{{j.name}}]({{"https://gitlab.com/"+j.gitlab}}) Release +{% if j.license is defined %} +license +{% else %} license +{% endif %} forks issues {% if j.description is defined %} @@ -48,6 +56,9 @@ Tags: {% for tag in j.tags.split() %} {bdg-light}`{{ tag }}` {% endfor %} ## {fab}`git-alt;1em` [{{j.name}}]({{j.url}}) +{% if j.license is defined %} +license +{% endif %} {% if j.description is defined %} {{j.description}} {% endif %} diff --git a/source/packages/libraries.md b/source/packages/libraries.md index e746257ca1bd..c393580b6e5d 100644 --- a/source/packages/libraries.md +++ b/source/packages/libraries.md @@ -16,7 +16,11 @@ A rich ecosystem of high-performance code ## {fab}`github;1em` [{{j.name}}]({{"https://github.com/"+j.github}}) Release +{% if j.license is defined %} +license +{% else %} license +{% endif %} stars forks last-commit @@ -34,7 +38,11 @@ Tags: {% for tag in j.tags.split() %} {bdg-light}`{{ tag }}` {% endfor %} ## {fab}`gitlab;1em` [{{j.name}}]({{"https://gitlab.com/"+j.gitlab}}) Release +{% if j.license is defined %} +license +{% else %} license +{% endif %} forks issues {% if j.description is defined %} @@ -48,6 +56,9 @@ Tags: {% for tag in j.tags.split() %} {bdg-light}`{{ tag }}` {% endfor %} ## {fab}`git-alt;1em` [{{j.name}}]({{j.url}}) +{% if j.license is defined %} +license +{% endif %} {% if j.description is defined %} {{j.description}} {% endif %} diff --git a/source/packages/numerical.md b/source/packages/numerical.md index b12a66098e68..f228bbf31170 100644 --- a/source/packages/numerical.md +++ b/source/packages/numerical.md @@ -16,7 +16,11 @@ A rich ecosystem of high-performance code ## {fab}`github;1em` [{{j.name}}]({{"https://github.com/"+j.github}}) Release +{% if j.license is defined %} +license +{% else %} license +{% endif %} stars forks last-commit @@ -34,7 +38,11 @@ Tags: {% for tag in j.tags.split() %} {bdg-light}`{{ tag }}` {% endfor %} ## {fab}`gitlab;1em` [{{j.name}}]({{"https://gitlab.com/"+j.gitlab}}) Release +{% if j.license is defined %} +license +{% else %} license +{% endif %} forks issues {% if j.description is defined %} @@ -48,6 +56,9 @@ Tags: {% for tag in j.tags.split() %} {bdg-light}`{{ tag }}` {% endfor %} ## {fab}`git-alt;1em` [{{j.name}}]({{j.url}}) +{% if j.license is defined %} +license +{% endif %} {% if j.description is defined %} {{j.description}} {% endif %} diff --git a/source/packages/programming.md b/source/packages/programming.md index 6d23aed1a166..3c2d9664068b 100644 --- a/source/packages/programming.md +++ b/source/packages/programming.md @@ -16,7 +16,11 @@ A rich ecosystem of high-performance code ## {fab}`github;1em` [{{j.name}}]({{"https://github.com/"+j.github}}) Release +{% if j.license is defined %} +license +{% else %} license +{% endif %} stars forks last-commit @@ -34,7 +38,11 @@ Tags: {% for tag in j.tags.split() %} {bdg-light}`{{ tag }}` {% endfor %} ## {fab}`gitlab;1em` [{{j.name}}]({{"https://gitlab.com/"+j.gitlab}}) Release +{% if j.license is defined %} +license +{% else %} license +{% endif %} forks issues {% if j.description is defined %} @@ -48,6 +56,9 @@ Tags: {% for tag in j.tags.split() %} {bdg-light}`{{ tag }}` {% endfor %} ## {fab}`git-alt;1em` [{{j.name}}]({{j.url}}) +{% if j.license is defined %} +license +{% endif %} {% if j.description is defined %} {{j.description}} {% endif %} diff --git a/source/packages/scientific.md b/source/packages/scientific.md index db4779d8aff6..f66f9018ce34 100644 --- a/source/packages/scientific.md +++ b/source/packages/scientific.md @@ -16,7 +16,11 @@ A rich ecosystem of high-performance code ## {fab}`github;1em` [{{j.name}}]({{"https://github.com/"+j.github}}) Release +{% if j.license is defined %} +license +{% else %} license +{% endif %} stars forks last-commit @@ -34,7 +38,11 @@ Tags: {% for tag in j.tags.split() %} {bdg-light}`{{ tag }}` {% endfor %} ## {fab}`gitlab;1em` [{{j.name}}]({{"https://gitlab.com/"+j.gitlab}}) Release +{% if j.license is defined %} +license +{% else %} license +{% endif %} forks issues {% if j.description is defined %} @@ -48,6 +56,9 @@ Tags: {% for tag in j.tags.split() %} {bdg-light}`{{ tag }}` {% endfor %} ## {fab}`git-alt;1em` [{{j.name}}]({{j.url}}) +{% if j.license is defined %} +license +{% endif %} {% if j.description is defined %} {{j.description}} {% endif %} diff --git a/source/packages/strings.md b/source/packages/strings.md index 526c37d6d8da..cc5bc69e990a 100644 --- a/source/packages/strings.md +++ b/source/packages/strings.md @@ -16,7 +16,11 @@ A rich ecosystem of high-performance code ## {fab}`github;1em` [{{j.name}}]({{"https://github.com/"+j.github}}) Release +{% if j.license is defined %} +license +{% else %} license +{% endif %} stars forks last-commit @@ -34,7 +38,11 @@ Tags: {% for tag in j.tags.split() %} {bdg-light}`{{ tag }}` {% endfor %} ## {fab}`gitlab;1em` [{{j.name}}]({{"https://gitlab.com/"+j.gitlab}}) Release +{% if j.license is defined %} +license +{% else %} license +{% endif %} forks issues {% if j.description is defined %} @@ -48,6 +56,9 @@ Tags: {% for tag in j.tags.split() %} {bdg-light}`{{ tag }}` {% endfor %} ## {fab}`git-alt;1em` [{{j.name}}]({{j.url}}) +{% if j.license is defined %} +license +{% endif %} {% if j.description is defined %} {{j.description}} {% endif %}