implemented build_docs