Publish documents with resources