Exclude whatsnew/pr directory from docs builds

Silences a couple of annoying Sphinx warnings.
Merge pull request #5496 from takluyver/docs-dont-build-pr

Exclude whatsnew/pr directory from docs builds