Skip to content

About

Official website, documentation, SDK downloads, and interactive Web demos for HuxerUI.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

HuxerUI website

This repository builds the official HuxerUI website and user documentation at huxerui.org. Astro owns the public landing pages and Starlight renders documentation written and maintained in this repository.

Requirements

  • Node.js 22.23.4 or later (Node.js 24 is used in CI)
  • Git
  • Emscripten 4.0.19, CMake, and Ninja only when building interactive Web examples locally

Local development

Install exact dependencies:

npm ci

Run the local development server:

npm run dev

Documentation

User documentation lives under src/content/docs and is organized around the HuxerUI DSL, components, application services, platform integration, and complete public API coverage. Current public headers, executable tests, and examples in HuxerUI/HuxerUI are the evidence for documented behavior. Framework architecture and design notes are not copied into the website.

huxerui-source.json selects the framework repository, ref, and published Web example set.

Releases

scripts/collect-release-data.mjs requests the latest GitHub Release during the build, reads its archive checksums, and writes ignored static data. The resulting page does not call GitHub at browser runtime. Before the first tagged SDK release, the page presents an explicit unpublished state rather than invented download information.

Interactive examples

The Pages deployment builds UI Gallery from the webExamples list in huxerui-source.json. Other examples remain available as source links in the documentation.

scripts/stage-web-examples.mjs copies each HTML, ES module, Wasm binary, and optional resource payload into its own ignored public/demos/<name> directory. The Examples page loads UI Gallery. The home page shows a screenshot of the gallery and does not load the WebAssembly application. The deployment resolves the repository and ref selected by huxerui-source.json into .cache/huxerui; this source checkout is used only to build the interactive examples.

To stage an existing local Web build:

$env:HUXERUI_WEB_BUILD_DIR = "D:\path\to\huxerui-web-build"
npm run stage:examples

Validation and deployment

npm run check
npm run build
npm run check:links

validate.yml checks every website change. deploy.yml builds the selected HuxerUI Web examples, validates the site, and deploys the dist artifact through GitHub Pages Actions. No gh-pages branch content is maintained manually.

Updating the framework revision

Audit the candidate with npm run audit:revision -- /path/to/HuxerUI. Review changed header owners, public member contracts and selected examples before pinning huxerui-source.json. Update user-facing content and scripts/api-coverage.mjs, then record the reviewed headers with --record-header-review. The tracked scripts/api-review.json catches any later header change, including additions inside an existing header; its hashes are review signals, not an automatic API classification.

Complete C++ fences use compile="id"; explanatory fences use fragment. Add module to a complete import-based unit. Module units are compiled with the pinned modules/huxerui.cppm and the selected MSVC std module, separately from C++20 header examples. Deployment requires both profiles.

The documentation version notice identifies the source revision. Release metadata is refreshed during checks/builds, and the download page can report an older released SDK than this development manual. Keep source build instructions and the explicit platform verification boundaries current.

About

Official website, documentation, SDK downloads, and interactive Web demos for HuxerUI.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages