Commit Graph

292 Commits

Author SHA1 Message Date
Sylvestre Ledru 72f388d99b Add Review Guidelines page and link it in the nav 2026-05-30 10:24:06 +02:00
Sylvestre Ledru 746f8e1789 Add Review Guidelines page and link it in the nav 2026-05-30 10:00:23 +02:00
Sylvestre Ledru bb8a4dc97d Add shadow-rs project page 2026-05-30 09:54:48 +02:00
Sylvestre Ledru 98c6ab23b1 Merge pull request #51 from xtqqczze/patch-1
Hide `true` and `false` from the playground command list
2026-05-29 11:23:45 +02:00
Sylvestre Ledru c037b4553e Show uutils.github.io build commit on the playground page
Alongside the coreutils WASM commit, record the website repo's
commit/date in version.js (SITE_VERSION) and display it next to
the existing build info on the playground.
2026-05-29 10:58:06 +02:00
xtqqczze f25d426b95 Hide true and false from the playground command list
`true` and `false` ship in the WASM binary, but are not a useful demonstration because they produce no output and there is no facility to check exit code in the playground.
2026-05-24 02:25:20 +01:00
Sylvestre Ledru c8e78040fe Hide yes from the playground command list
`yes` ships in the WASM binary but its infinite output just spams the
terminal, so filter it out of the generated WASM_COMMANDS list. Done
in the workflow so a single regex covers both autocomplete/help (via
AVAILABLE_COMMANDS) and the rendered prose section.
2026-05-13 08:45:22 +02:00
Sylvestre Ledru 27435ba3dc Fix id collision between commands placeholder and section heading
Zola auto-generates id="available-commands" on the "Available commands"
<h2>. The placeholder <p> shared that id, so getElementById matched the
heading first and the populate-from-WASM_COMMANDS script ended up
overwriting the heading text — rendering the command list at h2 size.
Rename the placeholder to a non-colliding id.
2026-05-13 08:43:16 +02:00
Sylvestre Ledru bf07dc3dc3 Populate playground's "Available commands" list from WASM_COMMANDS
Replaces the hand-maintained inline-code list in playground.md with
a placeholder that the page script fills from the build-generated
WASM_COMMANDS, so the prose section stays in sync with the actual
feat_wasm contents of the WASM binary.
2026-05-13 08:16:53 +02:00
Sylvestre Ledru c5907a4b59 Generate playground command list from coreutils feat_wasm
Previously the list of WASM-bundled utilities was hardcoded in
wasm-terminal.js and playground.md, which drifted from the actual
feat_wasm feature in coreutils/Cargo.toml (e.g. dd, tty, yes were
missing). The website workflow now parses feat_wasm at build time
and emits static/wasm/commands.js, which the terminal prefers over
its built-in fallback list.
2026-05-13 08:13:39 +02:00
renovate[bot] 7ef8b73d84 Update actions/upload-pages-artifact action to v5 2026-04-14 07:11:38 +02:00
Sylvestre Ledru 5fedd124b0 Update link for Ubuntu's adoption of uutils coreutils
Closes: #49
2026-04-13 13:27:39 +02:00
Sylvestre Ledru 0ab3699bcc Add playground section to README 2026-04-13 09:32:42 +02:00
Sylvestre Ledru 52600ea55c Fix French arch --help test to match current translation
The coreutils-l10n translation uses the infinitive 'Afficher' rather
than 'Affiche', causing the test to fail in CI.
2026-04-13 09:19:15 +02:00
Sylvestre Ledru 7131cf384a Fix YAML indentation in website workflow heredoc
The heredoc body for version.js was at column 0 while the surrounding
run block is indented 10 spaces, causing YAML to terminate the block
scalar and fail with 'Invalid workflow file' at line 146. Replace the
heredoc with a grouped echo block that respects the block indentation.
2026-04-13 09:17:26 +02:00
Sylvestre Ledru d843e3d2c2 Show uutils commit hash and date on playground page
Emit a version.js alongside the WASM binary in CI recording the
coreutils commit used for the build, and display it under the
terminal with a link to the commit on GitHub.
2026-04-13 09:02:41 +02:00
Sylvestre Ledru 834f710c0f fix typos 2026-04-05 09:48:25 +02:00
Sylvestre Ledru b9f48cf0df fix typos 2026-04-05 09:41:29 +02:00
Sylvestre Ledru 19abaf2af8 Add link to GitHub source on playground page 2026-04-04 23:35:44 +02:00
Sylvestre Ledru f19bbc82d9 rename the page 2026-04-04 23:32:36 +02:00
Sylvestre Ledru e64308bb0b Strip legacy FA4 class from uudoc-generated platform icons
mdbook 0.5's built-in Font Awesome parser sees the legacy `fa` class
that uudoc emits and defaults to type=regular, failing to find
linux/windows/apple (which live under `brands`) and spamming hundreds
of WARN lines per build. Drop the `fa ` prefix between uudoc and
mdbook build for both English and translated docs.
2026-04-04 23:16:11 +02:00
Sylvestre Ledru c8c195ed63 Fix French arch --help test assertion
Upstream coreutils-l10n updated the French translation of arch-about
from "Afficher l'architecture de la machine" to "Affiche l'architecture
de la machine", which was causing the WASM terminal test to fail in CI.
2026-04-04 23:09:59 +02:00
Sylvestre Ledru c7f75bfccb Merge pull request #45 from uutils/renovate/shalzz-zola-deploy-action-0.x
Update shalzz/zola-deploy-action action to v0.22.1
2026-04-04 22:56:41 +02:00
renovate[bot] 51dffbc8a8 Update shalzz/zola-deploy-action action to v0.22.1 2026-04-04 20:23:51 +00:00
Sylvestre Ledru 886625f9da add static/wasm/ to .gitignore 2026-04-04 13:04:04 +02:00