Skip to content

Restructure docs into a domain x type model#5

Merged
mathieusouflis merged 9 commits into
mainfrom
docs/domain-type-restructure
Jul 1, 2026
Merged

Restructure docs into a domain x type model#5
mathieusouflis merged 9 commits into
mainfrom
docs/domain-type-restructure

Conversation

@mathieusouflis

Copy link
Copy Markdown
Owner

Summary

  • Replaces the ad-hoc docs/getting-started/ + docs/developer-guide/ layout with a domain (product-code / operations / team-process / organizational) x type (concept / how-to / reference / decisions / tutorials / runbooks) structure, indexed by docs/README.md
  • Migrates existing content (getting-started guide, code style) into the new tree; dissolves the FAQ (duplicated CONTRIBUTING content removed, troubleshooting folded into the getting-started tutorial, pure-navigation Q&A dropped since the grid itself now serves that role)
  • Adds real default content derived from the repo as it stands today: an environment-variables reference generated from .env.example, and a CI/CD pipeline doc describing the actual ci.yml / release.yml / commitlint.yml / dependabot.yml config
  • Adds todo_*.md placeholder files (with the right frontmatter/skeleton) for grid cells a template genuinely can't fill in yet — architecture overview, first decision record, deployment runbook, tool inventory, role charter, tooling-choice decision
  • README.md / CONTRIBUTING.md become thin entry points into the new docs tree instead of duplicating content; GitHub-native fixed-path files (CODE_OF_CONDUCT.md, SECURITY.md, LICENSE, .github/CODEOWNERS) are untouched
  • Fixes stale links in .github/SUPPORT.md left over from the old structure
  • Adds a non-blocking check for remaining todo_*.md files, in both .githooks/pre-push and a new independent docs-todo-check CI job — mirrors the existing local-hook + CI-backstop pattern already used for commit-msg validation

Test plan

  • Skim docs/README.md and confirm every linked file exists and renders
  • Click through the relative links in the migrated getting-started.md, code-style.md, and the new README.md / CONTRIBUTING.md entry points
  • Confirm docs/getting-started/ and docs/developer-guide/ are gone with no remaining references anywhere in the repo
  • Push a branch locally to confirm the pre-push hook lists the todo_*.md files without blocking the push
  • Open this PR itself as a sanity check that the docs-todo-check CI job runs and posts warnings without failing the build

…tting it

Commit conventions, bug/feature reporting, and PR process move back into
CONTRIBUTING.md and stay there, matching how CODE_OF_CONDUCT.md and
SECURITY.md are already treated: content stays at the GitHub-fixed path,
the grid links to it rather than absorbing it. GitHub surfaces
CONTRIBUTING.md directly when a contributor opens a PR or issue, so
splitting it into docs/team-process added a click at exactly the moment
someone needs the answer fastest.
…on entry

The Development section's placeholder commands were pure duplication of
docs/product-code/tutorials/getting-started.md's Common Commands section
and were correctly dropped during the restructure, but the Table of
Contents still linked to it. Also add the Documentation section, which
existed but was never listed.
@sonarqubecloud

sonarqubecloud Bot commented Jul 1, 2026

Copy link
Copy Markdown

@mathieusouflis mathieusouflis enabled auto-merge (rebase) July 1, 2026 21:45
@mathieusouflis mathieusouflis disabled auto-merge July 1, 2026 21:45
@mathieusouflis mathieusouflis merged commit 652daf4 into main Jul 1, 2026
6 checks passed
@mathieusouflis mathieusouflis deleted the docs/domain-type-restructure branch July 1, 2026 21:45
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