setting up the doc publishing