Extracted doc publishing disabling into a method.
Added a test for the Sphinx release notes strategy.