Fix public site

Change how public site generation works - to make it easier to add examples/docs etc.