lodestar icon indicating copy to clipboard operation
lodestar copied to clipboard

Redirects to new docs pages do not work

Open nflaig opened this issue 1 year ago • 2 comments

As noted in https://github.com/ChainSafe/lodestar/commit/966f3acc0f615b62b082176412e85f7dbbb8d696#r143045200, it seems like the redirect do not work as expected.

I also found a few warnings related to that when running docusaurus build

[WARNING] @docusaurus/plugin-client-redirects: some redirects would override existing paths, and will be ignored:
- {"from":"/run/beacon-management/beacon-cli","to":"/beacon-management/beacon-cli"}
- {"from":"/run/bootnode/bootnode-cli","to":"/bootnode/bootnode-cli"}
- {"from":"/libraries/lightclient-prover/lightclient-cli","to":"/lightclient-prover/lightclient-cli"}
- {"from":"/run/validator-management/validator-cli","to":"/validator-management/validator-cli"}

nflaig avatar Jun 13 '24 15:06 nflaig

While https://github.com/ChainSafe/lodestar/pull/6940 fixed redirects locally, they are still broken when docs are deployed to https://chainsafe.github.io/lodestar/. Needs further investigation

nflaig avatar Jul 09 '24 21:07 nflaig

Questionable if we need those redirects anyways, looking at external references that are broken e.g. on https://launchpad.ethereum.org/en/lodestar, most of those still reference pages before initial restructuring we did way earlier, and those are not handled by the docusaurus redirects.

nflaig avatar Jul 09 '24 21:07 nflaig