emit documentation and generated docs