@serene-pub/docs 0.6.0-pr-5 → 0.6.0-pr-7

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/README.md CHANGED
@@ -86,7 +86,7 @@ CommonMark with GFM tables, plus eight things:
86
86
  is copied verbatim.
87
87
  7. **Banners** — a source's `banner` is prepended to every one of its pages as
88
88
  `<aside class="doc-banner" role="note">`.
89
- 8. **Pipeline fences** — ` ```pipeline core:spec/chat-respond ` (the id is the info string
89
+ 8. **Pipeline fences** — ` ```pipeline core:spec/story-respond ` (the id is the info string
90
90
  after the word; the body is ignored and is usually empty) — become an inline SVG of
91
91
  that pipeline, laid out by [elkjs](https://github.com/kieler/elkjs)'s `layered`
92
92
  algorithm with the same 220×58 cards and spacings the app's pipeline map uses, so the
@@ -244,12 +244,12 @@ Each fence becomes:
244
244
  <figure class="doc-graph">
245
245
  <svg
246
246
  role="img"
247
- aria-labelledby="core-spec-chat-respond-title"
247
+ aria-labelledby="core-spec-story-respond-title"
248
248
  viewBox="0 0 W H"
249
249
  width="W"
250
250
  height="H"
251
251
  >
252
- <title id="core-spec-chat-respond-title">core:spec/chat-respond</title>
252
+ <title id="core-spec-story-respond-title">core:spec/story-respond</title>
253
253
  <defs><marker id="core-spec-chat-respond-arrow">…</marker></defs>
254
254
  <path class="doc-graph-edge" d="…" marker-end="url(#core-spec-chat-respond-arrow)" />
255
255
  <text class="doc-graph-edge-label">…</text>
@@ -260,7 +260,7 @@ Each fence becomes:
260
260
  <text class="doc-graph-sublabel">type id</text>
261
261
  </g>
262
262
  </svg>
263
- <figcaption>core:spec/chat-respond</figcaption>
263
+ <figcaption>core:spec/story-respond</figcaption>
264
264
  </figure>
265
265
  ```
266
266
 
@@ -270,7 +270,7 @@ what has to be unique on a page**, not merely present.
270
270
 
271
271
  The `<svg>` carries a `viewBox` and matching `width`/`height`, so it is the host that
272
272
  decides whether a wide graph scrolls or scales — `.doc-graph { overflow-x: auto }` or
273
- `.doc-graph svg { max-width: 100%; height: auto }`. Core's `core:spec/chat-respond` lays out
273
+ `.doc-graph svg { max-width: 100%; height: auto }`. Core's `core:spec/story-respond` lays out
274
274
  at about 2400×1360, so this is not a hypothetical: style it or it will overrun the
275
275
  column, exactly as a wide `.doc-table` does.
276
276
 
package/dist/dialect.js CHANGED
@@ -352,7 +352,7 @@ export async function renderMarkdown(markdown, opts) {
352
352
  const DESCENDS_INTO = new Set(['blockquote', 'docAdmonition']);
353
353
  /** Tokens that contribute nothing a reader would want to see in a search hit. */
354
354
  const PREVIEW_SKIPS = new Set(['space', 'hr', 'code', 'docFigure']);
355
- /** A fence's info string, as words: ` ```pipeline core:spec/chat-respond ` → two. */
355
+ /** A fence's info string, as words: ` ```pipeline core:spec/story-respond ` → two. */
356
356
  function infoWords(lang) {
357
357
  return String(lang ?? '')
358
358
  .trim()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@serene-pub/docs",
3
- "version": "0.6.0-pr-5",
3
+ "version": "0.6.0-pr-7",
4
4
  "description": "Serene Pub's docs compiler: markdown sources plus rendered announcement pages in, a manifest, a search index and one HTML file per page out.",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://github.com/SerenePub/serene-pub-sdk/tree/main/docs#readme",
@@ -51,7 +51,7 @@
51
51
  "shiki": "^4.4.3"
52
52
  },
53
53
  "peerDependencies": {
54
- "@serene-pub/sdk": "^0.6.0-pr-5"
54
+ "@serene-pub/sdk": "^0.6.0-pr-7"
55
55
  },
56
56
  "peerDependenciesMeta": {
57
57
  "@serene-pub/sdk": {
@@ -59,7 +59,7 @@
59
59
  }
60
60
  },
61
61
  "devDependencies": {
62
- "@serene-pub/sdk": "0.6.0-pr-5"
62
+ "@serene-pub/sdk": "0.6.0-pr-7"
63
63
  },
64
64
  "publishConfig": {
65
65
  "access": "public",