fix: update 301 links with trailing slash in protocol pages#903
Open
cakeinpanic wants to merge 2 commits into
Open
fix: update 301 links with trailing slash in protocol pages#903cakeinpanic wants to merge 2 commits into
cakeinpanic wants to merge 2 commits into
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates internal and external documentation links across the docs site to include trailing slashes, reducing/avoiding 301 redirects (including for paths with in-page anchors).
Changes:
- Normalize internal docs links to use trailing slashes (e.g.,
/contracts/.../,/run-on-lido/.../). - Normalize select external links (e.g.,
docs.lido.fi, CLI GitHub Pages) to include trailing slashes where applicable. - Update anchored links to the
.../#anchorform to match the trailing-slash URL shape.
Reviewed changes
Copilot reviewed 56 out of 56 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| run-on-lido/stvaults/tech-documentation/tech-design.md | Add trailing slash to internal reference links and certain anchored external links. |
| run-on-lido/stvaults/tech-documentation/pdg.md | Update DSM link to include trailing slash. |
| run-on-lido/stvaults/tech-documentation/integration-overview.md | Add trailing slashes for internal references and CLI docs link. |
| run-on-lido/stvaults/tech-documentation/consolidation.md | Add trailing slashes for internal contract links and CLI docs links (incl. anchors). |
| run-on-lido/stvaults/qualified-custodians/cactus.md | Add trailing slash to external Chrome link. |
| run-on-lido/stvaults/operational-and-management-guides/applying-report-guide.md | Add trailing slashes to internal contract doc links. |
| run-on-lido/stvaults/index.md | Add trailing slashes to internal stVaults references. |
| run-on-lido/stvaults/building-guides/pooled-staking-product/withdrawals.md | Add trailing slash to internal roles/permissions link. |
| run-on-lido/stvaults/building-guides/pooled-staking-product/roles-and-permissions.md | Add trailing slash to internal roles/permissions link. |
| run-on-lido/stvaults/building-guides/pooled-staking-product/index.md | Add trailing slashes to CLI links and stVaults CLI homepage link. |
| run-on-lido/stvaults/building-guides/pooled-staking-product/custom-strategy.md | Add trailing slash to internal roles/permissions link. |
| run-on-lido/stvaults/building-guides/basic-stvault.md | Add trailing slashes to CLI links and anchored integration guide links. |
| run-on-lido/intro.md | Add trailing slash to V3 paper link. |
| run-on-lido/cm-v2/useful-tools/index.md | Add trailing slash to internal CM Prover Tool link. |
| run-on-lido/cm-v2/rewards.md | Add trailing slash to internal Node Operator Types link. |
| run-on-lido/cm-v2/penalties.md | Add trailing slashes to internal CMv2 and CSM penalty links (incl. anchors). |
| run-on-lido/cm-v2/index.md | Add trailing slashes to CMv2 section index links. |
| run-on-lido/cm-v2/glossary.md | Add trailing slash to committee link and CSM strike anchor link. |
| run-on-lido/cm-v2/creating-and-managing-node-operators.md | Add trailing slashes to internal CMv2 navigation links. |
| run-on-lido/cm-v2/context-and-background.md | Add trailing slashes to internal CMv2 doc links. |
| run-on-lido/cm-v2/consolidations-and-migration.md | Add trailing slashes to internal CMv2 doc links. |
| run-on-lido/cm-v2/bond-and-key-management.md | Add trailing slashes to internal CMv2 penalties link and external VEBO link. |
| docs/token-guides/steth-superuser-functions.md | Add trailing slashes to internal contract links and governance references. |
| docs/lido-v3-whitepaper.mdx | Add trailing slashes to stVaults doc links and contracts reference. |
| docs/introduction.mdx | Add trailing slashes to Run on Lido link, external integration guide link, and API anchor link. |
| docs/integrations/wallets.md | Add trailing slashes to deployed contracts and token integration guide links. |
| docs/integrations/api.md | Add trailing slash to withdrawal queue contract link. |
| docs/integrations/aave/aip.md | Add trailing slash to deployed-contracts link and Reddit URL. |
| docs/guides/lido-tokens-integration-guide.md | Add trailing slashes to internal links (stVaults docs, withdrawal queue, wstETH staker, PRD, etc.). |
| docs/contracts/wsteth.md | Add trailing slash to wstETH staker link. |
| docs/contracts/wsteth-staker.md | Add trailing slash to Lido submit anchor link. |
| docs/contracts/withdrawal-queue-erc721.md | Add trailing slash to AccountingOracle link. |
| docs/contracts/vault-hub.md | Add trailing slashes to related internal contract links. |
| docs/contracts/validators-exit-bus-oracle.md | Add trailing slashes to multiple internal links (guides/contracts) including anchored references. |
| docs/contracts/validator-consolidation-requests.md | Add trailing slashes to related links (guide/contracts) including anchored reference. |
| docs/contracts/triggerable-withdrawals-gateway.md | Add trailing slash to GateSeal link. |
| docs/contracts/staking-vault.md | Add trailing slashes to related internal links. |
| docs/contracts/staking-vault-factory.md | Add trailing slashes to related internal links. |
| docs/contracts/staking-vault-beacon.md | Add trailing slashes to related internal links. |
| docs/contracts/predeposit-guarantee.md | Add trailing slashes to PDG guide and related internal links. |
| docs/contracts/ossifiable-proxy.md | Add trailing slashes to deployed instance links. |
| docs/contracts/oracle-report-sanity-checker.md | Add trailing slashes to referenced oracle contract links and LidoLocator link. |
| docs/contracts/oracle-daemon-config.md | Add trailing slash to OracleReportSanityChecker link. |
| docs/contracts/operator-grid.md | Add trailing slashes to related internal links. |
| docs/contracts/node-operators-registry.md | Add trailing slashes to StakingRouter/VEBO/VEBO-related and anchored internal links. |
| docs/contracts/lido.md | Add trailing slashes to many referenced internal contract links and anchored references. |
| docs/contracts/lido-locator.md | Add trailing slashes to all referenced internal contract links. |
| docs/contracts/lazy-oracle.md | Add trailing slashes to related internal links. |
| docs/contracts/hash-consensus.md | Add trailing slashes to internal guide link anchor and referenced contract links. |
| docs/contracts/eip712-steth.md | Add trailing slashes to Lido link, internal anchor link, and deployed-contracts link. |
| docs/contracts/deposit-security-module.md | Add trailing slash to OracleReportSanityChecker link. |
| docs/contracts/data-bus.md | Add trailing slash + anchor form for Holesky deployed-contracts link. |
| docs/contracts/dashboard.md | Add trailing slash to VaultFactory link and related internal links. |
| docs/contracts/burner.md | Add trailing slashes to many internal contract links and anchored references. |
| docs/contracts/accounting.md | Add trailing slashes to related internal contract links. |
| docs/contracts/accounting-oracle.md | Add trailing slashes to many internal guide/contract links and anchored references. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Please, go through these steps before you request a review:
📝 Describe your changes
🔎 Attach a source of truth or evidence that allows reviewers to confirm the changes independently