DOC: Address issue where documentation is excluded due to a gitignore rule.

(cherry picked from commit fbc4e77321f6e92b7af658ce8257b6231c6ebac9)