[2.7] Add short-circuit for doc changes to AppVeyor (GH-5629)

(cherry picked from commit 28607e0dd9417ce44a109980ffd60697c1afdea0)
1 file changed