diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b825e03..d20b21f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,6 +25,13 @@ jobs: hugo-version: "0.169.0" extended: true - run: hugo --minify + # The kit's own check on the built page: the hero's button row must be the + # kit's cta.html (docs primary, try red, in the kit's order), and nothing + # the mantra strip says may be repeated beside it. + - name: landingkit check + env: + GOWORK: "off" + run: go run github.com/go-fleettools/landingkit/cmd/landingkit check public # A page that builds and says nothing is a page nobody notices is empty. - name: every repository is on it run: | diff --git a/.github/workflows/hugo.yml b/.github/workflows/hugo.yml index b6e2cab..4524633 100644 --- a/.github/workflows/hugo.yml +++ b/.github/workflows/hugo.yml @@ -61,7 +61,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v7 with: - go-version: "1.27.3" + go-version: "1.27.4" cache-dependency-path: | playground/go.sum playground/rubywasm/go.sum diff --git a/.github/workflows/playground.yml b/.github/workflows/playground.yml index cfcbe56..e9ac5c6 100644 --- a/.github/workflows/playground.yml +++ b/.github/workflows/playground.yml @@ -43,7 +43,7 @@ jobs: - uses: actions/checkout@v7 - uses: actions/setup-go@v7 with: - go-version: "1.27.3" + go-version: "1.27.4" cache-dependency-path: playground/go.sum - uses: actions/setup-node@v7 with: @@ -78,7 +78,7 @@ jobs: - uses: actions/checkout@v7 - uses: actions/setup-go@v7 with: - go-version: "1.27.3" + go-version: "1.27.4" cache-dependency-path: playground/go.sum - name: install the guards run: | @@ -103,7 +103,7 @@ jobs: - uses: actions/checkout@v7 - uses: actions/setup-go@v7 with: - go-version: "1.27.3" + go-version: "1.27.4" cache-dependency-path: | playground/go.sum playground/rubywasm/go.sum diff --git a/go.mod b/go.mod index 163da6b..11c1f58 100644 --- a/go.mod +++ b/go.mod @@ -1,5 +1,5 @@ module github.com/go-ndarray/go-ndarray.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.21.0 diff --git a/go.sum b/go.sum index 8c8b6ee..d7a658b 100644 --- a/go.sum +++ b/go.sum @@ -1,2 +1,2 @@ -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.21.0 h1:fcg3aS5pTvzzR+ht/LcKY7SXeFW+6PMYvB7TODmzL1c= +github.com/go-fleettools/landingkit v0.21.0/go.mod h1:jSXTO7FVKNXCK1aJjLq7H7x8d8wxDoXe3ncXWGcAKRE= diff --git a/hugo.toml b/hugo.toml index 3e74ebb..3714f19 100644 --- a/hugo.toml +++ b/hugo.toml @@ -24,6 +24,16 @@ disableKinds = ['taxonomy', 'term', 'rss', 'sitemap', '404'] [params] description = "go-ndarray is a pure-Go (CGO=0) NumPy-style n-dimensional array library in 13 dtypes — slicing/views, broadcasting, ufuncs, reductions, numpy.linalg, numpy.fft and numpy.random (NumPy's numbers for the same seed), multicore + SIMD on amd64, arm64, ppc64le, loong64, riscv64 and s390x, with a Workspace arena for loops." +# The hero's buttons: rendered by the kit's cta.html, in the kit's order. +[[params.cta]] + kind = "docs" + href = "https://go-ndarray.github.io/docs/" + label = "Read the documentation →" +[[params.cta]] + kind = "try" + href = "/playground/" + label = "Try it in your browser" + [[params.repos]] name = "ndarray" kind = "library · v0.38.1" diff --git a/layouts/index.html b/layouts/index.html index 83052ab..d32be7d 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -7,6 +7,7 @@ {{ partial "styles.html" . }} +{{ partial "btn-try-style.html" . }}
go-ndarray is the numpy equivalent for Go: an n-dimensional array in 13 dtypes with creation routines, strided views that share data, broadcasting elementwise ops and ufuncs, reductions (incl. arg / cumulative / clip / where), manipulation, linear algebra (a panel-packed, cache-blocked GEMM, and numpy.linalg), numpy.fft and numpy.random — all in pure Go, with cgo disabled.
go-ndarray is the numpy equivalent for Go: an n-dimensional array in 13 dtypes with creation routines, strided views that share data, broadcasting elementwise ops and ufuncs, reductions (incl. arg / cumulative / clip / where), manipulation, linear algebra (a panel-packed, cache-blocked GEMM, and numpy.linalg), numpy.fft and numpy.random{{ if not (partial "mantra-on.html" .) }} — all in pure Go, with cgo disabled{{ end }}.