Fix tutorial generation warnings
Merge pull request #841 from VictorLamoine/fix_tutorials_warnings

Fix tutorial generation warnings
Added .gitignore file to exclude the build directory.