Add the doc directory to the .gitignore file.