- {{ if .Params.packages }} + {{ $jsonURL := "https://scverse.org/ecosystem-packages/packages.json" }} + {{ $remoteData := resources.GetRemote $jsonURL }} + {{ $allPkgs := transform.Unmarshal $remoteData.Content }} + + {{ $datastructures := slice }} + {{ $frameworks := slice }} + {{ $ecosystem := slice }} + {{ range $allPkgs }} + {{ if eq .category "core-datastructure" }} + {{ $datastructures = $datastructures | append . }} + {{ else if eq .category "core-framework" }} + {{ $frameworks = $frameworks | append . }} + {{ else if eq .category "ecosystem" }} + {{ $ecosystem = $ecosystem | append . }} + {{ end }} + {{ end }} + + {{ if or $datastructures $frameworks }}

Packages maintained by core team

{{ $sections.core_packages | markdownify }} - {{ if .Params.datastructures }} + + {{ if $datastructures }}

Data structures

{{ $sections.datastructures | markdownify }}
- {{ $datastructures := .Params.datastructures }} - {{ range $i, $e := $datastructures }} + {{ range $datastructures }}
- Logo for {{ .name }} + {{ if .logo }} + Logo for {{ .name }} + {{ end }}
-
+
{{ .name }} - {{ .details | markdownify }} + {{ .description | markdownify }}
@@ -50,22 +84,41 @@

Analysis task-specific extensions

Frameworks

{{ $sections.frameworks | markdownify }}
- {{ $packages := .Params.packages }} - {{ range $i, $e := $packages }} + {{ range $frameworks }}
- Logo for {{ .name }} + {{ if .logo }} + Logo for {{ .name }} + {{ end }}
-
+
{{ .name }} - {{ .details | markdownify }} + {{ .description | markdownify }}
@@ -74,21 +127,19 @@

Frameworks

{{ end }} - {{ $jsonURL := "https://scverse.org/ecosystem-packages/packages.json" }} - {{ $remoteData := resources.GetRemote $jsonURL }} - {{ $pkgs := transform.Unmarshal $remoteData.Content }} +

Ecosystem packages maintained by scverse community

{{ $sections.ecosystem | markdownify }}

- {{ if $pkgs }} + {{ if $ecosystem }}
@@ -99,7 +150,7 @@

Ecosystem packages maintained by scverse community

- {{ range $lib := $pkgs }} + {{ range $lib := $ecosystem }}