code wiki / _hdl_build / nx_sitegen_studio.nx
nx_sitegen_studio.nx
buildroot/runtime/_hdl_build/nx_sitegen_studio.nx
about
nx_sitegen_studio.nx -- the sovereign WYSIWYG STUDIO library (no main; the daemon + the gate import it).
se_build_site = the /build endpoint logic: take a posted (UNTRUSTED) .site blueprint, parse + build it
through the GOVERNED sovereign engine (nx_sitegen_parse + nx_sitegen, which escape every field and refuse
non-UX-compliant pages), and return the built HTML in a buffer. This is what the editor's thin JS POSTs to
for its live preview -- the build is ALWAYS the sovereign organ, never JS. se_editor_html = serve the
editor client (web_assets/_studio/editor.html). license_tier: ORIGINAL
dependencies 3 imports · 5 importers
imports: nx_sitegen_parse.nxnx_sitegen.nxnx_syscalls.nx
imported by: nx_sitegen_blocks_gate.nxnx_sitegen_studio_gate.nxnx_studio_exceed_gate.nxnx_studio_tiers.nxnx_studio_tiers_gate.nx
structs
| none |
consts
| 10 | const K_MAGIC_131072: i64 = 131072 |
functions
| 12 | func st_slurp(path: *u8, buf: *u8, cap: i64) -> i64 |
| 31 | func se_build_site(blob: *u8, n: i64, out: *u8, cap: i64) -> i64 |
| 49 | func se_editor_html(out: *u8, cap: i64) -> i64 |