Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

feat(docs): add documentation generation script

Andrej Acevski2cc6fcf53c31
diff --git a/apps/docs/scripts/generate-docs.ts b/apps/docs/scripts/generate-docs.ts
new file mode 100644
index 000000000..7f2a89b95
--- /dev/null
+++ b/apps/docs/scripts/generate-docs.ts
@@ -0,0 +1,8 @@
+import { generateFiles } from "fumadocs-openapi";
+import { openapi } from "@/lib/openapi";
+
+void generateFiles({
+ input: openapi,
+ output: "./content/docs/api",
+ includeDescription: true,
+});