feat: tabs navigation, unmaintained versioning, routing merge, AI overview#859
Merged
0xYankee-Raccoons merged 62 commits intomainfrom Mar 27, 2026
Merged
feat: tabs navigation, unmaintained versioning, routing merge, AI overview#8590xYankee-Raccoons merged 62 commits intomainfrom
0xYankee-Raccoons merged 62 commits intomainfrom
Conversation
Rename "Docs" tab to "Products". Each product section now includes its docs + API reference in one sidebar. Removes standalone "Guides", "API Reference", and "Tool Kits" tabs (8 tabs to 6). - Swap: docs + API ref (V2 only) - Tokens & Price: combined as one product - Lend, Prediction, Trigger, Recurring, Portfolio, Send, Studio: docs + API ref colocated - Tool Kits: own product section (Plugin, Wallet Kit, Referral) - V1/legacy pages hidden from nav entirely (files preserved) - Guides removed from nav (files preserved) No file moves, no URL changes, no redirects. Navigation only. Phase 1 of DEVREL-115. Known trade-off: llms.txt still generates from file paths, not nav structure. Phase 2 will address this by consolidating file paths to match the nav. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Keep the extended dropdown height for the Products menu (80vh mobile, 600px desktop) without the top-3 collapse logic that was removed. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Add CSS grid to display Products menu in two columns on desktop: - Left: Swap, Tokens & Price, Lend, Perps, Trigger, Recurring, Prediction - Right: Portfolio, Send, Studio, Lock, Routing, Tool Kits Uses grid-template-rows: repeat(7, auto) with grid-auto-flow: column to split 13 items into 7+6 across two columns. Mobile stays single column. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Add min-width: 420px to the 2-column dropdown so items like "Tokens & Price" and "Tool Kits" don't wrap to a second line. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Pattern A: remove unnamed " " groups, put overview in first named group - Remove API ref overview pages from nav (redundant navigation hubs) - Add swap widget guide to Swap, token/price guides to Tokens & Price, prediction guide to Prediction Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Unnest V2 subgroup in Tokens, show pages at top level - Combine About Price and Price V3 into single doc - Remove docs/price/v3 from nav (content merged into index) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Latest Swap docs no longer need /v2/ in the URL path - only legacy versions (V1) retain their version prefix. Updates all internal links across swap, ultra, and API reference docs. - Move 14 files: docs/swap/v2/* -> docs/swap/*, api-reference/swap/v2/* -> api-reference/swap/* - Update /docs/swap/v2/ -> /docs/swap/ links in 40 files - Update /api-reference/swap/v2/ -> /api-reference/swap/ links Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Replace tabs/menu navigation with anchors as root element. Each product is a separate entry in the product switcher within a "Products" anchor. Non-product sections (Get Started, AI, Changelog, Resources) are persistent top-level anchors. - Root navigation: anchors (Helius-style persistent sidebar nav) - Products anchor: contains all 13 products with product switcher - Swap: V2 (Latest) + V1 (Legacy with Ultra and Metis) - Trigger: Trigger V2 (Latest) + Trigger V1 (Legacy) - Global anchors: Dashboard (external), AI, Changelog, Resources - Theme: willow - Add redirects for old /docs/swap/v2/ URLs Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Update style.css with custom CSS (product/version selector experiments, commented out) - Rename updates/index.mdx to changelog/index.mdx - Update index.mdx landing page Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Standardise with Swap: latest API version has no version prefix in URL, only legacy (V1) retains /v1/ prefix. - Move 11 files: api-reference/trigger/v2/* -> api-reference/trigger/* - Rename v2.mdx overview to index.mdx - Update internal links in trigger overview pages - Add redirects for old /api-reference/trigger/v2/ URLs Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Fix missing comma in Price page fetch code example - Fix "elimate" typo in Price page limitations - Rewrite casual V3 comparison to match docs style guide - Fix llms generator to handle anchors-based nav structure - Update llms generator for updates/ → changelog/ rename Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Add api-reference/ to generator folders, remove openapi-spec/ (use per-endpoint MDX frontmatter instead of generic YAML titles) - Add URL-based deduplication to prevent duplicate entries from pages referenced in multiple nav locations - Add depth guard to prevent stack overflow in processSection - Add missing description frontmatter to 11 trigger V2 API ref files - Fix generator for updates/ → changelog/ folder rename - Update AI section description to remove stale ecosystem reference Before: 302 entries with 89 duplicates (24x prediction, 12x trigger, etc.) After: 224 unique entries, 0 duplicates Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Replace the file-scan → nested-tree → sort-by-nav approach with a direct nav-tree walker (anchors → products → versions → groups → pages). Eliminates buildNestedStructure, sortNestedData, findValueForApiReference and all YAML processing. Fixes: - Ghost headings from deprecated Swap V1 and Recurring API ref pages - "Ai" heading (now correctly "AI" from nav) - Products now group docs + guides + API ref together - Empty sections auto-removed Also merges main: adds ai/cli page, Price API blog post, removes ai/ecosystem (deleted in #857), and updates nav accordingly. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Flatten Swap V1 Legacy nesting: drop About/Guide/API Reference sub-groups from Ultra and Metis, reducing from 5 to 3 levels - Consistent group naming: drop "API" suffix from first groups (Swap API → Swap, Trigger API → Trigger, etc.) - Separate Tokens & Price into standalone products - Combine thin products (Portfolio, Send, Studio, Lock) into "More" - Add Guides index to Get Started anchor for cross-cutting discovery - Regenerate llms.txt (237 entries, 0 duplicates) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Ultra and Metis were separate APIs - they each get their own version entry in the picker instead of being grouped under one Swap V1. Also splits docs/API ref into separate groups within each version. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Move docs/tokens/v2/* to docs/tokens/ (2 files) - Move api-reference/tokens/v2/* to api-reference/tokens/ (7 files) - Move api-reference/price/v3/price to api-reference/price/index (1 file) - Rewrite docs/tokens/index.mdx as developer-focused overview - Consolidate organic-score and token-tag-standard into tokens index - Delete docs/price/v3.mdx (duplicate of index) - Add redirects for all old v2/v3 paths - Update internal links across guides, skills, and docs pages Fixes DEVREL-130 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…escription - rename get-started sidebar title to "Welcome to Jupiter" - group pages under "Get Started" in sidebar navigation - replace repetitive "AI Tools" card with "API Reference" - remove "Building on Solana" and add a socials section (Blog, Twitter/X) - update index llmsDescription to match current page structure
- Replace "Ultra Swap API" with "Swap API" in get-started, resources, tool-kits, and AI pages; update links from /docs/ultra to /docs/swap - Add Developer Platform callout to all 7 portal pages - Update labelling tables in brand-kit and legal - Clean up llmsDescription fields and regenerate llms.txt Refs: DEVREL-129 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Fix critical bug: walkTopLevel didn't handle menu-based nav, causing entire Docs tab (all API products) to be excluded from llms.txt (47 → 218 entries) - Merge PRODUCT_SUMMARIES and TAB_SUMMARIES into single SECTION_SUMMARIES - Add console.warn for skipped API ref pages without openapi field - Update decisions.md nav entry: anchors → tabs, 3 swap versions → 2, willow → mint theme, add routing merge and menu structure details Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Replace generic llmsDescription on 7 Ultra API ref pages with specific endpoint descriptions prefixed with UNMAINTAINED - Update CLAUDE.md unmaintained workflow: pages are removed from nav (not kept under version selectors), accessible via direct URL only Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- /api-reference/tokens → /api-reference/tokens/search (no index page) - /docs/tokens → /docs/tokens#organic-score for direct navigation (2 places) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.
Summary
Restructures the entire docs navigation from anchors to a tabs + products layout with per-product versioning, introduces an "unmaintained" workflow for legacy API versions, merges Routing into Swap, rewrites the AI overview, cleans up API reference structure, rewrites the llms.txt generator, and cleans up Ultra V1/Swap V1 references across all maintained pages.
Changes
Navigation restructure (docs.json):
Routing merged into Swap:
Unmaintained pages workflow:
deprecated: trueused (avoids sidebar badge)AI overview rewrite:
API reference cleanup:
Swap overview improved:
llms.txt generator rewrite:
Get Started cleanup (DEVREL-128):
Tokens + Price index cleanup (DEVREL-130):
Ultra V1 / Swap V1 reference cleanup (DEVREL-129):
API versioning (Next.js-style):
Key decisions
Linear Issues
Follow-up issues (separate PRs)
Checklist
node generate-llms-from-docs.jsruns cleanmint broken-linkspassesdocs.jsonvalid JSON/v2/URLs redirect correctly/docs/routing/*URLs redirect correctly.claude/rules/decisions.mdupdatedGenerated with Claude Code