docs: break up "wall of code" in example