You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/vitepress-theme/features/copy-as-markdown.md
+23-17Lines changed: 23 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,29 +27,35 @@ All options are enabled by default but can be controlled per-page using frontmat
27
27
28
28
## Generating llms.txt Files
29
29
30
-
To generate `llms.txt` and `llms-full.txt` files in your repository root, use the mdream CLI after building your docs:
30
+
The theme automatically generates `llms.txt` and `llms-full.txt` files during build when using `vitepress-plugin-llms` (enabled by default in `NimiqVitepressVitePlugin`).
31
+
32
+
After building your docs:
31
33
32
34
```bash
33
-
# Build the documentation
34
35
pnpm docs:build
36
+
```
37
+
38
+
This automatically creates in `.vitepress/dist/`:
39
+
40
+
-`llms.txt` - A sitemap of all documentation pages
41
+
-`llms-full.txt` - Complete markdown content of all pages
42
+
-`markdown/` directory - Individual markdown files for each page
43
+
44
+
### Manual Generation (Alternative)
35
45
36
-
# Generate llms.txt files in the root
46
+
You can also generate llms.txt files manually using the mdream CLI:
|`llms`|`object \| boolean`|`true`|Automatic llms.txt generation via `vitepress-plugin-llms`. Pass config object or `false` to disable. See [plugin docs](https://github.com/okineadev/vitepress-plugin-llms#options) for available options.|
--colors-gold-gradient-darkened:radial-gradient(at 100%100% in oklab,var(--colors-gold-gradient-darkened-from),var(--colors-gold-gradient-darkened-to));
0 commit comments