The landing page for Almide, served at https://almide.github.io/.
Plain HTML and CSS, no build step. A small optional script remembers the colour scheme; every page and language link works without JavaScript.
The layout follows the O6lvl4 portfolio: JetBrains Mono, a compact evidence panel, and clear navigation. Almide retains its original teal/green palette in both light and dark modes.
| Path | What |
|---|---|
index.html |
English page |
ja/index.html |
Japanese page |
zh/index.html |
Simplified Chinese page (zh-Hans) |
story/index.html, ja/story/index.html, zh/story/index.html |
Development history in all three languages |
site.js |
Optional theme preference and section-aware language switching |
style.css |
Shared styles (light and dark) |
favicon.svg |
Logo, same file as the docs site |
fonts/ |
Self-hosted JetBrains Mono (SIL OFL 1.1; license included), with the existing Geist fonts retained |
Every technical statement on the page is taken from the compiler repository. When one of these changes, the page changes with it:
- The evidence counts in the hero (theorems, certified programs, standard library functions and Wasm size) and the commit they are dated to. The certified count is the header of
crates/almide-wasm/tests/golden/witness-fixtures.txt. The Rust count is the header ofproofs/native-verified-floor.txt. The corpus size is the number of.almdfiles inspec/wasm_cross/. Read all three fromorigin/develop, not from a working branch. The theorem count is the number ofTheorem,LemmaandCorollarystatements inproofs/*.v; it is only quoted whileAdmittedandAxiomboth count zero there. - The diagnostics in section 05 are real compiler output (
almide check,almide fix). - The code sample in section 02 must pass
almide checkand print the shown output withalmide run --target wasm. - Section 06 mirrors
docs/contracts/proven-vs-trusted.mdanddocs/design/MEMORY-SAFETY.md.
Open index.html in a browser, or serve the repository with any static HTTP server.
npm ci
npm test
npx playwright install chromium
npm run verifyThe dependency-free static tests check all six pages, metadata, local links and assets, preserved Chinese code examples, and theme controls with unavailable storage. Browser verification checks eight widths (320, 360, 375, 390, 740, 768, 1024 and 1440 px) in both themes, JavaScript-disabled navigation, missing assets, theme persistence, language switches, section anchors and Back/Forward. Screenshots are written to test-results/. Set CHROMIUM_PATH to use an existing Chromium executable.
The Verify website workflow runs these checks on pull requests and pushes to main, and keeps screenshots as an artifact. GitHub Pages continues to publish the static root from main; this workflow does not change the deployment source.
When editing shared navigation or content, update English, Japanese and Simplified Chinese together. Language links keep the corresponding Home or Story route, and home-page section anchors stay the same across languages.
On phones, navigation stays visible at readable sizes and scrolls with the page, so a fixed header does not cover the article. Small screens use full-width primary links and single-column evidence rows. Diagrams remain horizontally scrollable instead of shrinking their labels, with localized swipe hints and keyboard focus. Stacked comparison rows repeat their column labels.