This file defines the canonical source for each type of fact in the
pg_trickle documentation. When facts are duplicated across files, the canonical
source is the one to update first; other files should cross-link rather than
reproduce the content.
Explains what is documented here vs. GUC_CATALOG.md.
Rule: If you add or rename a GUC in src/config.rs, run python3 scripts/gen_catalogs.py to regenerate GUC_CATALOG.md. Then add a narrative entry in CONFIGURATION.md if it is operator-visible.
Rule: When a function is renamed in Rust, use name = "..." in the #[pg_extern] attribute so the SQL name is preserved. Regenerate SQL_API_CATALOG.md and update any doc references.
Run these scripts before merging any documentation PR:
python3 scripts/gen_catalogs.py --check # catalogs are up to date
python3 scripts/check_docs_truth.py # no stale API/GUC references
python3 check_links.py # no broken links
just fmt # code formatted
just lint # clippy passes
The check_docs_truth.py script compares all pg_trickle.XXX and
pgtrickle.XXX() references in the docs against the generated catalogs.
Unknown references must either be fixed or added to the allowlist in
scripts/check_docs_truth_allowlist.yml with a justification comment.
This file is maintained by hand. If you change the doc structure, update the
canonical source table here.