code wiki / _hdl_build / nx_site_migrate.nx
nx_site_migrate.nx
buildroot/runtime/_hdl_build/nx_site_migrate.nx
about
nx_site_migrate.nx -- CLOSE the migration loop: foreign site -> import (nx_site_import) -> our blueprint -> REBUILD
through the branded builder. The rebuilt site is SOVEREIGN (0 JS), token-driven, and ACCESSIBLE by construction
(lang/title/viewport/landmarks/44px targets/focus-visible from wb_doc_open_branded + header/footer) -- so we don't
just migrate a lock-in site, we IMPROVE it. REUSE: nx_site_import (mi_find_from), nx_web_builder, nx_brand_tokens.
license_tier: ORIGINAL
dependencies 4 imports · 1 importers
imports: nx_syscalls.nxnx_site_import.nxnx_web_builder.nxnx_brand_tokens.nx
imported by: nx_site_migrate_gate.nx
structs
| none |
consts
| 10 | const K_MAGIC_4096: i64 = 4096 |
| 11 | const K_MAGIC_4095: i64 = 4095 |
| 12 | const K_MAGIC_262144: i64 = 262144 |
| 13 | const K_MAGIC_262143: i64 = 262143 |
functions
| 16 | func mig_field(bp: *u8, n: i64, key: *u8, out: *u8, cap: i64) -> i64 |
| 29 | func mig_rebuild(bp: *u8, n: i64, brand: *u8, blen: i64, fd: i64) -> i64 |