Skip to content

Commit

Permalink
docs: add a few redirects
Browse files Browse the repository at this point in the history
Follow-up to #4215, in which we reorganized the guide for readability.
Some of the existing content got shuffled into subroutes, and already
one person in Discord has pointed out that we broken URLs. Tacking on
some http redirects via mdbook [0].

[0] https://rust-lang.github.io/mdBook/format/configuration/renderers.html#outputhtmlredirect
  • Loading branch information
conorsch committed Apr 17, 2024
1 parent ea8cf1a commit adb7c24
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docs/guide/book.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,17 @@ warning-policy = "error"
# The buf.build website doesn't support HTTP HEAD calls, returning 405.
# Only relevant when `follow-web-links=true`.
exclude = ['buf\.build']

[output.html.redirect]
# Renames in GH4215.
"pd.html" = "node/pd.html"
"pd/chain-upgrade.html" = "node/pd/chain-upgrade.html"
"pd/debugging.html" = "node/pd/debugging.html"
"pd/install.html" = "node/pd/install.html"
"pd/join-testnet.html" = "node/pd/join-testnet.html"
"pd/requirements.html" = "node/pd/requirements.html"
"pd/validator.html" = "node/pd/validator.html"
"pclientd.html" = "node/pclientd.html"
"pclientd/build_transaction.html" = "node/pclientd/build_transaction.html"
"pclientd/configure.html" = "node/pclientd/configure.html"
"pclientd/rpc.html" = "node/pclientd/rpc.html"

0 comments on commit adb7c24

Please sign in to comment.