Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
🚀 Deploying Preview to Cloudflare 🚀Preview Deployments by commit
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## feat/typedoc #1126 +/- ##
================================================
+ Coverage 92.92% 92.94% +0.02%
================================================
Files 260 262 +2
Lines 25219 25341 +122
Branches 2573 2589 +16
================================================
+ Hits 23434 23553 +119
- Misses 1763 1766 +3
Partials 22 22 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
| File | Main | PR | Change |
|---|---|---|---|
orama-db.json |
9.55 MB | 9.55 MB | +150.00 B (+0.0%) |
Performance estimate (single CI run)
- Generation time: 7.5% slower (7.86 s → 8.45 s)
- Peak memory: 3.3% lower (1.80 GB → 1.74 GB)
web Generator
Output size: 2 files changed · net +201.00 B
File size details
| File | Main | PR | Change |
|---|---|---|---|
assets/style-Dpi-h_PZ.css |
— | 137.38 KB | +137.38 KB |
assets/style-CgRaeUUe.css |
137.19 KB | — | -137.19 KB (-100.0%) |
Performance estimate (single CI run)
- Generation time: 20.9% faster (66.32 s → 52.44 s)
- Peak memory: 3.6% higher (3.17 GB → 3.29 GB)
c5443ac to
b3c28ef
Compare
|
We support the ability for consumers to define their own plugins, wouldn't this be better as a consumer plugin than in core? wdyt @nodejs/web |
IMO this part can be usefull for learn so let's include it in doc-kit |
|
i mean, this is just a remark plugin, so i think it makes more sense for consumers to just import a plugin into their configurations |
b3c28ef to
68db2e6
Compare
68db2e6 to
0c55f75
Compare
0c55f75 to
26da706
Compare
When the optional `@hpcc-js/wasm-graphviz` dependency is installed, ```dot code blocks become inline SVG diagrams. Colors written as `${light|dark}` render a diagram per color scheme.
Assisted-by: Claude Opus 5.5 <noreply@anthropic.com>
Assisted-by: Claude Opus 5.5 <noreply@anthropic.com>
Assisted-by: Claude Opus 5.5 <noreply@anthropic.com>
Assisted-by: Claude Opus 5.5 <noreply@anthropic.com>
26da706 to
253bd41
Compare
Description
This PR renders
dotcode blocks as Graphviz diagrams (inline SVG) when the optional@hpcc-js/wasm-graphvizpeer dependency is installed. Without it, they stay code blocks, so nothing changes for sites that don't use diagrams.Colors written as
${light|dark}(e.g.color="${#3c3c43|#dfdfd6}") render the diagram once per color scheme, andui/index.cssshows the one matchingdata-theme.Graphviz loads once per worker at import time, like Shiki, since the Markdown pipeline runs synchronously.
This is part of a proof of concept of migrating rolldown.rs from VitePress to doc-kit. Rolldown's docs have 8 Graphviz diagrams, which currently need a custom pre-build step.
Validation
dotblocks become inline SVG, other code blocks are left alone, and themed colors render a light and a dark diagram.Related Issues
Part of the Rolldown docs migration PoC: rolldown/rolldown#11072. It's the middle of a stack: #1125 (TypeDoc plugin) → #1126 (Graphviz diagrams) → #1127 (llms-full), each targeting the one below. The changes don't depend on each other, the stack just keeps them reviewable one at a time while the Rolldown PoC builds from the top branch.
Check List
node --run testand all tests passed.node --run format:check&node --run lint.