@farming-labs/theme 0.2.83 → 0.2.84
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 +2 -1
- package/package.json +2 -2
package/dist/docs-api.mjs
CHANGED
|
@@ -3227,7 +3227,7 @@ function createDocsAPI(options) {
|
|
|
3227
3227
|
if (!searchError) throw error;
|
|
3228
3228
|
return Response.json({ error: searchError }, { status: 400 });
|
|
3229
3229
|
}
|
|
3230
|
-
const { filters, structured, facets, facet, cursor, limit } = searchRequest;
|
|
3230
|
+
const { filters, structured, explain, facets, facet, cursor, limit } = searchRequest;
|
|
3231
3231
|
if (!query && !structured && !facets) return new Response("[]", { headers: { "Content-Type": "application/json" } });
|
|
3232
3232
|
const searchOptions = {
|
|
3233
3233
|
pages: getIndexes(ctx),
|
|
@@ -3235,6 +3235,7 @@ function createDocsAPI(options) {
|
|
|
3235
3235
|
search: resolveSearchRequestConfig(searchConfig, request.url, { localMcp: rawMcpConfig }),
|
|
3236
3236
|
audience,
|
|
3237
3237
|
filters,
|
|
3238
|
+
explain,
|
|
3238
3239
|
locale: ctx.locale,
|
|
3239
3240
|
pathname: url.searchParams.get("pathname") ?? void 0,
|
|
3240
3241
|
siteTitle: llmsConfig.siteTitle ?? "Documentation",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@farming-labs/theme",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.84",
|
|
4
4
|
"description": "Theme package for @farming-labs/docs — layout, provider, MDX components, and styles",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"docs",
|
|
@@ -148,7 +148,7 @@
|
|
|
148
148
|
"tsdown": "^0.20.3",
|
|
149
149
|
"typescript": "^5.9.3",
|
|
150
150
|
"vitest": "^4.1.8",
|
|
151
|
-
"@farming-labs/docs": "0.2.
|
|
151
|
+
"@farming-labs/docs": "0.2.84"
|
|
152
152
|
},
|
|
153
153
|
"peerDependencies": {
|
|
154
154
|
"@farming-labs/docs": ">=0.0.1",
|