@farming-labs/theme 0.2.127 → 0.2.128
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-layout.mjs +2 -0
- package/dist/tanstack-layout.mjs +2 -0
- package/package.json +2 -2
package/dist/docs-layout.mjs
CHANGED
|
@@ -737,6 +737,7 @@ function createDocsLayout(config, options) {
|
|
|
737
737
|
const readingTimeFormat = readingTimeOptions.format;
|
|
738
738
|
const readingTimeIncludeCode = readingTimeOptions.includeCode;
|
|
739
739
|
const llmsTxtEnabled = resolveEnabledByDefault(config.llmsTxt);
|
|
740
|
+
const showLlmsInHeader = typeof config.llmsTxt === "object" && config.llmsTxt?.showInHeader === true;
|
|
740
741
|
const feedbackConfig = resolveFeedbackConfig(config.feedback);
|
|
741
742
|
const openDocsConfig = pageActions?.openDocs && typeof pageActions.openDocs === "object" ? pageActions.openDocs : void 0;
|
|
742
743
|
const openDocsProviders = resolveOpenDocsProviders(openDocsConfig?.providers, {
|
|
@@ -898,6 +899,7 @@ function createDocsLayout(config, options) {
|
|
|
898
899
|
readingTimeEnabled,
|
|
899
900
|
readingTimeFormat,
|
|
900
901
|
llmsTxtEnabled,
|
|
902
|
+
showLlmsInHeader: showLlmsInHeader || void 0,
|
|
901
903
|
feedbackEnabled: feedbackConfig.enabled,
|
|
902
904
|
feedbackQuestion: feedbackConfig.question,
|
|
903
905
|
feedbackPlaceholder: feedbackConfig.placeholder,
|
package/dist/tanstack-layout.mjs
CHANGED
|
@@ -276,6 +276,7 @@ function TanstackDocsLayout({ config, tree, browserRuntime = false, telemetryFra
|
|
|
276
276
|
const readingTimeOptions = resolveReadingTimeOptions(config.readingTime);
|
|
277
277
|
const readingTimeEnabled = readingTimeOptions.enabled;
|
|
278
278
|
const llmsTxtEnabled = resolveEnabledByDefault(config.llmsTxt);
|
|
279
|
+
const showLlmsInHeader = typeof config.llmsTxt === "object" && config.llmsTxt?.showInHeader === true;
|
|
279
280
|
const feedbackConfig = resolveFeedbackConfig(config.feedback);
|
|
280
281
|
const staticExport = !!config.staticExport;
|
|
281
282
|
const browserContainerProps = browserRuntime ? { "data-fd-browser-adapter": "" } : void 0;
|
|
@@ -410,6 +411,7 @@ function TanstackDocsLayout({ config, tree, browserRuntime = false, telemetryFra
|
|
|
410
411
|
readingTimeFormat: readingTimeOptions.format,
|
|
411
412
|
readingTime: typeof readingTime === "number" ? readingTime : void 0,
|
|
412
413
|
llmsTxtEnabled,
|
|
414
|
+
showLlmsInHeader: showLlmsInHeader || void 0,
|
|
413
415
|
description,
|
|
414
416
|
descriptionInBody,
|
|
415
417
|
feedbackEnabled: feedbackConfig.enabled,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@farming-labs/theme",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.128",
|
|
4
4
|
"description": "Theme package for @farming-labs/docs — layout, provider, MDX components, and styles",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"docs",
|
|
@@ -161,7 +161,7 @@
|
|
|
161
161
|
"tsdown": "^0.20.3",
|
|
162
162
|
"typescript": "^5.9.3",
|
|
163
163
|
"vitest": "^4.1.8",
|
|
164
|
-
"@farming-labs/docs": "0.2.
|
|
164
|
+
"@farming-labs/docs": "0.2.128"
|
|
165
165
|
},
|
|
166
166
|
"peerDependencies": {
|
|
167
167
|
"@farming-labs/docs": ">=0.0.1",
|