Flatten example for docs