Skip to content
This repository was archived by the owner on May 29, 2026. It is now read-only.

feat(docs): adopt @conduction/docusaurus-preset + move to nldesign.conduction.nl#59

Merged
rubenvdlinde merged 1 commit into
developmentfrom
feature/conduction-nl-migration
May 7, 2026
Merged

feat(docs): adopt @conduction/docusaurus-preset + move to nldesign.conduction.nl#59
rubenvdlinde merged 1 commit into
developmentfrom
feature/conduction-nl-migration

Conversation

@rubenvdlinde

Copy link
Copy Markdown
Contributor

Summary

Adopts the shared @conduction/docusaurus-preset@^1.4.3 for the NLDesign docs site and moves it to nldesign.conduction.nl. Mirrors the openregister migration (ConductionNL/openregister#1444) and the mydash one before it.

The docs site now inherits brand defaults (tokens, Navbar/Footer swizzles, KvK/BTW copyright, hex-watermark hero) and gets a brand-aligned landing page composed from <DetailHero> + <WidgetShelf>.

Changes

  • docs/docusaurus.config.js - rewritten to call createConfig() from @conduction/docusaurus-preset. Keeps nldesign-specific bits: NL+EN i18n, mermaid theme, custom prism themes, Documentation+GitHub navbar items. Footer reduced to the brand "Conduction" column via baseFooterLinks().filter(...). minigames: false to drop the canal-footer mini-games on this product-doc surface.
  • docs/package.json + docs/package-lock.json - adds @conduction/docusaurus-preset@^1.4.3.
  • docs/src/pages/index.js - replaces the homepage with <DetailHero> (design-palette icon copied from the connext detail mdx, orange accent, Install/Docs/GitHub CTAs) + a 3-card <WidgetShelf> (type scale, colour palette, component variants). Authored as .js not .mdx to avoid the docs-plugin/pages-plugin scan collision.
  • docs/static/CNAME - nldesign.app -> nldesign.conduction.nl.
  • .github/workflows/documentation.yml - cname: updated to nldesign.conduction.nl.

URL change

Production docs URL moves from https://nldesign.app to https://nldesign.conduction.nl. Old hardcoded nldesign.app references remain in DEVELOPMENT.md, test-guide.md, and several openspec/specs/* + openspec/changes/archive/* files (28 total). They are flagged for a follow-up sweep, not changed in this PR to keep the diff scoped.

Build outcome

cd docs && npm install --legacy-peer-deps --no-audit --no-fund && npm run build succeeds for both en and nl locales. Warnings only:

  • Preset app-downloads.json lookup at ../../../data/app-downloads.json (harmless preset quirk; site builds without the data file).
  • Footer broken-link warnings for /privacy/, /terms/, /iso/ (preset footer references brand legal pages that don't exist on this docs site; broken-link policy is warn, not throw).

No docs.exclude overrides needed for pre-existing MDX files - all docs parse cleanly under MDX 3.

Test plan

  • Confirm docs/build/index.html and docs/build/nl/index.html render correctly on a local preview.
  • Verify nldesign.conduction.nl DNS / GitHub Pages routing once a maintainer merges and the documentation workflow runs from the documentation branch.
  • Open follow-up issue to sweep remaining nldesign.app references in DEVELOPMENT.md, test-guide.md, and openspec/specs/**.

…nduction.nl

Mirrors the openregister docs migration (ConductionNL/openregister#1444)
and the mydash one before it. The docs site now inherits brand defaults
(tokens, Navbar/Footer swizzles, KvK/BTW copyright, hex-watermark hero)
and gets a brand-aligned landing page composed from <DetailHero> +
<WidgetShelf>.

- docs/docusaurus.config.js — rewritten to call createConfig() from
  @conduction/docusaurus-preset. Keeps nldesign-specific bits: NL+EN
  i18n, mermaid theme, custom prism themes, Documentation+GitHub navbar
  items. Footer reduced to the brand "Conduction" column via
  baseFooterLinks().filter(...). minigames: false to drop the
  canal-footer mini-games on this product-doc surface.
- docs/package.json + docs/package-lock.json — adds
  @conduction/docusaurus-preset@^1.4.3.
- docs/src/pages/index.js — replaces the homepage with <DetailHero>
  (design-palette icon, orange accent, Install/Docs/GitHub CTAs) + a
  3-card <WidgetShelf> (type scale, colour palette, component variants).
  Authored as .js not .mdx to avoid the docs-plugin/pages-plugin scan
  collision.
- docs/static/CNAME — nldesign.app -> nldesign.conduction.nl.
- .github/workflows/documentation.yml — cname: updated to
  nldesign.conduction.nl.

Production docs URL moves from https://nldesign.app to
https://nldesign.conduction.nl.
@rubenvdlinde rubenvdlinde merged commit aa4b935 into development May 7, 2026
45 checks passed
@rubenvdlinde rubenvdlinde deleted the feature/conduction-nl-migration branch May 7, 2026 20:49
@github-actions

github-actions Bot commented May 7, 2026

Copy link
Copy Markdown
Contributor

Quality Report — ConductionNL/nldesign @ f28057d

Check PHP Vue Security License Tests
lint
phpcs
phpmd
psalm
phpstan
phpmetrics
eslint
stylelint
composer ✅ 100/100
npm ✅ 7/7
PHPUnit
Newman ⏭️
Playwright ⏭️

Coverage: 0% (0/24 statements)


Quality workflow — 2026-05-07 20:50 UTC

Download the full PDF report from the workflow artifacts.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant