add prereq checks for the documentation (#1400)