Skip to content

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

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

feat(docs): adopt @conduction/docusaurus-preset + move to procest.conduction.nl#316
rubenvdlinde merged 1 commit intodevelopmentfrom
feature/conduction-nl-migration

Conversation

@rubenvdlinde
Copy link
Copy Markdown
Contributor

Summary

  • Migrates the Procest documentation site from procest.app to procest.conduction.nl, adopting @conduction/docusaurus-preset@^1.4.3 for shared brand defaults (tokens, theme swizzles for Navbar / Footer, KvK / BTW copyright). Mirrors the docudesk migration and openregister PR #1444 since Procest also has an in-app reference to the docs URL.
  • Rewrites docs/docusaurus.config.js through createConfig() with the brand theme + theme-mermaid, preserves en + nl locales, reduces the footer to the brand Conduction column, disables minigames, and excludes src/** from plugin-content-docs (preset 1.4.x convention to keep MDX-ESM out of plugin-content-pages territory).
  • Replaces docs/src/pages/index.js with a DetailHero + WidgetShelf landing mirroring the connext detail page at design-system/sites/www/src/pages/apps/procest.mdx: clock-face icon, iconColor: var(--c-orange-knvb), three widget cards (Werkvoorraad, Deadlines, Recent decisions).
  • Refreshes docs/static/CNAME and .github/workflows/documentation.yml (cname: procest.conduction.nl), and updates the lockfile to pull the new preset.
  • In-app fix: src/views/settings/Settings.vue had a doc-url="https://procest.app" attribute on the <CnSettingsSection> component. Switched to https://procest.conduction.nl/docs/intro so the in-app Settings deep-link reaches the migrated docs site. (No procest.app reference exists in src/store/store.js after a full repo grep — the only in-app occurrence was the Settings.vue one above.)

Locales

  • en (default), nl. Both locales build cleanly under the new preset.

Build verification

Ran cd docs && npm install --legacy-peer-deps --no-audit --no-fund && npm run build locally. Both build/ (en) and build/nl/ (nl) generated successfully. Pre-existing onBrokenLinks: 'warn' surfaces a handful of /privacy/, /terms/, /iso/ warnings sourced from the preset footer; these are warnings, not errors, and predate this change.

No docs.exclude entries were needed beyond the standard src/** + node_modules/** (no broken pre-existing MDX in this repo to skip).

Test plan

  • CI green on the documentation workflow build job.
  • After merge: confirm DNS for procest.conduction.nl resolves to GitHub Pages.
  • Visit /docs/intro from inside Procest's Settings panel and verify the new site loads.
  • Sanity-check the brand DetailHero + WidgetShelf landing on /.

Do not admin-merge — leave open until CI + DNS check.

…duction.nl

Migrates the Procest documentation site from procest.app to
procest.conduction.nl and adopts @conduction/docusaurus-preset@^1.4.3
for shared brand defaults (tokens, theme swizzles, KvK / BTW footer
copyright). Mirrors the docudesk migration since both apps embed an
in-app reference to the docs URL.

- docs/docusaurus.config.js: rewritten through createConfig() with
  brand theme + theme-mermaid, en + nl locales preserved, footer
  reduced to the brand Conduction column, minigames disabled, src/**
  excluded from plugin-content-docs to avoid the MDX-parser collision
  with plugin-content-pages.
- docs/package.json: adds @conduction/docusaurus-preset@^1.4.3.
  Lockfile refreshed.
- docs/static/CNAME: procest.conduction.nl.
- .github/workflows/documentation.yml: cname updated.
- docs/src/pages/index.js: replaced the legacy hero with the brand
  DetailHero + WidgetShelf composition, mirroring the connext detail
  page (clock-face icon, orange accent, three widgets reflecting
  Procest's value: werkvoorraad, deadlines, recent decisions).

In-app fix:
- src/views/settings/Settings.vue: doc-url switched from
  https://procest.app to https://procest.conduction.nl/docs/intro so
  the Settings panel deep-links into the new docs site.
@rubenvdlinde rubenvdlinde merged commit 0b84b97 into development May 7, 2026
26 of 36 checks passed
@rubenvdlinde rubenvdlinde deleted the feature/conduction-nl-migration branch May 7, 2026 20:51
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 7, 2026

Quality Report — ConductionNL/procest @ 51312d6

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

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

Download the full PDF report from the workflow artifacts.

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