---
title: "Writing nothing but docs for a week"
description: "Documentation, not code comments, is what makes infrastructure software trustworthy enough to adopt, argues PgDog's founder after spending a week expanding its MkDocs docs to about 3k lines."
url: "https://swe.quest/articles/writing-nothing-but-docs-for-a-week-3dc90943bb4e9398"
canonical: "https://pgdog.dev/blog/writing-nothing-but-docs"
source: "PgDog"
published: "2025-09-23"
difficulty: "medium"
kind: "Opinion"
reading_minutes: 4
tags: ["documentation","ci-cd","postgres","open-source"]
---

# Writing nothing but docs for a week

A post on [PgDog](https://swe.quest/sources/pgdog.md), published 2025-09-23, 4 min read, Opinion. Original: [https://pgdog.dev/blog/writing-nothing-but-docs](https://pgdog.dev/blog/writing-nothing-but-docs)

## Summary

Documentation, not code comments, is what makes infrastructure software trustworthy enough to adopt, argues PgDog's founder after spending a week expanding its MkDocs docs to about 3k lines. To keep examples accurate, a Python script regex-extracts TOML config blocks and validates them with PgDog's new \`configcheck\` command (similar to \`nginx -t\`), and SQL snippets are parsed with pglast (a binding over pg\_query) in CI, which eliminated typos in both. LLMs help only with spelling and grammar, and need explicit, repeated prompting even for that.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Documentation](https://swe.quest/tags/documentation.md) (Engineering practices)
- [CI/CD](https://swe.quest/tags/ci-cd.md) (Reliability & operations)
- [PostgreSQL](https://swe.quest/tags/postgres.md) (Data & databases)
- [Open source](https://swe.quest/tags/open-source.md) (Engineering practices)

## Keywords

PgDog, MkDocs, pglast, pg\_query, TOML, Claude

## Related posts

- [How we use Vale to improve our documentation editing process](https://swe.quest/articles/how-we-use-vale-to-improve-our-documentation-editing-process-840fb8afef3af44a.md): Datadog Engineering · 2024-02-14 · Medium · 9 min read · Documentation, CI/CD, Static analysis, Developer tools
  Datadog's documentation team, outnumbered roughly 200 developers to 1 writer and merging over 20,000 docs PRs in 2023, encodes its style guide as Vale prose-linting rules in an open-sourced datadog-vale repo.
- [Using Docker AI Tools for Devs to Provide Context for Better Code Fixes](https://swe.quest/articles/using-docker-ai-tools-for-devs-to-provide-context-for-better-code-fixes-c0163de9f3027f93.md): Docker · 2024-10-21 · Medium · 8 min read · AI for coding, AI agents, Static analysis, Containers, Python
  LLMs fix lint violations far better when given the surrounding code, so Docker Labs built a prompt-driven pipeline where each step runs in a container: Pylint produces a violation report, violations are loaded into SQLite, and Tree-sitter parses the project into an AST whose top-level statement ranges are indexed alongside the source.
- [Writing Test Evals For Our MCP Server](https://swe.quest/articles/writing-test-evals-for-our-mcp-server-0fecde9ebf04784e.md): Neon · 2025-06-18 · Medium · 6 min read · Evaluation, AI agents, Testing, PostgreSQL
  Neon tests its 20+ tool MCP server with Braintrust evals that check whether an LLM correctly uses the stateful prepare\_database\_migration / complete\_database\_migration workflow instead of applying schema changes directly via run\_sql.
- [How We Made Our Docs Test Themselves](https://swe.quest/articles/how-we-made-our-docs-test-themselves-5eac8e20fa6945ec.md): LangChain · 2026-10-13 · Medium · 4 min read · Documentation, AI agents, Testing, CI/CD
  LangChain made its documentation code samples testable by delegating the migration to the Deep Agents CLI using a reusable skill file.
- [Vibe Coding With AI to Generate Synthetic Data: Part 1](https://swe.quest/articles/vibe-coding-with-ai-to-generate-synthetic-data-part-1-c25e10ea6da5bea8.md): Neon · 2025-03-13 · Medium · 6 min read · AI for coding, LLMs, PostgreSQL, Testing, CI/CD
  Asking Claude to generate synthetic Postgres seed data directly as SQL INSERT statements from a schema-only dump breaks down quickly: claude-3-5-sonnet lost referential integrity somewhere between 20 and 100 rows, and claude-3-7-sonnet often failed with 'model overloaded' errors.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
