fixes for plugin build_docs