+23
-33
docs/patches/vitepress.patch
+23
-33
docs/patches/vitepress.patch
···
1
1
diff --git a/dist/client/shared.js b/dist/client/shared.js
2
-
index f65eb22fe2b0dfeb9bd823c00c737f5035f2c891..8a4f602c8e8d029428bc5bcc0104e84cb30f4ae6 100644
2
+
index f65eb22fe2b0dfeb9bd823c00c737f5035f2c891..16a45edcf11b71881b31f1203add291a2c447d22 100644
3
3
--- a/dist/client/shared.js
4
4
+++ b/dist/client/shared.js
5
-
@@ -16,16 +16,32 @@ export const notFoundPageData = {
5
+
@@ -16,6 +16,7 @@ export const notFoundPageData = {
6
6
lastUpdated: 0,
7
7
isNotFound: true
8
8
};
···
10
10
export function isActive(currentPath, matchPath, asRegex = false) {
11
11
if (matchPath === undefined) {
12
12
return false;
13
-
}
14
-
currentPath = normalize(`/${currentPath}`);
15
-
+ console.log(currentPath, matchPath)
16
-
+ if (true) {
17
-
+ return true;
18
-
+ }
13
+
@@ -24,8 +25,19 @@ export function isActive(currentPath, matchPath, asRegex = false) {
19
14
if (asRegex) {
20
15
return new RegExp(matchPath).test(currentPath);
21
16
}
···
38
33
const hashMatch = matchPath.match(HASH_RE);
39
34
if (hashMatch) {
40
35
diff --git a/dist/node/chunk-CwUP9ZhX.js b/dist/node/chunk-CwUP9ZhX.js
41
-
index e8b4954d00f247fb852096bb1f8f077fcfc1f93f..4e55f584e2d71b52cf937585c49b1de52577a604 100644
36
+
index e8b4954d00f247fb852096bb1f8f077fcfc1f93f..8db594d1bdaac76359656a95ac96cd98161b1062 100644
42
37
--- a/dist/node/chunk-CwUP9ZhX.js
43
38
+++ b/dist/node/chunk-CwUP9ZhX.js
44
39
@@ -2053,7 +2053,7 @@ function requireBrowser () {
···
110
105
} (dist$1));
111
106
return dist$1;
112
107
}
113
-
@@ -18267,16 +18267,30 @@ const notFoundPageData = {
108
+
@@ -18267,6 +18267,7 @@ const notFoundPageData = {
114
109
lastUpdated: 0,
115
110
isNotFound: true
116
111
};
···
118
113
function isActive(currentPath, matchPath, asRegex = false) {
119
114
if (matchPath === void 0) {
120
115
return false;
121
-
}
122
-
currentPath = normalize$1(`/${currentPath}`);
123
-
+ console.log(currentPath, matchPath)
124
-
+ if (true) {
125
-
+ return true;
126
-
+ }
116
+
@@ -18275,8 +18276,17 @@ function isActive(currentPath, matchPath, asRegex = false) {
127
117
if (asRegex) {
128
118
return new RegExp(matchPath).test(currentPath);
129
119
}
···
143
133
}
144
134
const hashMatch = matchPath.match(HASH_RE);
145
135
if (hashMatch) {
146
-
@@ -23631,7 +23645,7 @@ function requireEngines () {
136
+
@@ -23631,7 +23641,7 @@ function requireEngines () {
147
137
stringify: function() {
148
138
throw new Error('stringifying JavaScript is not supported');
149
139
}
···
152
142
} (engines));
153
143
return engines.exports;
154
144
}
155
-
@@ -23731,7 +23745,7 @@ function requireUtils$2 () {
145
+
@@ -23731,7 +23741,7 @@ function requireUtils$2 () {
156
146
exports.startsWith = function(str, substr, len) {
157
147
if (typeof len !== 'number') len = substr.length;
158
148
return str.slice(0, len) === substr;
···
161
151
} (utils$3));
162
152
return utils$3;
163
153
}
164
-
@@ -25043,7 +25057,7 @@ const decodeMap = new Map([
154
+
@@ -25043,7 +25053,7 @@ const decodeMap = new Map([
165
155
/**
166
156
* Polyfill for `String.fromCodePoint`. It is used to create a string from a Unicode code point.
167
157
*/
···
170
160
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition, node/no-unsupported-features/es-builtins
171
161
(_a = String.fromCodePoint) !== null && _a !== void 0 ? _a : function (codePoint) {
172
162
let output = "";
173
-
@@ -25135,7 +25149,7 @@ var DecodingMode;
163
+
@@ -25135,7 +25145,7 @@ var DecodingMode;
174
164
class EntityDecoder {
175
165
constructor(
176
166
/** The tree used to decode entities. */
···
179
169
/**
180
170
* The function that is called when a codepoint is decoded.
181
171
*
182
-
@@ -25145,7 +25159,7 @@ class EntityDecoder {
172
+
@@ -25145,7 +25155,7 @@ class EntityDecoder {
183
173
* @param codepoint The decoded codepoint.
184
174
* @param consumed The number of bytes consumed by the decoder.
185
175
*/
···
188
178
/** An object that is used to produce errors. */
189
179
errors) {
190
180
this.decodeTree = decodeTree;
191
-
@@ -25458,7 +25472,7 @@ function getDecoder(decodeTree) {
181
+
@@ -25458,7 +25468,7 @@ function getDecoder(decodeTree) {
192
182
while ((offset = str.indexOf("&", offset)) >= 0) {
193
183
ret += str.slice(lastIndex, offset);
194
184
decoder.startEntity(decodeMode);
···
197
187
// Skip the "&"
198
188
offset + 1);
199
189
if (len < 0) {
200
-
@@ -38931,7 +38945,7 @@ class SignalExit extends SignalExitBase {
190
+
@@ -38931,7 +38941,7 @@ class SignalExit extends SignalExitBase {
201
191
const process$1 = globalThis.process;
202
192
// wrap so that we call the method on the actual handler, without
203
193
// exporting it directly.
···
206
196
/**
207
197
* Called when the process is exiting, whether via signal, explicit
208
198
* exit, or running out of stuff to do.
209
-
@@ -41070,7 +41084,7 @@ function requireEastasianwidth () {
199
+
@@ -41070,7 +41080,7 @@ function requireEastasianwidth () {
210
200
eawLen += charLen;
211
201
}
212
202
return result;
···
215
205
} (eastasianwidth));
216
206
return eastasianwidth.exports;
217
207
}
218
-
@@ -42826,7 +42840,7 @@ function requireTypes () {
208
+
@@ -42826,7 +42836,7 @@ function requireTypes () {
219
209
IndexTagNames["sitemapindex"] = "sitemapindex";
220
210
IndexTagNames["loc"] = "loc";
221
211
IndexTagNames["lastmod"] = "lastmod";
···
224
214
} (types));
225
215
return types;
226
216
}
227
-
@@ -42840,7 +42854,7 @@ function requireSitemapXml () {
217
+
@@ -42840,7 +42850,7 @@ function requireSitemapXml () {
228
218
hasRequiredSitemapXml = 1;
229
219
Object.defineProperty(sitemapXml, "__esModule", { value: true });
230
220
sitemapXml.element = sitemapXml.ctag = sitemapXml.otag = sitemapXml.text = void 0;
···
233
223
// eslint-disable-next-line no-control-regex
234
224
/[\u0000-\u0008\u000B\u000C\u000E-\u001F\u007F-\u0084\u0086-\u009F\uD800-\uDFFF\uFDD0-\uFDDF\u{1FFFE}-\u{1FFFF}\u{2FFFE}-\u{2FFFF}\u{3FFFE}-\u{3FFFF}\u{4FFFE}-\u{4FFFF}\u{5FFFE}-\u{5FFFF}\u{6FFFE}-\u{6FFFF}\u{7FFFE}-\u{7FFFF}\u{8FFFE}-\u{8FFFF}\u{9FFFE}-\u{9FFFF}\u{AFFFE}-\u{AFFFF}\u{BFFFE}-\u{BFFFF}\u{CFFFE}-\u{CFFFF}\u{DFFFE}-\u{DFFFF}\u{EFFFE}-\u{EFFFF}\u{FFFFE}-\u{FFFFF}\u{10FFFE}-\u{10FFFF}]/gu;
235
225
const amp = /&/g;
236
-
@@ -43586,7 +43600,7 @@ function requireSitemapStream () {
226
+
@@ -43586,7 +43596,7 @@ function requireSitemapStream () {
237
227
});
238
228
});
239
229
}
···
242
232
} (sitemapStream));
243
233
return sitemapStream;
244
234
}
245
-
@@ -43809,7 +43823,7 @@ function requireSitemapIndexStream () {
235
+
@@ -43809,7 +43819,7 @@ function requireSitemapIndexStream () {
246
236
});
247
237
}
248
238
}
···
251
241
} (sitemapIndexStream));
252
242
return sitemapIndexStream;
253
243
}
254
-
@@ -45470,7 +45484,7 @@ function requireSax () {
244
+
@@ -45470,7 +45480,7 @@ function requireSax () {
255
245
}
256
246
}());
257
247
}
···
260
250
} (sax));
261
251
return sax;
262
252
}
263
-
@@ -46277,7 +46291,7 @@ function requireSitemapSimple () {
253
+
@@ -46277,7 +46287,7 @@ function requireSitemapSimple () {
264
254
}
265
255
};
266
256
exports.simpleSitemapAndIndex = simpleSitemapAndIndex;
···
269
259
} (sitemapSimple));
270
260
return sitemapSimple;
271
261
}
272
-
@@ -46333,7 +46347,7 @@ function requireDist () {
262
+
@@ -46333,7 +46343,7 @@ function requireDist () {
273
263
Object.defineProperty(exports, "XMLToSitemapIndexStream", { enumerable: true, get: function () { return sitemap_index_parser_1.XMLToSitemapIndexStream; } });
274
264
Object.defineProperty(exports, "IndexObjectStreamToJSON", { enumerable: true, get: function () { return sitemap_index_parser_1.IndexObjectStreamToJSON; } });
275
265
var sitemap_simple_1 = requireSitemapSimple();
···
278
268
} (dist));
279
269
return dist;
280
270
}
281
-
@@ -48930,7 +48944,7 @@ function requireLodash_template () {
271
+
@@ -48930,7 +48940,7 @@ function requireLodash_template () {
282
272
return false;
283
273
}
284
274
···
287
277
} (lodash_template, lodash_template.exports));
288
278
return lodash_template.exports;
289
279
}
290
-
@@ -49165,7 +49179,7 @@ function requirePostcssPrefixSelector () {
280
+
@@ -49165,7 +49175,7 @@ function requirePostcssPrefixSelector () {
291
281
292
282
return {
293
283
postcssPlugin: 'postcss-prefix-selector',
+23
-33
patches/vitepress.patch
+23
-33
patches/vitepress.patch
···
1
1
diff --git a/dist/client/shared.js b/dist/client/shared.js
2
-
index f65eb22fe2b0dfeb9bd823c00c737f5035f2c891..8a4f602c8e8d029428bc5bcc0104e84cb30f4ae6 100644
2
+
index f65eb22fe2b0dfeb9bd823c00c737f5035f2c891..16a45edcf11b71881b31f1203add291a2c447d22 100644
3
3
--- a/dist/client/shared.js
4
4
+++ b/dist/client/shared.js
5
-
@@ -16,16 +16,32 @@ export const notFoundPageData = {
5
+
@@ -16,6 +16,7 @@ export const notFoundPageData = {
6
6
lastUpdated: 0,
7
7
isNotFound: true
8
8
};
···
10
10
export function isActive(currentPath, matchPath, asRegex = false) {
11
11
if (matchPath === undefined) {
12
12
return false;
13
-
}
14
-
currentPath = normalize(`/${currentPath}`);
15
-
+ console.log(currentPath, matchPath)
16
-
+ if (true) {
17
-
+ return true;
18
-
+ }
13
+
@@ -24,8 +25,19 @@ export function isActive(currentPath, matchPath, asRegex = false) {
19
14
if (asRegex) {
20
15
return new RegExp(matchPath).test(currentPath);
21
16
}
···
38
33
const hashMatch = matchPath.match(HASH_RE);
39
34
if (hashMatch) {
40
35
diff --git a/dist/node/chunk-CwUP9ZhX.js b/dist/node/chunk-CwUP9ZhX.js
41
-
index e8b4954d00f247fb852096bb1f8f077fcfc1f93f..4e55f584e2d71b52cf937585c49b1de52577a604 100644
36
+
index e8b4954d00f247fb852096bb1f8f077fcfc1f93f..8db594d1bdaac76359656a95ac96cd98161b1062 100644
42
37
--- a/dist/node/chunk-CwUP9ZhX.js
43
38
+++ b/dist/node/chunk-CwUP9ZhX.js
44
39
@@ -2053,7 +2053,7 @@ function requireBrowser () {
···
110
105
} (dist$1));
111
106
return dist$1;
112
107
}
113
-
@@ -18267,16 +18267,30 @@ const notFoundPageData = {
108
+
@@ -18267,6 +18267,7 @@ const notFoundPageData = {
114
109
lastUpdated: 0,
115
110
isNotFound: true
116
111
};
···
118
113
function isActive(currentPath, matchPath, asRegex = false) {
119
114
if (matchPath === void 0) {
120
115
return false;
121
-
}
122
-
currentPath = normalize$1(`/${currentPath}`);
123
-
+ console.log(currentPath, matchPath)
124
-
+ if (true) {
125
-
+ return true;
126
-
+ }
116
+
@@ -18275,8 +18276,17 @@ function isActive(currentPath, matchPath, asRegex = false) {
127
117
if (asRegex) {
128
118
return new RegExp(matchPath).test(currentPath);
129
119
}
···
143
133
}
144
134
const hashMatch = matchPath.match(HASH_RE);
145
135
if (hashMatch) {
146
-
@@ -23631,7 +23645,7 @@ function requireEngines () {
136
+
@@ -23631,7 +23641,7 @@ function requireEngines () {
147
137
stringify: function() {
148
138
throw new Error('stringifying JavaScript is not supported');
149
139
}
···
152
142
} (engines));
153
143
return engines.exports;
154
144
}
155
-
@@ -23731,7 +23745,7 @@ function requireUtils$2 () {
145
+
@@ -23731,7 +23741,7 @@ function requireUtils$2 () {
156
146
exports.startsWith = function(str, substr, len) {
157
147
if (typeof len !== 'number') len = substr.length;
158
148
return str.slice(0, len) === substr;
···
161
151
} (utils$3));
162
152
return utils$3;
163
153
}
164
-
@@ -25043,7 +25057,7 @@ const decodeMap = new Map([
154
+
@@ -25043,7 +25053,7 @@ const decodeMap = new Map([
165
155
/**
166
156
* Polyfill for `String.fromCodePoint`. It is used to create a string from a Unicode code point.
167
157
*/
···
170
160
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition, node/no-unsupported-features/es-builtins
171
161
(_a = String.fromCodePoint) !== null && _a !== void 0 ? _a : function (codePoint) {
172
162
let output = "";
173
-
@@ -25135,7 +25149,7 @@ var DecodingMode;
163
+
@@ -25135,7 +25145,7 @@ var DecodingMode;
174
164
class EntityDecoder {
175
165
constructor(
176
166
/** The tree used to decode entities. */
···
179
169
/**
180
170
* The function that is called when a codepoint is decoded.
181
171
*
182
-
@@ -25145,7 +25159,7 @@ class EntityDecoder {
172
+
@@ -25145,7 +25155,7 @@ class EntityDecoder {
183
173
* @param codepoint The decoded codepoint.
184
174
* @param consumed The number of bytes consumed by the decoder.
185
175
*/
···
188
178
/** An object that is used to produce errors. */
189
179
errors) {
190
180
this.decodeTree = decodeTree;
191
-
@@ -25458,7 +25472,7 @@ function getDecoder(decodeTree) {
181
+
@@ -25458,7 +25468,7 @@ function getDecoder(decodeTree) {
192
182
while ((offset = str.indexOf("&", offset)) >= 0) {
193
183
ret += str.slice(lastIndex, offset);
194
184
decoder.startEntity(decodeMode);
···
197
187
// Skip the "&"
198
188
offset + 1);
199
189
if (len < 0) {
200
-
@@ -38931,7 +38945,7 @@ class SignalExit extends SignalExitBase {
190
+
@@ -38931,7 +38941,7 @@ class SignalExit extends SignalExitBase {
201
191
const process$1 = globalThis.process;
202
192
// wrap so that we call the method on the actual handler, without
203
193
// exporting it directly.
···
206
196
/**
207
197
* Called when the process is exiting, whether via signal, explicit
208
198
* exit, or running out of stuff to do.
209
-
@@ -41070,7 +41084,7 @@ function requireEastasianwidth () {
199
+
@@ -41070,7 +41080,7 @@ function requireEastasianwidth () {
210
200
eawLen += charLen;
211
201
}
212
202
return result;
···
215
205
} (eastasianwidth));
216
206
return eastasianwidth.exports;
217
207
}
218
-
@@ -42826,7 +42840,7 @@ function requireTypes () {
208
+
@@ -42826,7 +42836,7 @@ function requireTypes () {
219
209
IndexTagNames["sitemapindex"] = "sitemapindex";
220
210
IndexTagNames["loc"] = "loc";
221
211
IndexTagNames["lastmod"] = "lastmod";
···
224
214
} (types));
225
215
return types;
226
216
}
227
-
@@ -42840,7 +42854,7 @@ function requireSitemapXml () {
217
+
@@ -42840,7 +42850,7 @@ function requireSitemapXml () {
228
218
hasRequiredSitemapXml = 1;
229
219
Object.defineProperty(sitemapXml, "__esModule", { value: true });
230
220
sitemapXml.element = sitemapXml.ctag = sitemapXml.otag = sitemapXml.text = void 0;
···
233
223
// eslint-disable-next-line no-control-regex
234
224
/[\u0000-\u0008\u000B\u000C\u000E-\u001F\u007F-\u0084\u0086-\u009F\uD800-\uDFFF\uFDD0-\uFDDF\u{1FFFE}-\u{1FFFF}\u{2FFFE}-\u{2FFFF}\u{3FFFE}-\u{3FFFF}\u{4FFFE}-\u{4FFFF}\u{5FFFE}-\u{5FFFF}\u{6FFFE}-\u{6FFFF}\u{7FFFE}-\u{7FFFF}\u{8FFFE}-\u{8FFFF}\u{9FFFE}-\u{9FFFF}\u{AFFFE}-\u{AFFFF}\u{BFFFE}-\u{BFFFF}\u{CFFFE}-\u{CFFFF}\u{DFFFE}-\u{DFFFF}\u{EFFFE}-\u{EFFFF}\u{FFFFE}-\u{FFFFF}\u{10FFFE}-\u{10FFFF}]/gu;
235
225
const amp = /&/g;
236
-
@@ -43586,7 +43600,7 @@ function requireSitemapStream () {
226
+
@@ -43586,7 +43596,7 @@ function requireSitemapStream () {
237
227
});
238
228
});
239
229
}
···
242
232
} (sitemapStream));
243
233
return sitemapStream;
244
234
}
245
-
@@ -43809,7 +43823,7 @@ function requireSitemapIndexStream () {
235
+
@@ -43809,7 +43819,7 @@ function requireSitemapIndexStream () {
246
236
});
247
237
}
248
238
}
···
251
241
} (sitemapIndexStream));
252
242
return sitemapIndexStream;
253
243
}
254
-
@@ -45470,7 +45484,7 @@ function requireSax () {
244
+
@@ -45470,7 +45480,7 @@ function requireSax () {
255
245
}
256
246
}());
257
247
}
···
260
250
} (sax));
261
251
return sax;
262
252
}
263
-
@@ -46277,7 +46291,7 @@ function requireSitemapSimple () {
253
+
@@ -46277,7 +46287,7 @@ function requireSitemapSimple () {
264
254
}
265
255
};
266
256
exports.simpleSitemapAndIndex = simpleSitemapAndIndex;
···
269
259
} (sitemapSimple));
270
260
return sitemapSimple;
271
261
}
272
-
@@ -46333,7 +46347,7 @@ function requireDist () {
262
+
@@ -46333,7 +46343,7 @@ function requireDist () {
273
263
Object.defineProperty(exports, "XMLToSitemapIndexStream", { enumerable: true, get: function () { return sitemap_index_parser_1.XMLToSitemapIndexStream; } });
274
264
Object.defineProperty(exports, "IndexObjectStreamToJSON", { enumerable: true, get: function () { return sitemap_index_parser_1.IndexObjectStreamToJSON; } });
275
265
var sitemap_simple_1 = requireSitemapSimple();
···
278
268
} (dist));
279
269
return dist;
280
270
}
281
-
@@ -48930,7 +48944,7 @@ function requireLodash_template () {
271
+
@@ -48930,7 +48940,7 @@ function requireLodash_template () {
282
272
return false;
283
273
}
284
274
···
287
277
} (lodash_template, lodash_template.exports));
288
278
return lodash_template.exports;
289
279
}
290
-
@@ -49165,7 +49179,7 @@ function requirePostcssPrefixSelector () {
280
+
@@ -49165,7 +49175,7 @@ function requirePostcssPrefixSelector () {
291
281
292
282
return {
293
283
postcssPlugin: 'postcss-prefix-selector',
+3
-3
pnpm-lock.yaml
+3
-3
pnpm-lock.yaml
···
6
6
7
7
patchedDependencies:
8
8
vitepress:
9
-
hash: a63176ed367ccd40779c6380946bff887569865d354270b877b28d6243e261dc
9
+
hash: 828e6d2347338f051e3210f9d54e3a79212e9afb26e6b8a746d7ad5f58e9385b
10
10
path: patches/vitepress.patch
11
11
12
12
importers:
···
109
109
version: 0.33.5
110
110
vitepress:
111
111
specifier: 2.0.0-alpha.11
112
-
version: 2.0.0-alpha.11(patch_hash=a63176ed367ccd40779c6380946bff887569865d354270b877b28d6243e261dc)(@types/node@22.10.5)(axios@1.8.2)(change-case@5.4.4)(jiti@2.4.2)(less@4.2.2)(postcss@8.5.6)(sass@1.85.0)(terser@5.39.0)(typescript@5.8.3)(yaml@2.8.0)
112
+
version: 2.0.0-alpha.11(patch_hash=828e6d2347338f051e3210f9d54e3a79212e9afb26e6b8a746d7ad5f58e9385b)(@types/node@22.10.5)(axios@1.8.2)(change-case@5.4.4)(jiti@2.4.2)(less@4.2.2)(postcss@8.5.6)(sass@1.85.0)(terser@5.39.0)(typescript@5.8.3)(yaml@2.8.0)
113
113
vitepress-plugin-llms:
114
114
specifier: 1.7.3
115
115
version: 1.7.3
···
25986
25986
- '@75lb/nature'
25987
25987
- supports-color
25988
25988
25989
-
vitepress@2.0.0-alpha.11(patch_hash=a63176ed367ccd40779c6380946bff887569865d354270b877b28d6243e261dc)(@types/node@22.10.5)(axios@1.8.2)(change-case@5.4.4)(jiti@2.4.2)(less@4.2.2)(postcss@8.5.6)(sass@1.85.0)(terser@5.39.0)(typescript@5.8.3)(yaml@2.8.0):
25989
+
vitepress@2.0.0-alpha.11(patch_hash=828e6d2347338f051e3210f9d54e3a79212e9afb26e6b8a746d7ad5f58e9385b)(@types/node@22.10.5)(axios@1.8.2)(change-case@5.4.4)(jiti@2.4.2)(less@4.2.2)(postcss@8.5.6)(sass@1.85.0)(terser@5.39.0)(typescript@5.8.3)(yaml@2.8.0):
25990
25990
dependencies:
25991
25991
'@docsearch/css': 4.0.0-beta.7
25992
25992
'@docsearch/js': 4.0.0-beta.7