Update doc/.gitignore from master

Not really needed as the actual rst files stay in master, but just so it is consistent.