{{ $registryBase := "https://scverse.org/ecosystem-packages/" }} {{ $data := resources.GetRemote (printf "%spackages.json" $registryBase) }} @@ -25,7 +26,7 @@

Data structures

{{ $sections.datastructures | markdownify }}
{{ range . }} - {{ partial "package-section.html" (dict "pkg" . "base" $registryBase) }} + {{ partial "package-section.html" (dict "pkg" . "base" $registryBase "interop" (index $interop (lower .name))) }} {{ end }}
{{ end }} @@ -36,7 +37,7 @@

Frameworks

{{ $sections.frameworks | markdownify }}
{{ range . }} - {{ partial "package-section.html" (dict "pkg" . "base" $registryBase) }} + {{ partial "package-section.html" (dict "pkg" . "base" $registryBase "interop" (index $interop (lower .name))) }} {{ end }}
{{ end }} diff --git a/layouts/partials/package-section.html b/layouts/partials/package-section.html index 5b82d366..d5e9fa68 100644 --- a/layouts/partials/package-section.html +++ b/layouts/partials/package-section.html @@ -1,4 +1,4 @@ -{{/* One core package row on /packages, from an ecosystem-registry entry. Params: pkg, base */}} +{{/* One core package row on /packages, from an ecosystem-registry entry. Params: pkg, base, interop */}} {{ $base := .base }} {{ $p := .pkg }}
@@ -24,6 +24,9 @@ {{ with $p.tutorials_home }} Tutorials {{ end }} + {{ with .interop }} + Interoperability + {{ end }} {{ with $p.install }} {{ with .pypi }} PyPI