diff --git a/.github/workflows/hugo.yml b/.github/workflows/hugo.yml index 0a9c69d..d89a542 100644 --- a/.github/workflows/hugo.yml +++ b/.github/workflows/hugo.yml @@ -71,6 +71,13 @@ jobs: --minify \ --baseURL "${{ steps.pages.outputs.base_url }}/" + # The landing kit's own rules, read from the BUILT site (a hand-written + # cta row, a playground link that is not btn-try, a fact said twice). + - name: Check the landing against the kit + env: + GOWORK: "off" + run: go run github.com/go-fleettools/landingkit/cmd/landingkit check public + - name: Upload artifact uses: actions/upload-pages-artifact@v5 with: diff --git a/go.mod b/go.mod index c115b7e..ec81a97 100644 --- a/go.mod +++ b/go.mod @@ -1,5 +1,5 @@ module github.com/go-scikit/go-scikit.github.io -go 1.27.3 +go 1.27.4 -require github.com/go-fleettools/landingkit v0.20.0 +require github.com/go-fleettools/landingkit v0.26.0 diff --git a/go.sum b/go.sum index 8c8b6ee..465168d 100644 --- a/go.sum +++ b/go.sum @@ -1,2 +1,4 @@ github.com/go-fleettools/landingkit v0.20.0 h1:gX+9LvgfxD1LW6igdQD05DegqIIkvDO5QSotCAPgj3Q= github.com/go-fleettools/landingkit v0.20.0/go.mod h1:gBpbziqFcmcjtNknPjy5+AAzGZ5L+pPr9mIJZHpDlZc= +github.com/go-fleettools/landingkit v0.26.0 h1:X5H3KbnruK9NdK4m2zhUrBFh1Tq4ySnVNUVNNwhrSZk= +github.com/go-fleettools/landingkit v0.26.0/go.mod h1:jSXTO7FVKNXCK1aJjLq7H7x8d8wxDoXe3ncXWGcAKRE= diff --git a/hugo.toml b/hugo.toml index 27e148c..2c9f280 100644 --- a/hugo.toml +++ b/hugo.toml @@ -22,6 +22,18 @@ disableKinds = ['taxonomy', 'term', 'rss', 'sitemap', '404'] [params] description = "go-scikit: the scientific stack for Go, in pure Go (CGO=0). N-dimensional arrays and NumPy's random numbers, FFTs, optimisation, integration and special functions, probability and statistics, labelled tables, figures and compiled, reactive notebooks, each measured against its Python reference." +# The hero's buttons, rendered by landingkit's cta.html in the kit's order. +# No [params.mantra] goarch: this umbrella repository holds no library, so it +# has no test matrix to read; the member organisations carry their own lines. +[[params.cta]] + kind = "docs" + href = "#start" + label = "Write a first notebook →" +[[params.cta]] + kind = "link" + href = "#orgs" + label = "The organisations" + # One entry per member organisation, the established ones and those of the # parity plan alike: the cards in #orgs, the strip under the hero, the stack # diagram in #stack and the ci check that the page names every organisation diff --git a/layouts/index.html b/layouts/index.html index e14afb8..d72754b 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -31,12 +31,10 @@

Science in Go,
{{/* The sheet's .accent paints with --grad, base to deep: on a dark page this logo's dark slate stops would vanish. --accent and --accent-deep are the same two in light and the bright stop in dark. */}}all the way down.

-

go-scikit is the umbrella over {{ len $orgs }} organisations that together cover what a Python notebook reaches for in NumPy, SciPy, pandas and matplotlib: arrays, FFTs, numerical methods, statistics, labelled tables, figures and notebooks, and, on the way to parity with MATLAB and Mathematica, sparse matrices, interpolation, signal processing and arbitrary precision. Pure Go, CGO=0, and each library measured against its reference, with the documents that say where it is slower or less accurate. A notebook's cells can be Go or Ruby, one cell reading what the other computed. julia cells are planned on go-embedded-julia (plan).

-
- Write a first notebook → - {{ partial "icons/book.html" . }}The organisations -
-
{{ len $orgs }} organisationsGo and Ruby cellsCGO=0 everywhereBSD-3-Clause
+

go-scikit is the umbrella over {{ len $orgs }} organisations that together cover what a Python notebook reaches for in NumPy, SciPy, pandas and matplotlib: arrays, FFTs, numerical methods, statistics, labelled tables, figures and notebooks, and, on the way to parity with MATLAB and Mathematica, sparse matrices, interpolation, signal processing and arbitrary precision.{{ if not (partial "mantra-on.html" .) }} Pure Go, CGO=0,{{ end }} Each library is measured against its reference, with the documents that say where it is slower or less accurate. A notebook's cells can be Go or Ruby, one cell reading what the other computed. julia cells are planned on go-embedded-julia (plan).

+ {{/* [[params.cta]] in hugo.toml: the kit renders the row */}} + {{ partial "cta.html" . }} +
{{ len $orgs }} organisationsGo and Ruby cells{{ if not (partial "mantra-on.html" .) }}CGO=0 everywhereBSD-3-Clause{{ end }}
first.md
@@ -150,6 +148,6 @@

One stack, {{ len $orgs }} organisations.

- +