dogsbay 0.2.0-beta.121 → 0.2.0-beta.123

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.
@@ -0,0 +1,11 @@
1
+ /**
2
+ * The component × format matrix's columns: every registered exporter's
3
+ * declarations, plus render-html (the renderer dogsbay-ssg and
4
+ * `dogsbay render` share, which is not a FormatPlugin). One list, read by the
5
+ * coverage test and by `scripts/capability-matrix.mjs`, which writes
6
+ * docs/component-format-matrix.md.
7
+ */
8
+ import type { MatrixColumn } from "@dogsbay/serialize-core";
9
+ export declare function matrixColumns(): Promise<MatrixColumn[]>;
10
+ /** The whole published page: intro + the generated tables. */
11
+ export declare function matrixPage(): Promise<string>;
@@ -0,0 +1,33 @@
1
+ import { FORMATS } from "./formats.js";
2
+ export async function matrixColumns() {
3
+ const exporters = FORMATS.filter((f) => f.canExport && f.export).map((f) => ({
4
+ name: f.name,
5
+ capabilities: f.capabilities ?? [],
6
+ }));
7
+ const { RENDER_HTML_CAPABILITIES } = await import("@dogsbay/render-html");
8
+ // The two site renderers first, then the source format, then other targets
9
+ const FIRST = ["astro", "render-html", "dogsbay-md"];
10
+ const rank = (n) => (FIRST.includes(n) ? FIRST.indexOf(n) : FIRST.length);
11
+ return [...exporters, { name: "render-html", capabilities: RENDER_HTML_CAPABILITIES }]
12
+ .sort((a, b) => rank(a.name) - rank(b.name) || a.name.localeCompare(b.name));
13
+ }
14
+ /** The whole published page: intro + the generated tables. */
15
+ export async function matrixPage() {
16
+ const { formatCapabilityMatrix } = await import("@dogsbay/serialize-core");
17
+ return [
18
+ "---",
19
+ "title: Component and format support",
20
+ "description: Which Dogsbay components each export format and renderer supports, and how the rest degrade.",
21
+ "---",
22
+ "",
23
+ "# Component and format support",
24
+ "",
25
+ "Not every component exists in every format. Each exporter declares, for every content type, whether it is supported in full (✅), degraded (⚠️, the content survives with something lost) or not representable (❌). A conversion records what it actually degraded or dropped in its fidelity report.",
26
+ "",
27
+ "Columns are the export targets (`--to`) and `render-html`, the renderer behind `dogsbay render` and dogsbay-ssg. The Astro site build is the `astro` column.",
28
+ "",
29
+ "<!-- Generated by scripts/capability-matrix.mjs from each exporter's capabilities. Do not edit by hand. -->",
30
+ "",
31
+ formatCapabilityMatrix(await matrixColumns()),
32
+ ].join("\n");
33
+ }
package/dist/registry.js CHANGED
@@ -453,6 +453,14 @@ export const registry = {
453
453
  primitives: [],
454
454
  description: "Step-by-step numbered guide",
455
455
  },
