code wiki / (root) / nx_docpub_site.nx

nx_docpub_site.nx

buildroot/runtime/nx_docpub_site.nx

8095 B90 linesdepth 8pulls 14 transitivereach 0 importersview sourcekind tooltopic docpub
docsdependenciesstructsconstsfunctions

about

nx_docpub_site.nx -- R1-scale: the self-generating documentation SITE. Walks a curated set of the arc's organs, renders a REFERENCE page for each from SOURCE (shared nx_docgen_lib render core, DRY #15), and emits a GitBook/ Javadoc-class INDEX landing page (web_assets/docgen/index.html) linking the whole set. This turns the one-page engine into a navigable documentation SITE -- the "self generating live documentation wiki" shape. Sovereign, zero third-party. Gated: all pages generated + index links resolve + a generated page carries real source signatures and zero JS. license_tier: ORIGINAL expect_exit: 0

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_docgen_lib.nx nx_docpub_render.nx nx_docpub_site.nx

imports: nx_syscalls.nxnx_docgen_lib.nxnx_docpub_render.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main dgw sys_write sys_mmap dg_cat dgs_one dg_rdfile sys_openat_rd sys_read sys_close dgw ↻ dg_render dg_cat ↻ sys_mmap ↻ dg_first_doc_line dg_contains dg_catb_esc dg_cat ↻ dpr_atline dpr_matches dpr_isidc sys_mmap ↻ dgs_path dg_cat ↻ dg_writefile sys_openat_wr sys_write ↻ sys_close ↻ dg_first_doc_line ↻ dg_cat ↻ dg_catn sys_mmap ↻ dg_catb_esc ↻ dgn sys_mmap ↻ sys_write ↻ dg_writefile ↻ dgn ↻ dg_contains ↻ dg_rdfile ↻

structs

none

consts

none

functions

11func dgs_path(name: *u8, outpath: *u8) -> i64
called by 1: dgs_one calls 1: dg_cat
21func dgs_one(path: *u8, name: *u8, src: *u8, cap: i64, out: *u8, cnt: *i64, idxbuf: *u8, idxo: i64, pages: *i64) -> i64
40func main() -> i64