@farming-labs/svelte 0.1.113 → 0.1.115

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.
Files changed (2) hide show
  1. package/dist/server.js +6 -1
  2. package/package.json +2 -2
package/dist/server.js CHANGED
@@ -556,6 +556,11 @@ export function createDocsServer(config = {}) {
556
556
  icons: serializeDocsIconRegistry(config.icons),
557
557
  openDocsProviders: serializeOpenDocsProviders(config.pageActions?.openDocs && typeof config.pageActions.openDocs === "object"
558
558
  ? config.pageActions.openDocs.providers
559
+ : undefined, config.pageActions?.openDocs && typeof config.pageActions.openDocs === "object"
560
+ ? {
561
+ target: config.pageActions.openDocs.target,
562
+ prompt: config.pageActions.openDocs.prompt,
563
+ }
559
564
  : undefined),
560
565
  });
561
566
  const currentIndex = flatPages.findIndex((p) => p.url === currentUrl);
@@ -849,7 +854,7 @@ export function createDocsServer(config = {}) {
849
854
  },
850
855
  });
851
856
  }
852
- const llmsRequest = resolveDocsLlmsTxtRequest(event.url, llmsTxtConfig);
857
+ const llmsRequest = resolveDocsLlmsTxtRequest(event.url, llmsTxtConfig, entry);
853
858
  if (llmsRequest) {
854
859
  if (!llmsEnabled) {
855
860
  return new Response("Not Found", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@farming-labs/svelte",
3
- "version": "0.1.113",
3
+ "version": "0.1.115",
4
4
  "description": "SvelteKit adapter for @farming-labs/docs — content loading and navigation utilities",
5
5
  "keywords": [
6
6
  "docs",
@@ -56,7 +56,7 @@
56
56
  "devDependencies": {
57
57
  "@types/node": "^22.10.0",
58
58
  "typescript": "^5.9.3",
59
- "@farming-labs/docs": "0.1.113"
59
+ "@farming-labs/docs": "0.1.115"
60
60
  },
61
61
  "peerDependencies": {
62
62
  "@farming-labs/docs": "*"