turn warnings in docs to errors

Matt from Documatt requested to merge prevent-warnings-in-docs into master

Merge request reports