Skip to content

feat: ship a default Docusaurus docs site + journeydoc scaffold#36

Merged
rubenvdlinde merged 1 commit into
developmentfrom
feature/default-docs-scaffold
May 13, 2026
Merged

feat: ship a default Docusaurus docs site + journeydoc scaffold#36
rubenvdlinde merged 1 commit into
developmentfrom
feature/default-docs-scaffold

Conversation

@rubenvdlinde
Copy link
Copy Markdown
Contributor

Every new Conduction app currently inherits only a documentation.yml deploy-workflow stub with no Docusaurus site behind it — so each one is "green-field" and needs the docs site stood up by hand (and journeydoc-init's SKILL.md punts that). This adds the default:

  • docs/ on @conduction/docusaurus-preset 2.6.1 — createConfig/BRAND_THEME, brand <DetailHero>/<WidgetShelf> landing page (src/pages/index.js), intro.md, custom.css, sidebars.js, regenerated package-lock.json, static/CNAME = app-template.conduction.nl, static/img/logo.svg.
  • journeydoc scaffold (hydra ADR-030) — tutorials/{_category_,user/,admin/} with two stock tutorial stories mapped to the template's two stock features: user "Open the app for the first time"Dashboard, admin "Manage settings"Admin Settings; tests/e2e/docs-screenshots.spec.ts capture spec with UN first-launch + AN admin-settings stubs; playwright.config.ts with chromium (regression, ignores the capture spec) + docs-capture projects.
  • .github/workflows/documentation.yml — fixed to deploy from development to <slug>.conduction.nl (was: triggers on the documentation branch, cname: app-template.app).
  • .gitignoredocs/ build artefacts, docs/i18n/nl/, Playwright outputs.
  • README.md — Screenshots section now points at the journeydoc workflow, the directory-structure block lists docs/ + tests/e2e/ + playwright.config.ts, and a Documentation section describes the docs-site build + deploy.

Build verified locally (cd docs && npm ci --legacy-peer-deps && npm run build[SUCCESS] Generated static files). Remaining build warnings are the preset footer's /privacy/ /terms/ /iso/ links (pages this site doesn't ship) and Docusaurus's auto-generated category cross-links — same as decidesk's docs site.

Leave open for review — this propagates to every future app via the template's app-template string substitution. Follow-up: tighten journeydoc-init's SKILL.md to say the app already has the scaffold (it becomes purely brown-field — instrument + add-story, no init drop).

…fold

Every new Conduction app currently inherits only a documentation.yml
deploy-workflow stub with no Docusaurus site behind it. This adds the
default so a scaffolded app is born docs-ready:

- docs/ on @conduction/docusaurus-preset 2.6.1 — createConfig/BRAND_THEME,
  brand <DetailHero>/<WidgetShelf> landing page, intro.md, custom.css,
  sidebars.js, package-lock.json, static/CNAME (app-template.conduction.nl),
  static/img/logo.svg.
- journeydoc scaffold (hydra ADR-030) — tutorials/{_category_,user/,admin/}
  with two stock stories (user "open the app for the first time" → Dashboard,
  admin "manage settings" → Admin Settings), tests/e2e/docs-screenshots.spec.ts
  capture suite, and playwright.config.ts with chromium + docs-capture projects.
- .github/workflows/documentation.yml — deploy from `development` to
  app-template.conduction.nl (was: `documentation` branch / app-template.app).
- .gitignore — docs/ build artefacts, docs/i18n/nl/, playwright outputs.
- README.md — Screenshots section now points at the journeydoc workflow,
  directory-structure block lists docs/ + tests/e2e/ + playwright.config.ts,
  and a Documentation section describes the docs-site build + deploy.

Build verified locally (`npm ci --legacy-peer-deps && npm run build`).
@github-actions
Copy link
Copy Markdown
Contributor

Quality Report — ConductionNL/nextcloud-app-template @ dd88779

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

Coverage: 0% (0/3 statements)


Quality workflow — 2026-05-12 22:42 UTC

Download the full PDF report from the workflow artifacts.

@rubenvdlinde rubenvdlinde merged commit 0dff2f5 into development May 13, 2026
51 of 52 checks passed
@rubenvdlinde rubenvdlinde deleted the feature/default-docs-scaffold branch May 13, 2026 04:28
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