Skip to content

docs: fix dead Hardhat, Foundry, Consensys and ERC165Storage links - #260

Closed
ninglinLiu wants to merge 1 commit into
OpenZeppelin:mainfrom
ninglinLiu:docs/fix-dead-hardhat-foundry-links
Closed

ninglinLiu wants to merge 1 commit into
OpenZeppelin:mainfrom
ninglinLiu:docs/fix-dead-hardhat-foundry-links

Conversation

@ninglinLiu

@ninglinLiu ninglinLiu commented Oct 27, 2026 •

Copy link
Copy Markdown

Summary

Fixes links in hand-written guide pages that currently return 404. Generated API reference pages (*/api/*) are not touched.

Page(s) Old (404) New (200)
contracts-cairo/2.x/erc721.mdx, contracts-cairo/3.x/erc721.mdx docs.openzeppelin.com/contracts/4.xapi/utils#ERC165Storage (missing /) docs.openzeppelin.com/contracts/4.x/api/utils#ERC165Storage (contracts-cairo/4.x/erc721.mdx already uses the correctly formed /contracts/5.x/api/utils URL)
contracts/5.x/learn/deploying-and-interacting.mdx, upgrading-smart-contracts.mdx hardhat.org/guides/hardhat-console.html hardhat.org/hardhat-runner/docs/guides/hardhat-console
deploying-and-interacting.mdx, upgrades-plugins/hardhat-2/hardhat-upgrades.mdx, upgrades-plugins/migrate-from-cli.mdx hardhat.org/guides/scripts.html hardhat.org/hardhat-runner/docs/advanced/scripts (same URL already used elsewhere in these docs)
contracts/5.x/learn/developing-smart-contracts.mdx hardhat.org/guides/compile-contracts.html#compiling-your-contracts hardhat.org/hardhat-runner/docs/guides/compile-contracts
contracts/5.x/learn/developing-smart-contracts.mdx consensys.github.io/smart-contract-best-practices/{development-recommendations,attacks}/ consensysdiligence.github.io/smart-contract-best-practices/... (current host of the same guide)
upgrades-plugins/migrate-from-cli.mdx hardhat.org/tutorial/creating-a-new-hardhat-project.html hardhat.org/tutorial/creating-a-new-hardhat-project
upgrades-plugins/foundry/foundry-upgrades.mdx book.getfoundry.sh/guides/scripting-with-solidity getfoundry.sh/forge/scripting (the Foundry Book's current "Scripting" page)

The hardhat.org/hardhat-runner/... and hardhat.org/tutorial/... URLs resolve to the Hardhat 2 docs, which match the Hardhat 2 setup these guides use.

Every old URL was checked to return 404 and every new URL to return 200 with curl -L on 2026-10-27.

Found and verified with AI assistance; each link was checked manually.

@netlify

netlify Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for openzeppelin-docs-v2 ready!

Name Link
🔨 Latest commit f906329
🔍 Latest deploy log https://app.netlify.com/projects/openzeppelin-docs-v2/deploys/6ae0b45a6e00e49ef36e3ffb
😎 Deploy Preview https://deploy-preview-260--openzeppelin-docs-v2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions

github-actions Bot commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@ninglinLiu

Copy link
Copy Markdown
Author

I confirm that I have read and hereby agree to the OpenZeppelin Contributor License Agreement

@ninglinLiu

Copy link
Copy Markdown
Author

recheck

@son-oz son-oz closed this Oct 29, 2026
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 29, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants