Architecture docs part 1: arc42, the C4 model, runtime/deployment views and docs-as-code
When architecture documentation is worth writing (the (Cx − Cy) > Cmd rule), arc42's 12 sections and a trimmed template, the four levels of the C4 model, runtime views per use case including failure paths, deployment views per environment, and keeping docs alive with docs-as-code.