Skip to content

Commit 398a99a

Browse files
authored
feat: use vitepress-plugin-llms (#266)
1 parent 1000607 commit 398a99a

3 files changed

Lines changed: 885 additions & 68 deletions

File tree

.vitepress/config.mjs

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { fileURLToPath } from "url";
22
import { defineConfig as defineConfigBase } from "vitepress";
33
import { withMermaid } from "vitepress-plugin-mermaid";
4+
import llmstxt from "vitepress-plugin-llms";
45
import { Module } from "module";
56
import markdownItTaskLists from "markdown-it-task-lists";
67
import markdownItFootnote from "markdown-it-footnote";
@@ -106,7 +107,14 @@ export default defineConfig({
106107
},
107108
],
108109
],
109-
srcExclude: ["./README.md"],
110+
vite: {
111+
plugins: [
112+
llmstxt({
113+
ignoreFiles: ["index.md", "documents/**/index.md"],
114+
}),
115+
],
116+
},
117+
srcExclude: ["./README.md", "./docs/**/*.md"],
110118
base: "/coding-standards/",
111119
themeConfig: {
112120
siteTitle: "Future Enterprise <wbr>Coding Standards",

0 commit comments

Comments
 (0)