fix warnings in docs build