Fix incorrect spacing within examples
Keep API TOC available at all times. Closes #553.