Skip to content

Deduplicate secondary nav anchors and navbar links - #12

Merged
CharanMN7 merged 1 commit into
mainfrom
cursor/dedupe-secondary-nav-links
Jul 22, 2026
Merged

Deduplicate secondary nav anchors and navbar links#12
CharanMN7 merged 1 commit into
mainfrom
cursor/dedupe-secondary-nav-links

Conversation

@CharanMN7

Copy link
Copy Markdown
Contributor

Summary

  • Dedupe anchors + navbarLinks by href in SecondaryTopNav (anchors win on name)
  • Remove redundant navbarLinks from pokeapi-docs docs.json that duplicated its anchors

Test plan

  • pokeapi-docs build passes
  • PokéAPI example shows PokéAPI + GitHub once each in the secondary nav row

Made with Cursor

Sites like pokeapi-docs listed the same URLs in both config arrays; merging them into one row showed duplicates. Dedupe by href with anchors taking precedence, and drop redundant pokeapi navbarLinks.

Co-authored-by: Cursor <cursoragent@cursor.com>
@vercel

vercel Bot commented Jul 22, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
pokeapi Ready Ready Preview, Comment Jul 22, 2026 5:14pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
framework-inkform-docs Skipped Skipped Jul 22, 2026 5:14pm

Request Review

@vercel
vercel Bot temporarily deployed to Preview – framework-inkform-docs July 22, 2026 17:13 Inactive
@CharanMN7
CharanMN7 merged commit 2df7153 into main Jul 22, 2026
1 check passed
@CharanMN7
CharanMN7 deleted the cursor/dedupe-secondary-nav-links branch July 22, 2026 17:13
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