Skip to content

Hide VRF v1 and VRF v2 from nav, search, and Markdown - #4282

Open
thodges-gh wants to merge 1 commit into
mainfrom
docs/hide-vrf-v1-v2
Open

thodges-gh wants to merge 1 commit into
mainfrom
docs/hide-vrf-v1-v2

Conversation

@thodges-gh

Copy link
Copy Markdown
Contributor

VRF v2.5 stays the current product. This PR hides the old VRF v1 and VRF v2 tutorial trees without deleting the URLs.

The main VRF nav no longer has the "VRF V2 [DEPRECATED]" block. "Migrating from V2" and "Migrating from V1" stay in the v2.5 section.

The six /vrf/v1 pages and the fourteen /vrf/v2 pages still open. HTML sends <meta name="robots" content="noindex, follow"> and X-Robots-Tag: noindex, follow. Search and per-page Markdown skip these files. /vrf/v1/introduction.md and /vrf/v2/subscription.md return 404. /vrf/v2-5 pages stay indexable and still serve Markdown. The pages stay in the sitemap while SUNSET_PAGES_STAY_IN_SITEMAP is true.

vrf/v2 does not match vrf/v2-5. The check is an exact root or a root/ prefix.

The legacy left nav stays on the old pages. It still has "Migrate to VRF V2.5".

src/content/vrf/llms-full.txt drops the twenty old pages. The v2.5 pages in that file are unchanged. src/content/vrf/llms.txt already pointed only at v2.5.

Quickstart links:

  • chainlink-demo-app now links to /vrf/v2-5/subscription/create-manage.
  • vrf-enabled-lootbox-pack now links to /vrf/v2-5/overview/subscription, /vrf/v2-5/billing#estimate-minimum-subscription-balance, and /vrf/v2-5/overview/subscription#minimum-subscription-balance.
  • vrf-mystery-box already says to create a v2.5 subscription. The pending link now goes to /vrf/v2-5/overview/subscription#minimum-subscription-balance.

Not in this PR:

  • vrf-subscription-monitor still links to VRF v2. Its sample contract is the v2 VRFD20 contract.
  • The lootbox page still shows a VRFConsumerBaseV2 code sample.
  • The Fantom builder quick link still points at /vrf/v2/subscription/supported-networks#fantom-mainnet. The other chain links already point at v2.5.
  • Changelog entries and old-path redirects stay.

VRF v2.5 stays the current product. The main VRF nav no longer has the "VRF V2 [DEPRECATED]" block. The v2.5 migration pages stay in that nav.

The v1 and v2 tutorial URLs still open. They send noindex. Search and per-page Markdown leave them out. The VRF llms-full dump no longer includes those pages. The legacy left nav stays, so an old URL can still reach the v2.5 migration guides.

Three quickstarts now point at the v2.5 subscription docs.
@thodges-gh
thodges-gh requested review from a team as code owners October 7, 2026 17:06
@vercel

vercel Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
documentation Ready Ready Preview Oct 7, 2026 5:16pm UTC

Request Review

@github-actions

github-actions Bot commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

👋 thodges-gh, thanks for creating this pull request!

To help reviewers, please consider creating future PRs as drafts first. This allows you to self-review and make any final changes before notifying the team.

Once you're ready, you can mark it as "Ready for review" to request feedback. Thanks!

This branch was successfully deployed

1 active deployment
Preview — abc83905 Deployed Oct 7, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant