Fatskills
Practice. Master. Repeat.
Study Guide: Technical Writing and Documentation 101: Conceptual Guides and White Papers (Architecture, Design Rationale)
Source: https://www.fatskills.com/bvat/chapter/technical-writing-and-documentation-conceptual-guides-and-white-papers-architecture-design-rationale

Technical Writing and Documentation 101: Conceptual Guides and White Papers (Architecture, Design Rationale)

By Fatskills Exam Guides Team — the exam nerds behind 28,500+ quizzes and 2.1M practice questions across 500+ global exams.

⏱️ ~9 min read

Conceptual Guides and White Papers (Architecture, Design Rationale)


Conceptual Guides & White Papers: A Portfolio-Ready Study Guide

(For Technical Writers, Developers Transitioning to Writing, and Writers Modernizing Their Skills)


What This Is

Conceptual guides and white papers explain why and how a system works—not just what it does. They bridge the gap between high-level overviews and low-level reference docs, helping users (developers, architects, or business stakeholders) understand design decisions, trade-offs, and best practices.

Real-world example:
- Conceptual guide: Stripe’s "Payment Intents" guide explains the rationale behind their API design (e.g., why they moved from "Charges" to "Payment Intents" for dynamic payment flows).
- White paper: AWS’s "Well-Architected Framework" outlines cloud design principles (e.g., cost optimization, security) with case studies.

These docs reduce support tickets, onboard users faster, and build trust in your product’s architecture.


Key Terms & Tools

  • Conceptual documentation: Explains why a system exists, its core principles, and high-level workflows (e.g., "How OAuth 2.0 works"). Contrast with reference docs (e.g., API endpoints) or tutorials (step-by-step tasks).
  • Tools: Markdown (for docs-as-code), DITA (for structured authoring), or static site generators (e.g., Sphinx, Docusaurus).

  • White paper: A deep-dive report (5–20 pages) targeting technical decision-makers (e.g., CTOs, architects). Often includes data, diagrams, and comparisons (e.g., "Why We Chose Kafka Over RabbitMQ").

  • Tools: LaTeX (for academic rigor), Google Docs (for collaboration), or Notion (for internal drafts).

  • Architecture Decision Record (ADR): A lightweight doc capturing a key design choice (e.g., "Why we used gRPC instead of REST"). Often stored in Git (e.g., adr-tools).

  • Example: GitHub’s ADRs.

  • Diagrams as Code: Writing diagrams in text (e.g., Mermaid, PlantUML) so they’re version-controlled and auto-generated.

  • Example:
    mermaid
    graph TD
    A[User] -->|Auth Request| B[OAuth Server]
    B -->|Token| A
    A -->|API Call| C[Resource Server]

  • Docs-as-Code: Treating docs like software—stored in Git, reviewed via PRs, and built with CI/CD (e.g., GitHub Actions).

  • Tools: Vale (linting), Netlify (hosting), Read the Docs.

  • OpenAPI/Swagger: A spec for describing REST APIs. Enables auto-generated docs (e.g., Swagger UI, ReDoc).

  • Key difference: Swagger UI is interactive; ReDoc is static but prettier.

  • DITA (Darwin Information Typing Architecture): A structured XML standard for technical docs. Used in enterprises for single-sourcing (e.g., reusing content across guides, PDFs, and help centers).

  • Tool: Oxygen XML Editor.

  • Markdown extensions: Flavors like GitHub Flavored Markdown (GFM) or CommonMark add tables, footnotes, and diagrams.

  • Example:
    markdown
    | Feature | REST | gRPC |
    |---------------|------|------|
    | Protocol | HTTP | HTTP/2 |
    | Payload | JSON | Protobuf |

  • Static site generators (SSGs): Tools that convert Markdown/AsciiDoc into HTML (e.g., Hugo, MkDocs). Faster than CMS-based docs.

  • Example: Google’s Kubernetes docs use Hugo.

  • API-first design: Writing the API spec (OpenAPI) before coding. Ensures docs stay in sync with the implementation.

  • Tool: Stoplight (design-first API tooling).

  • Minimalism (John Carroll): A writing principle: "Cut 50% of words, then cut 50% again." Focus on user goals, not system details.

  • Example: Instead of "The authentication module leverages OAuth 2.0," write "Log in with Google or GitHub."

  • Information architecture (IA): How docs are organized (e.g., "Overview → Concepts → Tutorials → Reference"). Use card sorting to test IA with users.


Step-by-Step Process Flow


1. Gather Requirements & Audience

  • Action: Interview stakeholders (engineers, PMs, support) to answer:
  • Who is the audience? (e.g., "Senior devs migrating from REST to gRPC")
  • What’s the goal? (e.g., "Explain why we chose gRPC for microservices")
  • What’s the scope? (e.g., "Focus on performance, not setup")
  • Tool: Use a user persona template or a simple table: | Audience | Pain Points | Key Questions to Answer | |----------------|---------------------------|----------------------------------| | Backend devs | "Why not REST?" | "gRPC vs REST: latency benchmarks" | | Architects | "How does this scale?" | "Load testing results" |

2. Research & Outline

  • Action:
  • Read the code, ADRs, or RFCs (e.g., "Why we adopted Kubernetes").
  • Test the system (e.g., run grpcurl to compare gRPC vs REST latency).
  • Draft a reverse outline (start with headings, then fill in):
    ```
    # Why We Chose gRPC for Microservices
    ## Background: The Problem with REST
    • Latency in JSON parsing
    • No built-in streaming

    gRPC’s Advantages

    • Protocol Buffers (binary vs JSON)
    • HTTP/2 multiplexing

    Trade-offs

    • Browser support (gRPC-Web)
    • Debugging complexity ```
  • Tool: Use Excalidraw for rough diagrams or Miro for collaborative outlining.

3. Write the First Draft

  • Action:
  • Start with the "why": Hook readers with a problem (e.g., "REST APIs added 200ms latency to our payments flow").
  • Use the "What → So What → Now What" framework:
    • What: "gRPC uses Protocol Buffers for serialization."
    • So What: "This reduces payload size by 30% vs JSON."
    • Now What: "Use protoc to generate client libraries."
  • Add visuals early: Embed Mermaid diagrams or screenshots (e.g., a latency comparison graph).
  • Write for skimmers: Use bold for key terms, code for commands, and bullet points for lists.
  • Example (from Stripe’s Payment Intents guide):

    Why Payment Intents?
    Before Payment Intents, Stripe’s Charge API assumed a fixed payment flow. But modern apps need dynamic flows (e.g., 3D Secure authentication). Payment Intents separate intent (e.g., "I want to pay $10") from execution (e.g., "Redirect to bank for 2FA").


4. Validate with SMEs & Users

  • Action:
  • Developer review: Share a PR with engineers to catch inaccuracies (e.g., "gRPC supports bidirectional streaming, not just unary calls").
  • User testing: Ask a dev to follow the guide and record their screen (use Hotjar). Watch for:
    • Confusion (e.g., "What’s a proto file?")
    • Missing steps (e.g., "How do I enable gRPC-Web?")
  • Update diagrams: If users misinterpret a Mermaid diagram, simplify it or add a legend.
  • Tool: Use GitHub Discussions for async feedback or Calendly for 1:1 interviews.

5. Polish & Publish

  • Action:
  • Style guide check: Run Vale to enforce consistency (e.g., "Use ‘gRPC’ not ‘GRPC’").
  • Accessibility: Add alt text to images (e.g., ![gRPC vs REST latency graph](grpc-latency.png "Bar chart showing gRPC at 50ms vs REST at 200ms")).
  • SEO: Add metadata (e.g., <meta name="description" content="Why we migrated from REST to gRPC for microservices">).
  • Publish: Merge the PR to trigger a CI/CD build (e.g., GitHub Actions → Netlify).
  • Tool: Lighthouse to audit docs for performance/accessibility.

6. Maintain & Iterate

  • Action:
  • Monitor feedback: Set up a GitHub Issue template for doc bugs.
  • Update diagrams: If the system changes (e.g., "We added WebSocket support"), regenerate Mermaid diagrams.
  • A/B test: Try two versions of a headline (e.g., "gRPC vs REST" vs "Why We Ditched REST for gRPC") and track clicks with Google Analytics.


Common Mistakes


Mistake 1: Dumping System Details Without Context

  • What happens: You write, "The service uses a CQRS pattern with eventual consistency," but don’t explain why this matters to the user.
  • Correction: Always tie technical details to user goals. Example:

    Bad: "We use CQRS to separate reads and writes." Good: "CQRS lets us scale reads independently. For example, analytics queries won’t slow down payment processing."


Mistake 2: Assuming Prior Knowledge

  • What happens: You use jargon (e.g., "idempotency," "backpressure") without defining it.
  • Correction: Link to a glossary or add a tooltip. Example:

    "Idempotency (ensuring retries don’t duplicate actions) is critical for payments. Learn more."


Mistake 3: Writing Like a Novel (No Scannability)

  • What happens: Walls of text with no headings, lists, or visuals.
  • Correction: Use the "Inverted Pyramid" (most important info first) and:
  • Headings every 2–3 paragraphs.
  • Bullet points for lists.
  • Code blocks for commands.
  • Diagrams for workflows.

Mistake 4: Ignoring Trade-offs

  • What happens: You only highlight benefits (e.g., "gRPC is faster!") but hide drawbacks (e.g., "Debugging is harder").
  • Correction: Dedicate a section to trade-offs. Example:

    Trade-offs of gRPC
    Pros: Lower latency, smaller payloads, built-in streaming.
    Cons: No native browser support (use gRPC-Web), steeper learning curve.


Mistake 5: Not Versioning Conceptual Docs

  • What happens: A guide written for v1.0 becomes outdated in v2.0, but there’s no version tag.
  • Correction: Use docs-as-code to version docs alongside code. Example: /docs
    /v1
    grpc-guide.md
    /v2
    grpc-guide.md


Tech Writing Interview / Portfolio Tips


1. Show, Don’t Tell: Include a "Before & After"

  • What hiring managers want: Proof you can improve existing docs.
  • How to impress:
  • Find a poorly written conceptual doc (e.g., a GitHub README with no headings).
  • Rewrite it using this guide’s principles (add a diagram, scannable headings, trade-offs).
  • Add a PR link to your portfolio with the changes.

2. Explain the "Why" Behind Design Choices

  • Tricky question: "Why did you structure this guide as ‘Problem → Solution → Trade-offs’?"
  • Strong answer:

    "I used the ‘What → So What → Now What’ framework because: 1. Problem-first hooks the reader (e.g., ‘REST added 200ms latency’).
    2. Solution explains the fix (e.g., ‘gRPC uses Protocol Buffers’).
    3. Trade-offs build trust by showing we’ve considered alternatives."


3. Differentiate Conceptual Docs from Other Types

Type Purpose Example Key Difference
Conceptual doc Explain why and how "Why We Use Event Sourcing" Focuses on design rationale
Tutorial Teach by building "Build a gRPC Service in Go" Hands-on, step-by-step
How-to guide Solve a specific problem "Fix gRPC Connection Errors" Problem → Solution
Reference List facts (e.g., API endpoints) "gRPC Method Reference" No narrative, just specs

4. Know the Tools: Swagger UI vs ReDoc

  • Swagger UI:
  • Interactive (try endpoints in the browser).
  • Better for developers who want to test APIs.
  • ReDoc:
  • Static, prettier, and faster to load.
  • Better for conceptual overviews (e.g., embedding in a white paper).


Quick Check Questions


1. A developer complains that the API docs are outdated. How would you ensure docs stay in sync with code?

Answer: Use docs-as-code with these steps: 1. Store docs in the same repo as the code.
2. Add a pre-commit hook (e.g., Husky) to run vale for style checks.
3. Use OpenAPI to auto-generate docs from the spec (e.g., swagger-codegen).
4. Set up CI/CD (e.g., GitHub Actions) to fail builds if docs are missing or outdated.
5. Add a warning banner (e.g., "This doc is for v2.0. [View latest]") for versioned docs.

Why: Docs-as-code treats documentation like a first-class citizen, not an afterthought.


2. You’re writing a white paper on "Why We Migrated to Kubernetes." What’s the first section you’d write, and why?

Answer: Start with "The Problem" (e.g., "Before Kubernetes, our deployments took 2 hours and failed 30% of the time"). Then outline the business impact (e.g., "This cost $50K/month in downtime").

Why: Readers care about their problems, not your tech. Hook them with pain points first.


3. A stakeholder says, "Just explain how the system works—no need for diagrams." How do you respond?

Answer: Say:


"Diagrams reduce cognitive load. For example, a Mermaid sequence diagram can show a 5-step OAuth flow in 10 seconds, while text would take 3 paragraphs. Can we test both versions and measure user comprehension?"


Why: Data beats opinions. Offer to A/B test with and without visuals.


Last-Minute Cram Sheet

  1. Conceptual doc ≠ tutorial: A tutorial builds; a conceptual doc explains.
  2. White paper structure: Problem → Solution → Data → Trade-offs → Call to action.
  3. Docs-as-code tools: Git, Vale, Netlify, GitHub Actions.
  4. Mermaid syntax:
    mermaid
    graph TD
    A[Start] --> B{Decision}
    B -->|Yes| C[Do X]
    B -->|No| D[Do Y]
  5. OpenAPI versions: 2.0 (Swagger) vs 3.x (OpenAPI). 3.x supports callbacks, links, and better examples.
  6. DITA elements: <concept>, <task>, <reference>.
  7. Minimalism rule: "If you can cut a word, cut it."
  8. ⚠️ Trap: "Our system is the best" → Instead, say "Here’s why we chose X over Y."
  9. Markdown quirks:
  10. Use --- for horizontal rules, not *.
  11. Escape special chars (e.g., \* for a literal asterisk).
  12. Accessibility: Always add alt text to images (e.g., ![Diagram of OAuth flow](oauth.png "Sequence diagram showing OAuth 2.0 flow")).


ADVERTISEMENT