dogsbay 0.2.0-beta.126 → 0.2.0-beta.127

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dogsbay",
3
- "version": "0.2.0-beta.126",
3
+ "version": "0.2.0-beta.127",
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,36 +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.126",
47
- "@dogsbay/autodoc-python": "0.2.0-beta.126",
48
- "@dogsbay/commands": "0.2.0-beta.126",
49
- "@dogsbay/format-asciidoc": "0.2.0-beta.126",
50
- "@dogsbay/format-astro": "0.2.0-beta.126",
51
- "@dogsbay/format-dita": "0.2.0-beta.126",
52
- "@dogsbay/format-docusaurus": "0.2.0-beta.126",
53
- "@dogsbay/format-dogsbay-md": "0.2.0-beta.126",
54
- "@dogsbay/format-fluidtopics-markdown": "0.2.0-beta.126",
55
- "@dogsbay/format-fluidtopics-rest": "0.2.0-beta.126",
56
- "@dogsbay/format-gatsby": "0.2.0-beta.126",
57
- "@dogsbay/format-gitbook": "0.2.0-beta.126",
58
- "@dogsbay/format-hugo": "0.2.0-beta.126",
59
- "@dogsbay/format-mdx": "0.2.0-beta.126",
60
- "@dogsbay/format-mkdocs": "0.2.0-beta.126",
61
- "@dogsbay/format-myst": "0.2.0-beta.126",
62
- "@dogsbay/format-obsidian": "0.2.0-beta.126",
63
- "@dogsbay/format-openapi": "0.2.0-beta.126",
64
- "@dogsbay/format-rst": "0.2.0-beta.126",
65
- "@dogsbay/format-openknowledge": "0.2.0-beta.126",
66
- "@dogsbay/format-starlight": "0.2.0-beta.126",
67
- "@dogsbay/format-topicmap": "0.2.0-beta.126",
68
- "@dogsbay/format-vitepress": "0.2.0-beta.126",
69
- "@dogsbay/minja": "0.2.0-beta.126",
70
- "@dogsbay/render": "0.2.0-beta.126",
71
- "@dogsbay/render-html": "0.2.0-beta.126",
72
- "@dogsbay/serialize-core": "0.2.0-beta.126",
73
- "@dogsbay/site-check": "0.2.0-beta.126",
74
- "@dogsbay/site-files": "0.2.0-beta.126",
75
- "@dogsbay/types": "0.2.0-beta.126"
46
+ "@dogsbay/adoc2md-modular": "0.2.0-beta.127",
47
+ "@dogsbay/commands": "0.2.0-beta.127",
48
+ "@dogsbay/format-asciidoc": "0.2.0-beta.127",
49
+ "@dogsbay/autodoc-python": "0.2.0-beta.127",
50
+ "@dogsbay/format-astro": "0.2.0-beta.127",
51
+ "@dogsbay/format-dita": "0.2.0-beta.127",
52
+ "@dogsbay/format-docusaurus": "0.2.0-beta.127",
53
+ "@dogsbay/format-dogsbay-md": "0.2.0-beta.127",
54
+ "@dogsbay/format-gatsby": "0.2.0-beta.127",
55
+ "@dogsbay/format-fluidtopics-markdown": "0.2.0-beta.127",
56
+ "@dogsbay/format-gitbook": "0.2.0-beta.127",
57
+ "@dogsbay/format-fluidtopics-rest": "0.2.0-beta.127",
58
+ "@dogsbay/format-mdx": "0.2.0-beta.127",
59
+ "@dogsbay/format-hugo": "0.2.0-beta.127",
60
+ "@dogsbay/format-mkdocs": "0.2.0-beta.127",
61
+ "@dogsbay/format-myst": "0.2.0-beta.127",
62
+ "@dogsbay/format-obsidian": "0.2.0-beta.127",
63
+ "@dogsbay/format-openapi": "0.2.0-beta.127",
64
+ "@dogsbay/format-openknowledge": "0.2.0-beta.127",
65
+ "@dogsbay/format-starlight": "0.2.0-beta.127",
66
+ "@dogsbay/format-rst": "0.2.0-beta.127",
67
+ "@dogsbay/format-topicmap": "0.2.0-beta.127",
68
+ "@dogsbay/format-vitepress": "0.2.0-beta.127",
69
+ "@dogsbay/minja": "0.2.0-beta.127",
70
+ "@dogsbay/render": "0.2.0-beta.127",
71
+ "@dogsbay/render-html": "0.2.0-beta.127",
72
+ "@dogsbay/serialize-core": "0.2.0-beta.127",
73
+ "@dogsbay/site-files": "0.2.0-beta.127",
74
+ "@dogsbay/site-check": "0.2.0-beta.127",
75
+ "@dogsbay/types": "0.2.0-beta.127"
76
76
  },
