@farming-labs/theme 0.1.114 → 0.1.116
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/docs-api.mjs +3 -2
- package/package.json +2 -2
package/dist/docs-api.mjs
CHANGED
|
@@ -557,7 +557,8 @@ function readMcpConfig(root) {
|
|
|
557
557
|
listPages: readBooleanFromBlock(block, "listPages"),
|
|
558
558
|
readPage: readBooleanFromBlock(block, "readPage"),
|
|
559
559
|
searchDocs: readBooleanFromBlock(block, "searchDocs"),
|
|
560
|
-
getNavigation: readBooleanFromBlock(block, "getNavigation")
|
|
560
|
+
getNavigation: readBooleanFromBlock(block, "getNavigation"),
|
|
561
|
+
getCodeExamples: readBooleanFromBlock(block, "getCodeExamples")
|
|
561
562
|
}
|
|
562
563
|
};
|
|
563
564
|
} catch {}
|
|
@@ -2259,7 +2260,7 @@ function createDocsAPI(options) {
|
|
|
2259
2260
|
"X-Robots-Tag": "noindex"
|
|
2260
2261
|
} });
|
|
2261
2262
|
}
|
|
2262
|
-
const llmsRequest = resolveDocsLlmsTxtRequest(url, llmsConfig);
|
|
2263
|
+
const llmsRequest = resolveDocsLlmsTxtRequest(url, llmsConfig, docsPath);
|
|
2263
2264
|
if (llmsRequest) {
|
|
2264
2265
|
if (!llmsConfig.enabled) return new Response("Not Found", {
|
|
2265
2266
|
status: 404,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@farming-labs/theme",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.116",
|
|
4
4
|
"description": "Theme package for @farming-labs/docs — layout, provider, MDX components, and styles",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"docs",
|
|
@@ -139,7 +139,7 @@
|
|
|
139
139
|
"tsdown": "^0.20.3",
|
|
140
140
|
"typescript": "^5.9.3",
|
|
141
141
|
"vitest": "^3.2.4",
|
|
142
|
-
"@farming-labs/docs": "0.1.
|
|
142
|
+
"@farming-labs/docs": "0.1.116"
|
|
143
143
|
},
|
|
144
144
|
"peerDependencies": {
|
|
145
145
|
"@farming-labs/docs": ">=0.0.1",
|