Idea detail
spec_html_export
reqlan rq/site/site.rq:27
Summary
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`.
Navigation
Attributes
| Key | Value |
|---|---|
| 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 |
Ancestor context
No ancestor chain recorded.
Outbound references
Inbound references
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| references | html_export_header_link | reqlan rq/core_analysis/html_export.rq | spec_html_export |
| references | html_export_url_base | reqlan rq/core_analysis/html_export.rq | spec_html_export |
| references | site_distribution | reqlan rq/distribution/distribution.rq | spec_html_export |
| references | simple_lightweight_and_static | reqlan rq/site/site.rq | spec_html_export |
| references | assets | reqlan rq/site/site.rq | spec_html_export |
Unresolved references
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| None | |||
Local graph
Initialising graph…