diff --git a/bin/build-rust-docs.bat b/bin/build-rust-docs.bat
index 951bd2053..b73206b1c 100644
--- a/bin/build-rust-docs.bat
+++ b/bin/build-rust-docs.bat
@@ -22,11 +22,11 @@ cargo doc --no-deps
if exist %docs_location% rmdir /S /Q %docs_location%
mkdir %docs_location%
-echo "" > %docs_location%\index.html
+echo "" > %docs_location%\index.html
mkdir %docs_location%\book
-xcopy /K /E docs\book\ %docs_location%\book
+xcopy /K /E docs\book\. %docs_location%\book
mkdir %docs_location%\docs
xcopy /K /E target\doc\. %docs_location%\docs
-echo "\n" > %docs_location%\docs\index.html
+echo "\n" > %docs_location%\docs\index.html