Improve documentation to mention new Civet features#53
Conversation
Greptile SummaryThis PR significantly expands the Hera documentation to cover Civet (and TypeScript) as first-class handler languages, adding new sections on CJS/ESM loaders, the esbuild plugin, VS Code/LSP configuration, and a full API + Options reference. It also fixes a long-standing typo ("programatic" → "programmatic") and adds a missing Key changes:
Confidence Score: 4/5Safe to merge after fixing the syntax error in the Civet CJS code example. Changes are documentation-only with no impact on runtime code. The content is accurate and well-structured. One P1 issue exists: the newly added Civet CJS snippet contains README.md — the Civet CJS custom-loader example (around line 430) has a syntax error that should be corrected before merge. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[.hera grammar file] --> B{Handler language?}
B -->|javascript| C[register / register/esm / register/cjs]
B -->|typescript| D[register/tsc / register/tsc/esm / register/tsc/cjs]
B -->|civet| E[register/civet / register/civet/esm / register/civet/cjs]
C --> F[Node.js --require / --import]
D --> F
E --> F
A --> G{Build tool?}
G -->|esbuild| H["heraPlugin({ language })"]
H --> I[Bundle output]
A --> J{Editor tooling?}
J -->|VS Code / LSP| K["hera.language setting"]
K --> L[Syntax highlighting + diagnostics]
Reviews (1): Last reviewed commit: "Improve documentation to mention new Civ..." | Re-trigger Greptile |
|
I don't think the language toggle is hooked up yet but I plan to soon |
No description provided.