barodoc 10.0.8 → 10.0.9

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.
@@ -180,6 +180,7 @@ var contentSchema = `z.object({
180
180
  deprecated: z.union([z.boolean(), z.string()]).optional(),
181
181
  experimental: z.boolean().optional(),
182
182
  changelogUrl: z.string().optional(),
183
+ slides: z.boolean().optional(),
183
184
  })`;
184
185
  function generateContentConfig(config) {
185
186
  const collections = [
package/dist/cli.js CHANGED
@@ -6,14 +6,14 @@ import {
6
6
  generateAstroConfigFile,
7
7
  isCustomProject,
8
8
  loadProjectConfig
9
- } from "./chunk-FJGGWEQ6.js";
9
+ } from "./chunk-IOJKPHZD.js";
10
10
 
11
11
  // src/cli.ts
12
12
  import cac from "cac";
13
13
  import pc10 from "picocolors";
14
14
 
15
15
  // package.json
16
- var version = "10.0.8";
16
+ var version = "10.0.9";
17
17
 
18
18
  // src/commands/serve.ts
19
19
  import path from "path";
@@ -249,7 +249,7 @@ After creating a new file, register it in \`barodoc.config.json\`:
249
249
  {
250
250
  "group": "Getting Started",
251
251
  "group:ko": "\uC2DC\uC791\uD558\uAE30",
252
- "pages": ["introduction", "quickstart"]
252
+ "pages": ["introduction", "quickstart", "example-slides"]
253
253
  },
254
254
  {
255
255
  "group": "Guides",
@@ -471,7 +471,7 @@ async function create(name) {
471
471
  navigation: [
472
472
  {
473
473
  group: "Getting Started",
474
- pages: ["introduction", "quickstart"]
474
+ pages: ["introduction", "quickstart", "example-slides"]
475
475
  }
476
476
  ],
477
477
  i18n: {
@@ -523,6 +523,31 @@ barodoc build
523
523
  \`\`\`bash
524
524
  barodoc preview
525
525
  \`\`\`
526
+ `
527
+ );
528
+ await fs2.writeFile(
529
+ path3.join(targetDir, "docs/en/example-slides.md"),
530
+ `---
531
+ title: Example slides
532
+ description: Minimal slide deck \u2014 frontmatter plus --- between slides in the body.
533
+ slides: true
534
+ ---
535
+
536
+ # First slide
537
+
538
+ Edit \`docs/en/example-slides.md\`. Use the **Slides** control on the page (with \`slides: true\` in frontmatter) to open full-screen mode. Arrow keys move between slides; **Escape** exits.
539
+
540
+ ---
541
+
542
+ # Second slide
543
+
544
+ In the **body**, a line with only \`---\` starts the next slide (not the YAML block at the top).
545
+
546
+ ---
547
+
548
+ # Third slide
549
+
550
+ Copy this file or see the Barodoc docs **Slide mode demo** for MDX layouts (e.g. columns).
526
551
  `
527
552
  );
528
553
  await fs2.writeFile(
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  cleanupProject,
3
3
  createProject
4
- } from "./chunk-FJGGWEQ6.js";
4
+ } from "./chunk-IOJKPHZD.js";
5
5
 
6
6
  // src/index.ts
7
7
  export * from "@barodoc/core";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "barodoc",
3
- "version": "10.0.8",
3
+ "version": "10.0.9",
4
4
  "description": "Documentation framework powered by Astro",
5
5
  "type": "module",
6
6
  "bin": {
@@ -35,17 +35,17 @@
35
35
  "tailwindcss": "^4.0.0",
36
36
  "zod": "^3.24.0",
37
37
  "zod-to-json-schema": "^3.25.1",
38
- "@barodoc/core": "10.0.8",
39
- "@barodoc/plugin-analytics": "10.0.8",
40
- "@barodoc/plugin-docsearch": "10.0.2",
41
- "@barodoc/plugin-llms-txt": "10.0.8",
42
- "@barodoc/plugin-og-image": "9.0.2",
43
- "@barodoc/plugin-openapi": "10.0.3",
44
- "@barodoc/plugin-pwa": "10.0.2",
45
- "@barodoc/plugin-rss": "10.0.2",
46
- "@barodoc/plugin-search": "10.0.8",
47
- "@barodoc/plugin-sitemap": "10.0.8",
48
- "@barodoc/theme-docs": "10.0.8"
38
+ "@barodoc/core": "10.0.9",
39
+ "@barodoc/plugin-analytics": "10.0.9",
40
+ "@barodoc/plugin-docsearch": "10.0.3",
41
+ "@barodoc/plugin-llms-txt": "10.0.9",
42
+ "@barodoc/plugin-og-image": "9.0.3",
43
+ "@barodoc/plugin-openapi": "10.0.4",
44
+ "@barodoc/plugin-pwa": "10.0.3",
45
+ "@barodoc/plugin-rss": "10.0.3",
46
+ "@barodoc/plugin-search": "10.0.9",
47
+ "@barodoc/plugin-sitemap": "10.0.9",
48
+ "@barodoc/theme-docs": "10.0.9"
49
49
  },
50
50
  "devDependencies": {
51
51
  "@types/fs-extra": "^11.0.4",