element-web/docs/generated/[id].paths.ts
Michael Telatynski b90a32bea4
Fix web-docs.element.dev deployment (#32922)
* Fix docs

* Switch to vitepress for doc generation

* Run doc build in CI

* Switch docs build to layered
2026-03-25 17:10:06 +00:00

19 lines
521 B
TypeScript

import genWorkflowMermaid from "../../scripts/gen-workflow-mermaid";
import { dirname, join } from "node:path";
import { fileURLToPath } from "node:url";
const __dirname = dirname(fileURLToPath(import.meta.url));
export default {
async paths() {
const root = join(__dirname, "..", "..");
return [
{
params: { id: "automations" },
content: await genWorkflowMermaid([root, join(root, "node_modules", "matrix-js-sdk")]),
},
];
},
};