Fix relative links to examples and links to docs

I was checking out the examples and these errors came to my attention. There may be more in other examples; I don't have time to check it out.