Add doc file and edit links

Plus other tweaks