As a side project, I've been slowly generating a 59-volume, 25k-page textbook for quiz bowl, a scholastic and university trivia game. I have basically devoted a Claude Code account to it and I'm currently about a quarter of the way done. IIRC, each volume takes 1–5B tokens using Opus 5.5 at Extra. But the output is actually really good. I think that e.g. Vol. 4, Classical Myth, or Vol. 17, The Victorians, are good survey books on those topics.
I set up a scaffold that uses a lot of diagrams, maps, and pictures; stylistic audits inspired by writers like Durant, Tuchman, and Caro; and content audits that guarantee that all of the clues from a large quiz-bowl database are covered. Because of the original quiz-bowl context, there's a fast "drive-by" treatment of many people, works, anecdotes, etc. that I think coincidentally also serves well a general-knowledge treatment of "what things in history, art, literature, and philosophy were co-occurring in each time period" or "what writers and works are canonical enough to be mentioned in this compendium."
I haven't gotten to the math, science, and social-science volumes yet, so we'll see how good those are, given that it requires much more conceptual explanation.