Generate links to body types etc from library headers
Fix formatting of links in headers
Update after documentation was added.
Generate link to bundle documentation if possible

Remove noisy debug output.