Publish the document.