We rebuilt Cloudflare's developer documentation - here's what we learned
May 27, 2022Kristian Freeman, Luke Edwards

Summary
This post details the migration of Cloudflare's developer documentation website from Gatsby to Hugo and its convergence onto a single Cloudflare Pages instance. Key technical contributions include: the development of a migration script utilizing AST parsing (mdast-util-from-markdown, mdast-util-to-markdown, astray) to convert MDX to standard Markdown, the implementation of a code formatter script using Prettier to ensure code snippet validity and syntax correctness, and the creation of a Makefile to orchestrate the migration process. The migration resulted in over one million automated changes across nearly 5,000 files.
More from the Content Management System (CMS) Evolution trail
- EmDash 1.0: the stable CMS with a secure plugin registry
- The Cloudflare Blog – Brought to you by EmDash
- Redirects for AI Training enforces canonical content
- Introducing EmDash — the spiritual successor to WordPress that solves plugin security
- Payload on Workers: a full-fledged CMS, running entirely on Cloudflare’s stack