Fix publishDocs.