Bonus: fixup paths in the windows docs build script

This commit is contained in:
Alessio Placitelli 2019-07-29 11:58:19 +02:00
Родитель 2ef0f3746e
Коммит b91f3b4a16
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -22,11 +22,11 @@ cargo doc --no-deps
if exist %docs_location% rmdir /S /Q %docs_location%
mkdir %docs_location%
echo "<meta http-equiv=refresh content=0;url=book/index.html>" > %docs_location%\index.html
echo "<meta http-equiv=refresh content=0;url=book\index.html>" > %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 "<meta http-equiv=refresh content=0;url=%crate_name%/index.html>\n" > %docs_location%\docs\index.html
echo "<meta http-equiv=refresh content=0;url=%crate_name%\index.html>\n" > %docs_location%\docs\index.html