---
title: "Making Documentation Simpler and Practical: Our Docs-as-Code Journey"
description: "Squarespace's Domains team keeps Markdown docs, RFCs and Mermaid diagrams in the same Git repos as their code, reviews them in the same GitHub pull requests, and publishes them to Backstage TechDocs through CI/CD on every merge to master."
url: "https://swe.quest/articles/making-documentation-simpler-and-practical-our-docs-as-code-journey-7a03c98db56d20b3"
canonical: "https://engineering.squarespace.com/blog/2025/making-documentation-simpler-and-practical-our-docs-as-code-journey"
source: "Squarespace Engineering"
published: "2025-10-10"
difficulty: "medium"
kind: "Case study"
reading_minutes: 6
tags: ["documentation","developer-productivity","ci-cd"]
---

# Making Documentation Simpler and Practical: Our Docs-as-Code Journey

A post on [Squarespace Engineering](https://swe.quest/sources/squarespace.md), published 2025-10-10, 6 min read, Case study. Original: [https://engineering.squarespace.com/blog/2025/making-documentation-simpler-and-practical-our-docs-as-code-journey](https://engineering.squarespace.com/blog/2025/making-documentation-simpler-and-practical-our-docs-as-code-journey)

## Summary

Squarespace's Domains team keeps Markdown docs, RFCs and Mermaid diagrams in the same Git repos as their code, reviews them in the same GitHub pull requests, and publishes them to Backstage TechDocs through CI/CD on every merge to master. The approach removes the separate workflow, unclear ownership and bulk-update habits of Google Docs-style documentation, and makes diagrams and runbooks easier to keep current and trace. Practical tips include previewing locally with the IntelliJ Mermaid plugin and the TechDocs CLI, pushing a branch with a techdocs-preview suffix to get a staging preview, and adding the Kroki plugin so TechDocs renders Mermaid.

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)
- [Developer productivity](https://swe.quest/tags/developer-productivity.md) (Engineering practices)
- [CI/CD](https://swe.quest/tags/ci-cd.md) (Reliability & operations)

## Prerequisites

- Git pull request workflow
- Markdown
- CI/CD pipelines ([easy posts on CI/CD](https://swe.quest/tags/ci-cd.md?difficulty=easy))

## Keywords

Docs-as-Code, Backstage, TechDocs, Mermaid, Kroki, Markdown, GitHub

## Related posts

- [How GitHub’s Developer Experience team improved innerloop development](https://swe.quest/articles/how-github-s-developer-experience-team-improved-innerloop-development-a46c7e17f2bd5376.md): GitHub Engineering · 2024-01-24 · Medium · 8 min read · Developer productivity, Containers, Microservices, Testing, Go
  GitHub's Developer Experience team built Hubber Codespace (HCS), a Docker-Compose project that lets engineers stand up the full distributed GitHub ecosystem locally or in a codespace to integration-test changes before deploying.
- [Sapling: Source control that’s user-friendly and scalable](https://swe.quest/articles/sapling-source-control-that-s-user-friendly-and-scalable-ac4727ee939b435e.md): Meta Engineering · 2022-11-15 · Easy · 11 min read · Version control, Developer tools, Code review, Scaling, Open source
  Meta has open-sourced the client for Sapling, a Git-compatible source control system built over 10 years that scales to repositories with tens of millions of files, commits and branches.
- [A Tool for Discussion](https://swe.quest/articles/a-tool-for-discussion-5fe113c6c82e2e75.md): Oxide · 2023-02-02 · Medium · 4 min read · Documentation, Developer tools, Frontend, Search
  Oxide built an internal site for its RFDs (Requests for Discussion), which live as AsciiDoc files in a GitHub repo, because the repo gave a poor reading experience, limited AsciiDoc support and was hard to share externally.
- [DRUIDS, the design system that powers Datadog](https://swe.quest/articles/druids-the-design-system-that-powers-datadog-7348e64421a4e6f1.md): Datadog Engineering · 2022-09-29 · Easy · 7 min read · Design systems, Frontend, React, Developer productivity, Documentation
  DRUIDS (Datadog Reusable User Interface Design System) was started in 2018 to keep UX patterns consistent as Datadog grew into dozens of products, and its docs site is now public.
- [Writing nothing but docs for a week](https://swe.quest/articles/writing-nothing-but-docs-for-a-week-3dc90943bb4e9398.md): PgDog · 2025-09-23 · Medium · 4 min read · Documentation, CI/CD, PostgreSQL, Open source
  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.

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)
