Fixes so there there are no 404 errors in the dist build

 Also added docs to gitignore