Skip to content

docs: refresh READMEs for v8#1479

Merged
mathuo merged 1 commit into
v8-branchfrom
claude/readme-refresh-v8
Jul 16, 2026
Merged

docs: refresh READMEs for v8#1479
mathuo merged 1 commit into
v8-branchfrom
claude/readme-refresh-v8

Conversation

@mathuo

@mathuo mathuo commented Jul 16, 2026

Copy link
Copy Markdown
Owner

Refreshes the root README and all six published package READMEs for v8. Started as a logo/image swap and turned up a number of real bugs along the way.

Bugs fixed

The Quick Start theming didn't work. className is a real DockviewOptions field, so it type-checks, but it isn't the theming API — updateTheme() reads this._options.theme ?? themeAbyss and applies that to the shell. The docs settle it (theming.mdx): "For dock components pass the theme object to the theme property. For other components such as split, pane, and grid views, set the theme's associated CSS class on the className property." Every README now passes theme and this was wrong in all six.

The Angular example wouldn't compile. It imported DockviewModule (the real export is DockviewAngularModule) and used <dockview-angular> (the selector is dv-dockview). Both now match the source and the templates/dockview/*/angular examples.

The licence link was broken. [LICENSE](./LICENSE) 404s — the file is LICENCE.md. The section also claimed a flat "MIT", which is no longer true.

The provenance anchor was wrong in the root README (#user-content-provenance); #Provenance is the working form, confirmed manually.

Peer ranges were overstated: React is ^16.8 || ^17 || ^18 || ^19 (not open-ended >=16.8), Angular is >=21.0.6. Plus the long-standing "Security at mind" typo.

Presentation

  • Brand lockup via <picture>, light/dark aware, sourced from the brand kit as SVG (2.8KB vs 33KB PNG, no font dependency). Verified the swap works on GitHub — themed-picture handles it even though GitHub injects an <a> inside the <picture>.
  • Hero swapped to demo-hero.webp.
  • All badges consolidated onto shields.io: one centred row at 632px (was 811px across four providers). Every badge verified live.
  • Build-tool detail (NX, Biome) and the build-order diagram dropped from the root README; AGENTS.md already documents them for contributors.

Positioning

  • dockview-core reframed as an internal package that redirects to dockview — it previously marketed itself with badges and install instructions on its own npm page.
  • dockview-enterprise listed in the packages table, with lockup, badges and a commercial licence note. No bundle size badge: bundlephobia 429s on the 0.0.0 placeholder and the badge renders as an error string.
  • AGENTS.md gains a Public Documentation section recording the conventions applied here.

Before publishing v8

None need code changes, but all three are gated on this merging to master first:

  • The package READMEs resolve images via blob/HEAD, so the two lockups and demo-hero.webp must be on master or the images 404 on the npm pages.
  • [licensing](https://dockview.dev/docs/overview/features) 404s until the v8 docs deploy (features.mdx is v8-branch only).
  • dockview-enterprise still shows v0.0.0 on npm until a real version publishes.

🤖 Generated with Claude Code

Root README:
- Add the brand lockup via <picture>, light/dark aware; swap the hero to
  demo-hero.webp
- Consolidate the badge row onto shields.io and centre it (one row, 632px)
- Fix the Quick Start: `className` is not the theming API, use `theme={themeDark}`
- Fix the broken ./LICENSE link and state the multi-licence split
- List dockview-enterprise in the packages table
- Correct the React (16.8-19) and Angular (>=21.0.6) peer ranges
- Drop build-tool detail (NX, Biome) and the build-order diagram; AGENTS.md
  already documents these for contributors
- Fix the #Provenance anchor

Published package READMEs:
- Add the lockup and demo-hero, consolidate badges onto shields.io
- Fix theming to the `theme` property across every binding
- Fix the Angular example: DockviewAngularModule (not DockviewModule) and
  <dv-dockview> (not <dockview-angular>)
- Reframe dockview-core as an internal package that redirects to dockview
- dockview-enterprise: lockup, badges, and a commercial licence note

AGENTS.md:
- Document the public-documentation conventions: dockview-core is internal,
  the module system is internal, don't enumerate enterprise features, don't
  document the unlicensed behaviour

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@mathuo
mathuo merged commit 8b1d157 into v8-branch Jul 16, 2026
4 checks passed
@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant