diff --git a/AGENTS.md b/AGENTS.md index 3026156..cb41f00 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -32,6 +32,7 @@ thor/ ├── treesitter/ # FFI types + grammar management (standalone package) ├── markdown/ # Content transformation pipeline (imports ../treesitter) ├── mustache/ # Template engine with lambdas + pipe filters + diagnostics +├── diagnostics/ # Shared diagnostic utilities (suggest_correction) ├── content.odin # Page struct, Pending_File, scan_content_files, collect_languages, load_page ├── render.odin # Template rendering, Template_Context, sort_pages, RSS, sitemap ├── menus.odin # Menu_Entry, DEFAULT_WEIGHT, build_menus, collect_auto_menus, merge_page_menus, parse_page_menus, parse_config_menus @@ -82,6 +83,7 @@ thor/ | | `deflists.odin` | `convert_deflists` — pre-cmark pass. Scans for definition list patterns (`term\n\n: definition`) and converts to `
` HTML blocks. Terms and definitions rendered through cmark individually for inline markdown. Consecutive pairs grouped into single `
`. | | | `toc.odin` | `generate_toc(html, allocator)` — page-level feature (not a pipeline extension). Scans `

`-`

` for IDs (after `inject_heading_ids`), builds nested `