change doc to doc/ in .gitignore

I think this is more inline with what's intended
Merge pull request #1278 from kernelsmith/gitignore

change doc to doc/ in .gitignore