Minor docstring changes to publish.py
Merge pull request #7428 from holmboe/publish-docstring

Whitespace & punctuation changes to docstring in publish.py