feat: add indexable pages for every model and provider#19
Merged
Conversation
Generate per-model (/models/{provider}/{model}), provider hub
(/providers/{provider}), and /glossary HTML pages at build time, so the
catalog ships ~85 indexable pages instead of one. Each has a keyworded
title and H1, a self-canonical, breadcrumbs, internal links, and per-page
JSON-LD (Dataset/BreadcrumbList/DefinedTermSet).
Also: add an OG/Twitter share image, fix the JSON-LD brand name and the
50-item ItemList cap, rebuild the sitemap around HTML pages (dropping the
.txt/.json entries), and correct stale modelparameters.dev references.
The /api/v1 JSON format and endpoints are unchanged.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
💭 Why
The whole catalog lived on one page, so the site couldn't rank for model-specific searches like "claude opus 4.7 temperature" or "gpt-5 top_p". There were per-model JSON endpoints but no HTML pages to index.
✨ What changed
/models/{provider}/{model}), provider hub (/providers/{provider}), and/glossaryHTML pages (~85, up from 1), each with a keyworded title/H1, self-canonical, breadcrumbs, internal links, and JSON-LD..txt/.jsonentries.modelparameters.dev) and the 50-itemItemListcap (now lists all models).modelparameters.devlinks and the broken API-index docs URL.👤 For users
Every model gets a shareable page (e.g.
/models/anthropic/claude-opus-4-7) with its full parameter table visible, plus provider hubs and a parameter glossary.📝 Notes
/api/v1JSON format and endpoints are unchanged.og.pngandapple-touch-icon.pngare committed; regenerate withscripts/gen-images.mjs(usesnpx -p sharp, not a project dependency).