[doc] fix warnings/errors in doc build [applied]