diff --git a/.github/workflows/deploy_docs.yml b/.github/workflows/deploy_docs.yml index 543171dc79..cb2d2cb2dc 100644 --- a/.github/workflows/deploy_docs.yml +++ b/.github/workflows/deploy_docs.yml @@ -25,7 +25,7 @@ jobs: run: | set -euo pipefail mkdir -p target/deploy - mdbook build ./docs --dest-dir=../target/deploy/docs2/ + mdbook build ./docs --dest-dir=../target/deploy/docs/ - name: Deploy uses: cloudflare/wrangler-action@v3 diff --git a/docs/book.toml b/docs/book.toml index a2993d024e..445dc0bcb6 100644 --- a/docs/book.toml +++ b/docs/book.toml @@ -4,7 +4,7 @@ language = "en" multilingual = false src = "src" title = "Zed" -site-url = "/docs2/" +site-url = "/docs/" [output.html] no-section-label = true @@ -14,7 +14,7 @@ preferred-dark-theme = "light" enable = false [output.html.redirect] -"/elixir.html" = "/docs2/languages/elixir.html" -"/javascript.html" = "/docs2/languages/javascript.html" -"/ruby.html" = "/docs2/languages/ruby.html" -"/python.html" = "/docs2/languages/python.html" +"/elixir.html" = "/docs/languages/elixir.html" +"/javascript.html" = "/docs/languages/javascript.html" +"/ruby.html" = "/docs/languages/ruby.html" +"/python.html" = "/docs/languages/python.html"