mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
b6f206dde0
* automate doc generation * write files * Actually write files * update docs (autogenerated) * remove body (obsolete) * fix build errors * clean up * test * feat(docs): add pre commit hook with husky --------- Co-authored-by: Ariel Weinberger <weinberger.ariel@gmail.com>
16 lines
401 B
TypeScript
Executable File
16 lines
401 B
TypeScript
Executable File
import { REFERENCE_DOCS } from "./lib/files";
|
|
import { ReferenceDoc } from "./lib/reference-doc";
|
|
|
|
Promise.all(
|
|
REFERENCE_DOCS.map(async (referenceDoc) => {
|
|
const doc = new ReferenceDoc(referenceDoc);
|
|
await doc.generate();
|
|
}),
|
|
)
|
|
.then(() => {
|
|
console.log("All reference docs processed");
|
|
})
|
|
.catch((error) => {
|
|
console.error("Error processing reference docs:", error);
|
|
});
|