Idea detail
html_export_url_base
reqlan rq/core_analysis/html_export.rq:648
block
done
Summary
Html export should accept an optional urlBase mount prefix ( for example `/spec` or `/reqlan/spec` ).
When set, page and asset hrefs must be root-relative under that prefix so static hosts resolve correctly whether the directory URL includes a trailing slash.
When omitted, exports keep document-relative hrefs suitable for local folder browsing.
Applies across html_export_internal_links and html_export_graph_links; site embed consumption: spec_html_export.
Often paired with html_export_header_link when the export is mounted under a parent static site.
Navigation
Attributes
| Key | Value |
|---|---|
| implementation | types.rs, html_utils.rs, snapshot.rs, mod.rs, export.ts, export-spec.mts |
| status | done |
| tests | html_export.rs:url_base_and_header_link_produce_root_relative_hrefs, 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 | commands | reqlan rq/cli/cli_package.rq | html_export_url_base |
| references | html_export | reqlan rq/core_analysis/html_export.rq | html_export_url_base |
| references | html_export_internal_links | reqlan rq/core_analysis/html_export.rq | html_export_url_base |
| references | html_export_graph_links | reqlan rq/core_analysis/html_export.rq | html_export_url_base |
| references | html_export_header_link | reqlan rq/core_analysis/html_export.rq | html_export_url_base |
| references | spec_html_export | reqlan rq/site/site.rq | html_export_url_base |
| references | assets | reqlan rq/site/site.rq | html_export_url_base |
Unresolved references
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| None | |||
Local graph
Initialising graph…