@rspress/plugin-llms 2.0.0-rc.2 → 2.0.0-rc.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/runtime/index.js +1 -1
- package/package.json +5 -5
package/dist/runtime/index.js
CHANGED
|
@@ -221,7 +221,7 @@ const LlmsViewOptions = ({ options = [
|
|
|
221
221
|
const lang = useLang();
|
|
222
222
|
const isEn = !lang || 'en' === lang;
|
|
223
223
|
const items = useMemo(()=>{
|
|
224
|
-
const fullMarkdownUrl =
|
|
224
|
+
const fullMarkdownUrl = "u" > typeof window ? new URL(pathname, window.location.origin).toString() : 'loading';
|
|
225
225
|
const q = `Read ${fullMarkdownUrl}, I want to ask questions about it.`;
|
|
226
226
|
return {
|
|
227
227
|
markdownLink: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rspress/plugin-llms",
|
|
3
|
-
"version": "2.0.0-rc.
|
|
3
|
+
"version": "2.0.0-rc.3",
|
|
4
4
|
"description": "A plugin for rspress to generate llms.txt, llms-full.txt, md files to let llm understand your website.",
|
|
5
5
|
"bugs": "https://github.com/web-infra-dev/rspress/issues",
|
|
6
6
|
"repository": {
|
|
@@ -36,21 +36,21 @@
|
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@microsoft/api-extractor": "^7.55.2",
|
|
39
|
-
"@rsbuild/core": "~1.6.
|
|
39
|
+
"@rsbuild/core": "~1.6.15",
|
|
40
40
|
"@rsbuild/plugin-react": "~1.4.2",
|
|
41
41
|
"@rsbuild/plugin-sass": "~1.4.0",
|
|
42
|
-
"@rslib/core": "0.18.
|
|
42
|
+
"@rslib/core": "0.18.5",
|
|
43
43
|
"@types/hast": "^3.0.4",
|
|
44
44
|
"@types/node": "^22.8.1",
|
|
45
45
|
"@types/react": "^19.2.7",
|
|
46
|
-
"react": "^19.2.
|
|
46
|
+
"react": "^19.2.3",
|
|
47
47
|
"rsbuild-plugin-publint": "^0.3.3",
|
|
48
48
|
"typescript": "^5.8.2",
|
|
49
49
|
"vfile": "^6.0.3",
|
|
50
50
|
"@rspress/config": "1.0.0"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
|
-
"@rspress/core": "^2.0.0-rc.
|
|
53
|
+
"@rspress/core": "^2.0.0-rc.3"
|
|
54
54
|
},
|
|
55
55
|
"engines": {
|
|
56
56
|
"node": ">=18.0.0"
|