Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/hugo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/playground.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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: |
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -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
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -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=
10 changes: 10 additions & 0 deletions hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
10 changes: 4 additions & 6 deletions layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<meta name="description" content="{{ .Site.Params.description }}">
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
{{ partial "styles.html" . }}
{{ partial "btn-try-style.html" . }}
</head>
<body class="lm">
<header class="nav"><div class="wrap">
Expand All @@ -19,11 +20,8 @@
<div class="hero"><div class="wrap">
<div>
<h1 class="head">NumPy-style n-dimensional arrays in pure Go.<br><span class="accent">13 dtypes, multicore + SIMD.</span></h1>
<p class="sub"><b>go-ndarray</b> is the <code>numpy</code> equivalent for Go: an n-dimensional array in <b>13 dtypes</b> with creation routines, <b>strided views that share data</b>, broadcasting elementwise ops and ufuncs, reductions (incl. arg / cumulative / clip / where), manipulation, linear algebra (a panel-packed, cache-blocked GEMM, and <code>numpy.linalg</code>), <code>numpy.fft</code> and <code>numpy.random</code> — all in <b>pure Go, with cgo disabled</b>.</p>
<div class="cta">
<a class="btn btn-primary" href="https://go-ndarray.github.io/docs/">{{ partial "icons/book.html" . }}Read the documentation →</a>
<a class="btn btn-primary" href="/playground/">{{ partial "icons/play.html" . }}Try it in your browser</a>
</div>
<p class="sub"><b>go-ndarray</b> is the <code>numpy</code> equivalent for Go: an n-dimensional array in <b>13 dtypes</b> with creation routines, <b>strided views that share data</b>, broadcasting elementwise ops and ufuncs, reductions (incl. arg / cumulative / clip / where), manipulation, linear algebra (a panel-packed, cache-blocked GEMM, and <code>numpy.linalg</code>), <code>numpy.fft</code> and <code>numpy.random</code>{{ if not (partial "mantra-on.html" .) }} — all in <b>pure Go, with cgo disabled</b>{{ end }}.</p>
{{ partial "cta.html" . }}
<div class="trust"><span><b>{{ len .Site.Params.families }}</b> API families, NumPy's names</span><span><b>6</b> SIMD targets</span><span><b>CGO=0</b> no BLAS shim</span></div>
</div>
{{/* Lines taken verbatim from the Example section of go-ndarray/ndarray's README at v0.2.2. */}}
Expand Down Expand Up @@ -134,6 +132,6 @@ <h2>The cgo-free ndarray the Go and Ruby ecosystems lacked.</h2>
</div>
</div></section>

<footer><div class="wrap"><span>go-ndarray · <a href="https://github.com/go-ndarray">go-ndarray on GitHub</a> · BSD-3-Clause</span><span>Pure Go · CGO_ENABLED=0 · no BLAS shim</span></div></footer>
<footer><div class="wrap"><span>go-ndarray · <a href="https://github.com/go-ndarray">go-ndarray on GitHub</a>{{ if not (partial "mantra-on.html" .) }} · BSD-3-Clause{{ end }}</span>{{ if not (partial "mantra-on.html" .) }}<span>Pure Go · CGO_ENABLED=0 · no BLAS shim</span>{{ end }}</div></footer>
</body>
</html>
Loading