456
+ "details-sheet": {
457
+ name: "details-sheet",
458
+ files: ["DetailsSheet.astro", "index.ts"],
459
+ dependencies: [],
460
+ registryDependencies: ["alert"],
461
+ primitives: [],
462
+ description: "A collapsible block that opens as a side sheet (wraps CollapsibleAlert)",
463
+ },
456
464
  kbd: {
457
465
  name: "kbd",
458
466
  files: ["Kbd.astro", "variants.ts", "index.ts"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dogsbay",
3
- "version": "0.2.0-beta.121",
3
+ "version": "0.2.0-beta.123",
4
4
  "description": "CLI for Dogsbay — scaffold, build, and serve documentation sites with markdown / MkDocs / Obsidian / OpenAPI sources",
5
5
  "type": "module",
6
6
  "bin": {
@@ -43,35 +43,36 @@
43
43
  "typescript": "^5.9.3",
44
44
  "valibot": "1.1.0",
45
45
  "yaml": "^2.9.0",
46
- "@dogsbay/adoc2md-modular": "0.2.0-beta.121",
47
- "@dogsbay/commands": "0.2.0-beta.121",
48
- "@dogsbay/autodoc-python": "0.2.0-beta.121",
49
- "@dogsbay/format-asciidoc": "0.2.0-beta.121",
50
- "@dogsbay/format-astro": "0.2.0-beta.121",
51
- "@dogsbay/format-dita": "0.2.0-beta.121",
52
- "@dogsbay/format-docusaurus": "0.2.0-beta.121",
53
- "@dogsbay/format-dogsbay-md": "0.2.0-beta.121",
54
- "@dogsbay/format-fluidtopics-markdown": "0.2.0-beta.121",
55
- "@dogsbay/format-fluidtopics-rest": "0.2.0-beta.121",
56
- "@dogsbay/format-gatsby": "0.2.0-beta.121",
57
- "@dogsbay/format-gitbook": "0.2.0-beta.121",
58
- "@dogsbay/format-hugo": "0.2.0-beta.121",
59
- "@dogsbay/format-mdx": "0.2.0-beta.121",
60
- "@dogsbay/format-mkdocs": "0.2.0-beta.121",
61
- "@dogsbay/format-myst": "0.2.0-beta.121",
62
- "@dogsbay/format-obsidian": "0.2.0-beta.121",
63
- "@dogsbay/format-openapi": "0.2.0-beta.121",
64
- "@dogsbay/format-openknowledge": "0.2.0-beta.121",
65
- "@dogsbay/format-rst": "0.2.0-beta.121",
66
- "@dogsbay/format-starlight": "0.2.0-beta.121",
67
- "@dogsbay/format-topicmap": "0.2.0-beta.121",
68
- "@dogsbay/minja": "0.2.0-beta.121",
69
- "@dogsbay/format-vitepress": "0.2.0-beta.121",
70
- "@dogsbay/render": "0.2.0-beta.121",
71
- "@dogsbay/serialize-core": "0.2.0-beta.121",
72
- "@dogsbay/site-check": "0.2.0-beta.121",
73
- "@dogsbay/site-files": "0.2.0-beta.121",
74
- "@dogsbay/types": "0.2.0-beta.121"
46
+ "@dogsbay/adoc2md-modular": "0.2.0-beta.123",
47
+ "@dogsbay/commands": "0.2.0-beta.123",
48
+ "@dogsbay/autodoc-python": "0.2.0-beta.123",
49
+ "@dogsbay/format-asciidoc": "0.2.0-beta.123",
50
+ "@dogsbay/format-astro": "0.2.0-beta.123",
51
+ "@dogsbay/format-dita": "0.2.0-beta.123",
52
+ "@dogsbay/format-docusaurus": "0.2.0-beta.123",
53
+ "@dogsbay/format-dogsbay-md": "0.2.0-beta.123",
54
+ "@dogsbay/format-fluidtopics-markdown": "0.2.0-beta.123",
55
+ "@dogsbay/format-fluidtopics-rest": "0.2.0-beta.123",
56
+ "@dogsbay/format-gatsby": "0.2.0-beta.123",
57
+ "@dogsbay/format-gitbook": "0.2.0-beta.123",
58
+ "@dogsbay/format-hugo": "0.2.0-beta.123",
59
+ "@dogsbay/format-mdx": "0.2.0-beta.123",
60
+ "@dogsbay/format-mkdocs": "0.2.0-beta.123",
61
+ "@dogsbay/format-myst": "0.2.0-beta.123",
62
+ "@dogsbay/format-obsidian": "0.2.0-beta.123",
63
+ "@dogsbay/format-openapi": "0.2.0-beta.123",
64
+ "@dogsbay/format-openknowledge": "0.2.0-beta.123",
65
+ "@dogsbay/format-rst": "0.2.0-beta.123",
66
+ "@dogsbay/format-starlight": "0.2.0-beta.123",
67
+ "@dogsbay/format-topicmap": "0.2.0-beta.123",
68
+ "@dogsbay/format-vitepress": "0.2.0-beta.123",
69
+ "@dogsbay/minja": "0.2.0-beta.123",
70
+ "@dogsbay/render": "0.2.0-beta.123",
71
+ "@dogsbay/render-html": "0.2.0-beta.123",
72
+ "@dogsbay/serialize-core": "0.2.0-beta.123",
73
+ "@dogsbay/site-check": "0.2.0-beta.123",
74
+ "@dogsbay/site-files": "0.2.0-beta.123",
75
+ "@dogsbay/types": "0.2.0-beta.123"
75
76
  },
76
77
  "devDependencies": {
77
78
  "@mdx-js/mdx": "^3.1.1",