Fix `publishDocs` script.