fix publish_docs