Tidying up documentation and building it.