fix external dependencies of doc