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
4 changes: 4 additions & 0 deletions .github/workflows/links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,7 @@ jobs:
env:
GOWORK: "off"
run: go run github.com/go-fleettools/landingkit/cmd/landingkit links public
- name: Say the mantra once, and the row from the kit
env:
GOWORK: "off"
run: go run github.com/go-fleettools/landingkit/cmd/landingkit check public
2 changes: 1 addition & 1 deletion example/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/go-notebook/go-notebook.github.io/example

go 1.27.3
go 1.27.4

tool github.com/go-notebook/notebook/cmd/notebook

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-notebook/go-notebook.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.36.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.36.0 h1:DGYv415snXyLY+usOuBKLgLrOiDF6lEtzvnVvsJULNg=
github.com/go-fleettools/landingkit v0.36.0/go.mod h1:jSXTO7FVKNXCK1aJjLq7H7x8d8wxDoXe3ncXWGcAKRE=
18 changes: 18 additions & 0 deletions hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,24 @@ disableKinds = ['taxonomy', 'term', 'rss', 'sitemap', '404']
[params]
description = "go-notebook: Go notebooks with native speed, kept values and a reproducible order. A notebook is a Markdown file whose go blocks (and ruby blocks, on a pure-Go Ruby) are cells; the kernel compiles it, orders the cells by what they use, and runs only what changed."

# The strip under the top bar: the kit's two chips (CGO_ENABLED=0, then the
# licence) and, under them, "Tested on": only the architectures CI RUNS the
# tests on. notebook and playground ci.yml: amd64 (ubuntu, windows), arm64
# (macos, ubuntu-arm) and riscv64, loong64, ppc64le, s390x under qemu. Targets
# that are only cross-compiled (386, arm, mips...) are not listed.
[params.mantra]
goarch = ["amd64", "arm64", "riscv64", "loong64", "ppc64le", "s390x"]

# The hero's buttons, rendered by landingkit's cta.html in the kit's order.
[[params.cta]]
kind = "docs"
href = "https://go-notebook.github.io/docs/"
label = "Read the documentation →"
[[params.cta]]
kind = "try"
href = "/playground/"
label = "Try it in your browser"

# The hero's carousel (the landing kit's hero-carousel.html). The first card
# is layouts/partials/hero-terminal.html, the second hero-terminal-ruby.html:
# example/waits.md and what running it printed, checked by the ci workflow.
Expand Down
7 changes: 3 additions & 4 deletions layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,9 @@
<div>
<h1 class="head">Go notebooks, compiled and reactive.<br><span class="accent">Native speed, kept values, a reproducible order.</span></h1>
<p class="sub">A <b>notebook is a Markdown file</b> whose <code>```go</code> blocks are cells. The kernel <b>compiles it</b> into a real Go program, <b>orders the cells by what they use</b> — worked out from the code itself, as marimo does for Python, not from the order you ran them in — and <b>runs only what changed</b>. A cell whose code and inputs did not change keeps its result, and its values are handed over instead of being computed again, across rebuilds and across runs.</p>
<div class="cta">
<a class="btn btn-primary" href="https://go-notebook.github.io/docs/">{{ partial "icons/book.html" . }}Read the documentation →</a>
<a class="btn btn-try" href="/playground/">{{ partial "icons/browser.html" . }}Try it in your browser</a>
</div>
{{/* [[params.cta]] in hugo.toml: the kit renders the row (docs, then the
red btn-try with its icon). */}}
{{ partial "cta.html" . }}
<div class="trust"><span><b>{{ len .Site.Params.rules }}</b> cell rules, checked from the syntax</span><span><b>.md</b> diffs are diffs of text</span><span><b>100%</b> test coverage</span></div>
</div>
{{/* The hero's cards, [params.hero] in hugo.toml: the README's notebook
Expand Down
2 changes: 1 addition & 1 deletion playground/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/go-notebook/go-notebook.github.io/playground

go 1.27.3
go 1.27.4

require github.com/go-notebook/playground v0.16.0

Expand Down
Loading