Printable idea sheet
spec_html_export
reqlan rq/site/site.rq:27
Katz 0.142
The site static build exports the workspace requirement graph ( excluding `*.secret.rq` ) under `out/spec/` via `reqlan export`.
It must pass html_export_url_base for `/spec` ( honouring `SITE_BASE_PATH`, e. g. `/reqlan/spec` in production ) so `/spec` loads with or without a trailing slash.
It must pass html_export_header_link pointing at the marketing site home so readers can leave the embedded spec and return to the parent site.
Embedded `/spec` graph pages inherit html_export_graph_background_load so large workspace graphs do not freeze the page while settling.
Pipeline: build-static.mts → export-spec.mts → verify-static-export.mts.
Host options come from html_export / CLI commands, including native CLI export via native_bridge.
CI must build / stage host `reqlan-napi` before this pipeline ( site_distribution ); the loader probes repo-root `crates/target`, not `packages/crates`.
- implementation
- export-spec.mts, verify-static-export.mts, build-static.mts, deploy-site.yml, load-native.ts, native-analysis-api.ts, types.rs, api.rs
- status
- done
- tests
- verify-static-export.mts, native-export-request.test.ts, load-native.test.ts, native-packaging.test.ts, export.rs:html_export_honours_graph_page_url_base_and_header_link
Interactive page: spec_html_export