docs(api): align examples with exported signatures#48
Conversation
|
@KimHyeongRae0 is attempting to deploy a commit to the Cytonic Team on Vercel. A member of the Team first needs to authorize it. |
Greptile SummaryThis PR updates the API reference and feature docs to match the current synchronous, config-based function signatures, replacing the old URL/HTML async patterns that no longer reflect the exported package API.
Confidence Score: 5/5Documentation-only change; no runtime code is modified. Every updated function call site was verified against the actual TypeScript source: argument order, synchronous vs. async, parameter types, and return-type field names all match. No files require special attention. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A["resolveConfig(partialConfig)"] --> B["ResolvedAeoConfig"]
B --> C["auditSite(config)"]
B --> D["scoreSiteCitability(config)"]
B --> E["generateSchemaObjects(config)"]
B --> F["generateReport(config)"]
C --> G["AuditResult"]
D --> H["SiteCitabilityResult"]
G & H --> I["generatePlatformHints(audit, citability)"]
E --> J["SchemaOutput"]
J --> K["generateJsonLdScript(schemas)"]
B --> L["generateOGTags(page, config)"]
B --> M["generateOGTagsHtml(page, config)"]
Reviews (3): Last reviewed commit: "docs(schema-og): declare programmatic ap..." | Re-trigger Greptile |
|
Thanks @KimHyeongRae0 — keeping API docs aligned with the exported signatures is exactly the kind of paper-cut work that compounds well. No findings from Greptile or my read. Ready to merge once the other queue is cleared. |
|
Sounds good, thanks. |
Summary
Validation
git diff --check main..HEADnpm run build