nx_doc_inref.nx
buildroot/runtime/nx_doc_inref.nx
about
nx_doc_inref.nx -- incoming-reference counter for substrate docs.
For each doc, counts how many OTHER docs contain a [[doc-name]]
reference to it. Surfaces top-N most-referenced docs as data-
driven V2 backfill priority targets.
Composes nx_grep + nx_string_ops + nx_dir + nx_doc_census walker
pattern. Substrate's first OPERATIONAL doc-graph analysis
primitive -- moves beyond aggregate compliance to substrate-aware
"which docs MATTER" visibility.
**Quadrant:** REFERENCE (Diátaxis)
**Topic Type:** REFERENCE (DITA)
**Status:** DRAFT
**Trust State:** WRITTEN_UNTESTED
**Competitive State:** UNCLASSIFIED
dependencies 5 imports · 1 importers
imports: nx_syscalls.nxnx_string_ops.nxnx_dir.nxnx_grep.nxnx_grep_rt.nx
imported by: nx_doc_inref_test.nx
structs
| 61 | struct NxInrefContents |
consts
| none |
functions
| 27 | func nx_doc_build_inref_pattern( called by 1: main |
| 66 | func nx_doc_count_inref_across_docs( |
| 87 | func nx_doc_should_skip_self( called by 1: main |