mirror of
https://github.com/vector-im/element-web.git
synced 2026-04-18 20:12:33 +02:00
* Fix docs * Switch to vitepress for doc generation * Run doc build in CI * Switch docs build to layered
19 lines
521 B
TypeScript
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")]),
|
|
},
|
|
];
|
|
},
|
|
};
|