Another try on the doc publishing script.