77
77
  "devDependencies": {
78
78
  "@mdx-js/mdx": "^3.1.1",
@@ -192,15 +192,15 @@ Code gets a copy button automatically. Pass `--highlight` to colour it.
192
192
 
193
193
  ## Nesting
194
194
 
195
- When a directive contains another, the outer fence needs more colons:
195
+ Each `:::` closes the innermost block still open, so give every block its own closer:
196
196
 
197
197
  ```markdown
198
- ::::steps
198
+ :::steps
199
199
  1. **Check the lag**
200
200
  :::warning
201
201
  Above 30 s, page the on-call DBA.
202
202
  :::
203
- ::::
203
+ :::
204
204
  ```
205
205
 
206
206
  ## Not available in a single page
@@ -18,45 +18,43 @@ content
18
18
  :::
19
19
  ```
20
20
 
21
- Use `::::` (four colons) when the content itself contains `:::`
22
- (e.g., a directive nested inside another).
21
+ Nested directives can all use `:::` (see Nesting below).
23
22
 
24
- ### Nesting: outer fence must be longer
23
+ ### Nesting: one closer per block
25
24
 
26
- When a directive contains another directive, **the outer fence
27
- must be longer (more colons) than the inner**. Same rule as
28
- code fences. The parser closes a fence at the first matching
29
- line of the same-or-shorter length, so an inner `:::` will
30
- prematurely close a `:::` outer — leaving the rest of the
31
- content stranded outside the directive.
32
-
33
- ❌ Wrong — the inner `:::` closes the outer `:::steps`:
25
+ Directives nest like XML elements: a closing `:::` ends the
26
+ innermost block still open, so plain `:::` works at every level.
27
+ Write one closer per opener, innermost first:
34
28
 
35
29
  ```markdown
36
30
  :::steps
37
31
  1. Install
38
- :::warning
39
- Don't skip this.
40
- :::
32
+
33
+ :::warning
34
+ Don't skip this.
35
+ :::
36
+
41
37
  2. Configure
42
38
  :::
43
39
  ```
44
40
 
45
- ✅ Right — the four-colon outer survives the three-colon inner:
41
+ ❌ Wrong — one `:::` closes ONE block, so this leaves `:::details`
42
+ open to the end of the page (`unclosed-container`):
46
43
 
47
44
  ```markdown
48
- ::::steps
49
- 1. Install
45
+ :::details{summary="Setup"}
50
46
  :::warning
51
47
  Don't skip this.
52
48
  :::
53
- 2. Configure
54
- ::::
49
+
50
+ More text.
55
51
  ```
56
52
 
57
- Add another colon for each level of nesting (`:::::` for a
58
- directive inside a `::::` outer, and so on). Most pages never
59
- go past two levels.
53
+ Scaled colons (`::::steps` around `:::warning`, closed with
54
+ `::::`) still read the same, and are what parsers before
55
+ beta.127 need. Scale anyway when the inner block is a name
56
+ Dogsbay does not know (`:::widget`): the nesting does not count
57
+ it.
60
58
 
61
59
  ## Callouts
62
60