duckfn-docs-kit 0.4.0 → 0.4.2

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.
@@ -1,23 +0,0 @@
1
- /**
2
- * What a downloaded diagram is called.
3
- *
4
- * The name is derived from the page, not from the diagram: a diagram has no name
5
- * of its own, and the reader downloading one is after "the diagram from that
6
- * section", not `mermaid-diagram.svg`.
7
- *
8
- * Three sources, most specific first, each falling back to the next:
9
- *
10
- * 1. **The diagram's own title** — mermaid's frontmatter
11
- * (`---\ntitle: …\n---`, which mermaid itself draws above the diagram).
12
- * 2. **The nearest heading above it** — the section the diagram belongs to, which
13
- * on a docs page is what a reader would call it.
14
- * 3. **The document title** — the browser tab's title, for a diagram that sits
15
- * above every heading on its page.
16
- *
17
- * Nothing found → {@link DEFAULT_DIAGRAM_FILE}.
18
- *
19
- * This is browser-only code.
20
- */
21
- /** Used when nothing on the page says anything about this diagram. */
22
- export declare const DEFAULT_DIAGRAM_FILE = "mermaid-diagram.svg";
23
- export declare function diagramFileName(source: string, element: Element): string;