build_docs with proper versioning