Skip to content

Move the gallery to the shared CASOON Pages theme with HTML documentation - #1

Merged
casoon merged 3 commits into
mainfrom
site/casoon-pages
Sep 12, 2026
Merged

casoon merged 3 commits into
mainfrom
site/casoon-pages

Conversation

@casoon

@casoon casoon commented Sep 12, 2026

Copy link
Copy Markdown
Owner

Summary

  • site/ replaces gallery/: Astro project on the shared CASOON Pages theme (site/vendor/pages-theme, gh-pages-template@e3610b7). Start page, showcase with all 10 examples, 404; common CASOON footer with Impressum/Datenschutz.
  • Dogfooding: every chart is rendered at build time with @casoon/chartlet from examples/*.json (the golden-test inputs). Build-time warnings are shown with the example. Charts sit on a light surface because the palette is light-only (dark palette is still planned).
  • docs/: installation, quickstart, guides (chart types, interaction without JS, Astro, accessibility, warnings and errors), reference (specification, CLI options, Rust crate, support matrix – moved from the former support page).
  • CI: the Playwright/axe test moved to site/test; it now derives routes from dist/, runs WCAG 2.2 AA in light and dark theme, forbids external scripts and checks the base path.
  • Workflows: pages.yml and the site step in ci.yml use pnpm; Cargo.toml excludes site/ and docs/ instead of gallery/.
  • README: the gallery section now points to the website and documentation.

Validation

  • pnpm build (25 pages), astro check without findings
  • pnpm exec playwright test: 48 passed (24 pages × light/dark)
  • CASOON Pages site check (same axe rules): clean after the theme fix in gh-pages-template@e3610b7
  • cargo package --list contains no site/ or docs/ files

The changelog page is disabled (changelog: false) because chartlet has no CHANGELOG.md yet.

…tion

- site/: Astro project on @casoon/pages-theme (vendored, gh-pages-template@e3610b7)
  with start page, showcase and 404. Every chart is rendered at build time with
  @casoon/chartlet from the canonical specifications in examples/, on a light
  surface because the palette is light-only.
- docs/: installation, quickstart, guides (chart types, interaction, Astro,
  accessibility, warnings and errors) and reference (specification, CLI, Rust
  crate, support matrix), based on the README and the former support page.
- The accessibility test moves from gallery/ to site/: it now covers every built
  page in light and dark theme and allows only inline theme scripts.
- pages.yml and ci.yml build site/ with pnpm; the crate excludes site/ and docs/.
@casoon
casoon merged commit b8670d3 into main Sep 12, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant