cargo doc --no-deps if (Test-Path -Path docs) { Remove-Item -Recurse -Path docs } Copy-Item -Recurse -Path target/doc -Destination docs Write-Output '' > docs/index.html