Skip to content

Commit 72d6d96

Browse files
authored
docs(rspress): add llms.txt llms-full.txt based on "@rspress/plugin-llms" (#7170)
1 parent b02cb29 commit 72d6d96

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/document/main-doc/rspress.config.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
import path from 'path';
22
import { pluginSass } from '@rsbuild/plugin-sass';
3+
import { pluginLlms } from '@rspress/plugin-llms';
34
import { transformerNotationHighlight } from '@shikijs/transformers';
45
import { defineConfig } from 'rspress/config';
56

67
const docPath = path.join(__dirname, 'docs');
78

89
export default defineConfig({
910
root: docPath,
11+
title: 'Modern.js',
12+
description:
13+
'The Modern.js framework is a progressive web framework based on React. At ByteDance, we use Modern.js to build upper-level frameworks that have supported the development of thousands of web applications.',
1014
base: '/',
1115
logo: 'https://lf-cdn-tos.bytescm.com/obj/static/webinfra/modern-js-website/assets/images/images/modernjs-logo.svg',
1216
icon: 'https://lf3-static.bytednsdoc.com/obj/eden-cn/uhbfnupenuhf/favicon.ico',
@@ -18,6 +22,7 @@ export default defineConfig({
1822
transformers: [transformerNotationHighlight()],
1923
},
2024
},
25+
plugins: [pluginLlms()],
2126
search: {
2227
codeBlocks: true,
2328
},

0 commit comments

Comments
 (0)