dogsbay 0.2.0-beta.51 → 0.2.0-beta.52
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.
|
@@ -255,7 +255,15 @@ function convertFragmentAdocs(sourceRoot, outputContentDir, scopedRootDirs) {
|
|
|
255
255
|
}
|
|
256
256
|
try {
|
|
257
257
|
const content = readFileSync(srcPath, "utf-8");
|
|
258
|
-
|
|
258
|
+
// Same Dogsbay house defaults as the topic-page path
|
|
259
|
+
// (format-asciidoc parse.ts): 'pandoc' dlists + 'docusaurus'
|
|
260
|
+
// admonitions — the shapes Dogsbay's renderer renders natively.
|
|
261
|
+
// Fragments are included into pages, so their shape must match.
|
|
262
|
+
const md = asciidocToMarkdown(content, {
|
|
263
|
+
basePath: srcPath,
|
|
264
|
+
dlistFormat: "pandoc",
|
|
265
|
+
admonitionFormat: "docusaurus",
|
|
266
|
+
});
|
|
259
267
|
mkdirSync(dstDir, { recursive: true });
|
|
260
268
|
// No frontmatter — fragments are pure content. An earlier
|
|
261
269
|
// attempt stamped `_fragment: true` here as a loader-driven
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dogsbay",
|
|
3
|
-
"version": "0.2.0-beta.
|
|
3
|
+
"version": "0.2.0-beta.52",
|
|
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": {
|
|
@@ -33,18 +33,18 @@
|
|
|
33
33
|
"picocolors": "^1.1.0",
|
|
34
34
|
"prompts": "^2.4.2",
|
|
35
35
|
"yaml": "^2.8.3",
|
|
36
|
-
"@dogsbay/autodoc-python": "0.2.0-beta.
|
|
37
|
-
"@dogsbay/format-
|
|
38
|
-
"@dogsbay/format-
|
|
39
|
-
"@dogsbay/format-obsidian": "0.2.0-beta.
|
|
40
|
-
"@dogsbay/format-mdx": "0.2.0-beta.
|
|
41
|
-
"@dogsbay/format-starlight": "0.2.0-beta.
|
|
42
|
-
"@dogsbay/format-dogsbay-md": "0.2.0-beta.
|
|
43
|
-
"@dogsbay/format-openapi": "0.2.0-beta.
|
|
44
|
-
"@dogsbay/
|
|
45
|
-
"@dogsbay/
|
|
46
|
-
"@dogsbay/
|
|
47
|
-
"@dogsbay/
|
|
36
|
+
"@dogsbay/autodoc-python": "0.2.0-beta.52",
|
|
37
|
+
"@dogsbay/format-mkdocs": "0.2.0-beta.52",
|
|
38
|
+
"@dogsbay/format-astro": "0.2.0-beta.52",
|
|
39
|
+
"@dogsbay/format-obsidian": "0.2.0-beta.52",
|
|
40
|
+
"@dogsbay/format-mdx": "0.2.0-beta.52",
|
|
41
|
+
"@dogsbay/format-starlight": "0.2.0-beta.52",
|
|
42
|
+
"@dogsbay/format-dogsbay-md": "0.2.0-beta.52",
|
|
43
|
+
"@dogsbay/format-openapi": "0.2.0-beta.52",
|
|
44
|
+
"@dogsbay/adoc2md-modular": "0.2.0-beta.52",
|
|
45
|
+
"@dogsbay/format-asciidoc": "0.2.0-beta.52",
|
|
46
|
+
"@dogsbay/minja": "0.2.0-beta.52",
|
|
47
|
+
"@dogsbay/types": "0.2.0-beta.52"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@types/markdown-it": "^14.1.0",
|