Make doc generation fail when imports are not met
Description
Make the pipeline doc generation pipeline fail instead instead of just reporting warning. Follow up of #73 (closed)
Motivation
Currently the doc generation can render incorrect pages due to missing exports and other issues but it will still be reported as successful.
Proposal
Fix current issues and change the CI setup so that the doc generation fails on warnings.
Drawbacks
Added overhead of properly formatting docs and checking dependencies when building the doc because we won't be able to ignore them.
Alternatives
Leave it as it is and note in the README to manually check for this issues.