Lesson207 words

Wikis and process diagrams

Document a project by configuring wikis and process diagrams

Two kinds of wiki

KindContent lives in
Project wikiA wiki repository Azure DevOps provisions for you
Publish code as wikiA folder in an existing Git repository

The second matters more than it looks: publishing code as wiki means documentation is versioned and reviewed alongside the code it documents, so a pull request can change behaviour and its description together. A separate project wiki drifts, because nothing forces the two to move at once.

Mermaid in the wiki

The Azure DevOps wiki supports Mermaid diagrams — sequence diagrams, flowcharts, Gantt charts, class and state diagrams, user journeys, pie charts, requirements diagrams, gitgraph, entity-relationship and timeline diagrams.

Diagrams as text is the point. A Mermaid diagram diffs in a pull request, so a reviewer sees that an arrow changed; an exported PNG shows only that a binary file differs.

What to document

Favour things that are expensive to rediscover: architecture decisions and their reasoning, runbooks, onboarding. Avoid duplicating what the code already states — duplicated documentation is worse than none, because it becomes wrong without anyone noticing.

Primary sources

Ready to study Designing and Implementing Microsoft DevOps Solutions (AZ-400)?

Practice tests, flashcards, and all study notes — free, no sign-up needed.

Start Studying — Free