dogsbay 0.2.0-beta.104 → 0.2.0-beta.109

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.
@@ -410,6 +410,7 @@ export async function siteBuild(cwd, options) {
410
410
  format: options.export,
411
411
  out: options.exportOut,
412
412
  siteName: config.site.name,
413
+ siteUrl: config.site.url,
413
414
  stripPrefix: combinedPrefix,
414
415
  sourceDir: resolvedSources[0],
415
416
  assetMounts: importResult.assetMounts,
@@ -955,6 +956,7 @@ async function runSecondaryExport(pages, nav, opts) {
955
956
  const exportNav = stripNavPrefix(nav, opts.stripPrefix);
956
957
  await exporter.export(pages, exportNav, out, {
957
958
  siteName: opts.siteName,
959
+ siteUrl: opts.siteUrl,
958
960
  sourceDir: opts.sourceDir,
959
961
  assetMounts: opts.assetMounts,
960
962
  plugin: opts.plugin,
package/dist/formats.d.ts CHANGED
@@ -103,9 +103,11 @@ export declare function importerNames(): string[];
103
103
  /**
104
104
  * Names of every format that can ACTUALLY be exported to.
105
105
  *
106
- * Filters on a real `export` method, not just `canExport`: format-mkdocs
107
- * declares `canExport: true` with no implementation, so a `canExport`-only
108
- * hint offered users a target that throws "not yet implemented".
106
+ * Filters on a real `export` method, not just `canExport`. For months
107
+ * format-mkdocs declared `canExport: true` with no `export` method, so a
108
+ * `canExport`-only hint offered users a target that threw "not yet
109
+ * implemented"; that gap closed 2026-09-02, but the predicate stays — it is
110
+ * what made the gap visible, and a registry test now enforces it.
109
111
  */
110
112
  export declare function exporterNames(): string[];
111
113
  /**
package/dist/formats.js CHANGED
@@ -151,9 +151,11 @@ export function importerNames() {
151
151
  /**
152
152
  * Names of every format that can ACTUALLY be exported to.
153
153
  *
154
- * Filters on a real `export` method, not just `canExport`: format-mkdocs
155
- * declares `canExport: true` with no implementation, so a `canExport`-only
156
- * hint offered users a target that throws "not yet implemented".
154
+ * Filters on a real `export` method, not just `canExport`. For months
155
+ * format-mkdocs declared `canExport: true` with no `export` method, so a
156
+ * `canExport`-only hint offered users a target that threw "not yet
157
+ * implemented"; that gap closed 2026-09-02, but the predicate stays — it is
158
+ * what made the gap visible, and a registry test now enforces it.
157
159
  */
158
160
  export function exporterNames() {
159
161
  return FORMATS.filter((f) => f.canExport && f.export).map((f) => f.name);
package/dist/index.js CHANGED
@@ -518,6 +518,13 @@ program
518
518
  .option("--instance <id>", "Docusaurus plugin-content-docs instance id to import (e.g. calico)")
519
519
  .option("--docs-version <version>", "Docusaurus released version to import from versioned_docs (e.g. 8.9, or \"latest\"). Default: the unversioned docs dir")
520
520
  .option("--partial-mode <mode>", "Docusaurus partial handling: inline (splice the body into each page) or include (emit {% include %} + fragment files). Targets that cannot carry an include realize it back into content automatically", "inline")
521
+ // --to mkdocs. NOT --theme: that flag is the Astro preset (default
522
+ // "default"), which reached the exporter as `theme: name: default` — a
523
+ // theme MkDocs does not have — and every `convert --to mkdocs` project
524
+ // failed its first `mkdocs build`.
525
+ .option("--mkdocs-theme <name>", "MkDocs theme for the emitted mkdocs.yml (--to mkdocs): material | mkdocs | readthedocs", "material")
526
+ .option("--site-url <url>", "site_url for the emitted mkdocs.yml (--to mkdocs)")
527
+ .option("--repo-url <url>", "repo_url for the emitted mkdocs.yml (--to mkdocs)")
521
528
  .option("--section <name>", "Section name — pages go under this subfolder, nav gets a top-level entry")
522
529
  .option("--partials-dir <path>", "Directory containing partial MDX files for <Render> resolution")
523
530
  .option("--nav <path>", "Path to an explicit nav file (.json/.yml/.yaml). Overrides heuristic auto-detection in the content root.")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dogsbay",
3
- "version": "0.2.0-beta.104",
3
+ "version": "0.2.0-beta.109",
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": {
@@ -42,32 +42,32 @@
42
42
  "typescript": "^5.9.3",
43
43
  "valibot": "1.1.0",
44
44
  "yaml": "^2.9.0",
45
- "@dogsbay/adoc2md-modular": "0.2.0-beta.104",
46
- "@dogsbay/commands": "0.2.0-beta.104",
47
- "@dogsbay/autodoc-python": "0.2.0-beta.104",
48
- "@dogsbay/format-asciidoc": "0.2.0-beta.104",
49
- "@dogsbay/format-astro": "0.2.0-beta.104",
50
- "@dogsbay/format-dita": "0.2.0-beta.104",
51
- "@dogsbay/format-docusaurus": "0.2.0-beta.104",
52
- "@dogsbay/format-dogsbay-md": "0.2.0-beta.104",
53
- "@dogsbay/format-fluidtopics-markdown": "0.2.0-beta.104",
54
- "@dogsbay/format-fluidtopics-rest": "0.2.0-beta.104",
55
- "@dogsbay/format-gatsby": "0.2.0-beta.104",
56
- "@dogsbay/format-gitbook": "0.2.0-beta.104",
57
- "@dogsbay/format-hugo": "0.2.0-beta.104",
58
- "@dogsbay/format-mdx": "0.2.0-beta.104",
59
- "@dogsbay/format-mkdocs": "0.2.0-beta.104",
60
- "@dogsbay/format-myst": "0.2.0-beta.104",
61
- "@dogsbay/format-obsidian": "0.2.0-beta.104",
62
- "@dogsbay/format-openknowledge": "0.2.0-beta.104",
63
- "@dogsbay/format-openapi": "0.2.0-beta.104",
64
- "@dogsbay/format-rst": "0.2.0-beta.104",
65
- "@dogsbay/format-starlight": "0.2.0-beta.104",
66
- "@dogsbay/format-topicmap": "0.2.0-beta.104",
67
- "@dogsbay/format-vitepress": "0.2.0-beta.104",
68
- "@dogsbay/minja": "0.2.0-beta.104",
69
- "@dogsbay/serialize-core": "0.2.0-beta.104",
70
- "@dogsbay/types": "0.2.0-beta.104"
45
+ "@dogsbay/adoc2md-modular": "0.2.0-beta.109",
46
+ "@dogsbay/autodoc-python": "0.2.0-beta.109",
47
+ "@dogsbay/commands": "0.2.0-beta.109",
48
+ "@dogsbay/format-asciidoc": "0.2.0-beta.109",
49
+ "@dogsbay/format-astro": "0.2.0-beta.109",
50
+ "@dogsbay/format-dita": "0.2.0-beta.109",
51
+ "@dogsbay/format-docusaurus": "0.2.0-beta.109",
52
+ "@dogsbay/format-fluidtopics-rest": "0.2.0-beta.109",
53
+ "@dogsbay/format-dogsbay-md": "0.2.0-beta.109",
54
+ "@dogsbay/format-fluidtopics-markdown": "0.2.0-beta.109",
55
+ "@dogsbay/format-gatsby": "0.2.0-beta.109",
56
+ "@dogsbay/format-gitbook": "0.2.0-beta.109",
57
+ "@dogsbay/format-hugo": "0.2.0-beta.109",
58
+ "@dogsbay/format-mdx": "0.2.0-beta.109",
59
+ "@dogsbay/format-mkdocs": "0.2.0-beta.109",
60
+ "@dogsbay/format-myst": "0.2.0-beta.109",
61
+ "@dogsbay/format-obsidian": "0.2.0-beta.109",
62
+ "@dogsbay/format-openapi": "0.2.0-beta.109",
63
+ "@dogsbay/format-openknowledge": "0.2.0-beta.109",
64
+ "@dogsbay/format-rst": "0.2.0-beta.109",
65
+ "@dogsbay/format-starlight": "0.2.0-beta.109",
66
+ "@dogsbay/format-topicmap": "0.2.0-beta.109",
67
+ "@dogsbay/format-vitepress": "0.2.0-beta.109",
68
+ "@dogsbay/minja": "0.2.0-beta.109",
69
+ "@dogsbay/serialize-core": "0.2.0-beta.109",
70
+ "@dogsbay/types": "0.2.0-beta.109"
71
71
  },
72
72
  "devDependencies": {
73
73
  "@types/markdown-it": "^14.1.2",