blume 0.6.2 → 0.6.4
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/cli/index.js +10 -4
- package/dist/cli/index.js.map +5 -5
- package/dist/types/core/config-input.d.ts +1 -6
- package/dist/types/core/config.d.ts +1 -1
- package/dist/types/core/schema.d.ts +0 -5
- package/docs/02-deployment.mdx +4 -0
- package/docs/03-faq.mdx +132 -0
- package/docs/configuration/ai.mdx +4 -4
- package/package.json +1 -1
- package/src/components/layout/Pagination.astro +2 -2
- package/src/components/layout/RootLayout.astro +17 -7
- package/src/core/config-input.ts +1 -6
- package/src/core/config.ts +1 -1
- package/src/core/navigation.ts +10 -0
- package/src/core/schema.ts +1 -2
- package/src/og/card.ts +21 -20
package/dist/cli/index.js
CHANGED
|
@@ -5297,8 +5297,7 @@ var themeConfigSchema = z2.object({
|
|
|
5297
5297
|
}).strict().default({}),
|
|
5298
5298
|
layout: z2.enum(["sidebar"]).default("sidebar"),
|
|
5299
5299
|
mode: z2.enum(["system", "light", "dark"]).default("system"),
|
|
5300
|
-
radius: z2.enum(["none", "sm", "md", "lg"]).default("md")
|
|
5301
|
-
strict: z2.boolean().default(false)
|
|
5300
|
+
radius: z2.enum(["none", "sm", "md", "lg"]).default("md")
|
|
5302
5301
|
}).strict();
|
|
5303
5302
|
var algoliaSearchSchema = z2.object({
|
|
5304
5303
|
appId: z2.string(),
|
|
@@ -5382,7 +5381,7 @@ var aiConfigSchema = z2.object({
|
|
|
5382
5381
|
});
|
|
5383
5382
|
}
|
|
5384
5383
|
}).optional(),
|
|
5385
|
-
llmsTxt: z2.boolean().default(
|
|
5384
|
+
llmsTxt: z2.boolean().default(true)
|
|
5386
5385
|
}).strict();
|
|
5387
5386
|
var featuredLinkSchema = z2.object({
|
|
5388
5387
|
href: z2.string(),
|
|
@@ -9684,6 +9683,13 @@ var pageOrder = (page, filename) => {
|
|
|
9684
9683
|
if (filename.replace(extname6(filename), "") === "index") {
|
|
9685
9684
|
return Number.NEGATIVE_INFINITY;
|
|
9686
9685
|
}
|
|
9686
|
+
if (page.contentType === "changelog") {
|
|
9687
|
+
const iso = page.meta.date ?? page.meta.changelog?.date;
|
|
9688
|
+
const time = iso ? Date.parse(iso) : Number.NaN;
|
|
9689
|
+
if (!Number.isNaN(time)) {
|
|
9690
|
+
return -time;
|
|
9691
|
+
}
|
|
9692
|
+
}
|
|
9687
9693
|
return numericOrder(filename);
|
|
9688
9694
|
};
|
|
9689
9695
|
var metaKey = (path, metaPrefix) => {
|
|
@@ -11905,5 +11911,5 @@ process.on("unhandledRejection", (error) => {
|
|
|
11905
11911
|
});
|
|
11906
11912
|
runMain(main);
|
|
11907
11913
|
|
|
11908
|
-
//# debugId=
|
|
11914
|
+
//# debugId=E4B96AC474347DAD64756E2164756E21
|
|
11909
11915
|
//# sourceMappingURL=index.js.map
|