Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Content Mapping — Single Source of Truth

content/ is the sole authoring location. All other content paths are symlinks (or the mdBook src = "docs" view onto them). Do not author duplicate trees.

PathTargetPurpose
patternscontent/patternsGoF catalog (23 patterns + depth + category READMEs)
architecturecontent/architectureApplication (6) + System (7) + depth
principlescontent/principles110 principles in 11 category files + index
practicecontent/practice6 capstones + index

Verify: ls -la | grep -E "patterns|architecture|practice|principles"

docs/ view (mdBook src = "docs")

PathTargetPurpose
docs/patterns../content/patternsmdBook view of pattern catalog
docs/architecture../content/architecturemdBook view of architecture tutorial
docs/principles../content/principlesmdBook view of principles catalog
docs/practice../content/practicemdBook view of capstones
docs/guides../guidesmdBook view of guides
docs/examples../examplesmdBook view of runnable examples
docs/index.md../index.mdmdBook home (mirrors root landing)

Verify: find docs -type l | sort

Canonical places (no full duplication)

  • Architecture patterns are canonical in content/architecture/*. Principles entries that overlap (Hexagonal #23, Clean #24, Onion #25, Event Sourcing #51, CQRS #52) are summaries that link to the canonical architecture page.
  • Depth content is merged into the standard pages: each pattern and architecture page now contains its basic recap, complex scenario, edge cases, and expanded failure-mode guidance. The former */depth/* files and DEPTH-TEMPLATE.md are removed; their content lives in the standard page.
  • Selection guidance is canonical in guides/selection.md (three sections: patterns, architecture, principles). Category READMEs link to it; they do not maintain competing decision tables.

Redirect / move policy

  • No content deletions without a mapping entry here.
  • If a path moves, keep the old symlink until link check (5.1) is green, then remove it in a follow-up and record the replacement here.
  • Current moved paths: none pending — this file establishes the baseline.