fix broken links and snippets, rebuild tocs and add back missing introductions, etc.