One developer manages 1,566 docs across 6 languages using YAML frontmatter automation
Developer Hideyuki Mori built and maintains NENE2, a PHP framework for AI-readable business APIs, with a documentation system spanning 261 guides across six languages — totalling 1,566 files managed by a single person. To prevent index drift and stale translations, Mori adopted a rule that no index is ever edited by hand; instead, all indexes are regenerated automatically from files on disk. Each English guide uses a YAML frontmatter block as the single source of truth, storing metadata such as title, category, tags, difficulty, and related guides. A PHP script called build-howto-index.php reads this frontmatter and rebuilds every index, while translated guides intentionally carry no frontmatter to avoid taxonomy duplication across languages. The system also flags missing or malformed frontmatter as visible warnings rather than silent omissions, turning potential documentation decay into a detectable, automated check.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in