Repository navigation
docs(seo): page titles that match what people search for - #135
Conversation
Google shows the page title as the search result link. Several titles were bare nouns or repeated the site name, so they rarely matched real queries such as "deepfake detection api" or "eden ai setup". - Expert feature pages: "<Feature> API" (generator updated too, so the daily regeneration keeps it) - Integration pages: "Use <Tool> with Eden AI" - Quickstarts: "Quickstart: Set Up Eden AI and ..." - Home: no longer "Eden AI Documentation - Eden AI Documentation" - BYOK and EU endpoint: descriptive titles Sidebar labels are unchanged via sidebarTitle.
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
|
Important Review skippedReview was skipped as selected files did not have any reviewable changes. ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (72)
Included review availability: This review used your included allowance. 0 included reviews remain after this review. Your included PR review attempts over the past 7 days set your current allowance at 2 reviews per hour. WalkthroughDocumentation titles and sidebar labels are updated across feature pages, integration guides, general pages, and quickstarts. The feature-page generator now adds “API” to generated page titles and sets each sidebar title to the feature name. ChangesDocumentation metadata
Priority: ➖ Normal Estimated code review effort: 2 (Simple) | ~12 minutes Change: Other Suggested reviewers: Merge Risk: ⚪ Minimal · up to This PR updates documentation titles and intended sidebar labels. No broken pages or navigation regression is established; confirm the rendered labels in the normal documentation preview. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
A rabbit reads each title bright, Comment |
"Eden AI getting started" returns the 2024 help center article and no docs page, because no docs title contains the words people search.
hMED22
left a comment
There was a problem hiding this comment.
Nice improvements, I might discuss some followups later
| return ( | ||
| 'import { TechArticleSchema } from "/snippets/TechArticleSchema.mdx";\n\n' | ||
| "<TechArticleSchema\n" | ||
| f" title={{{_js_str(fullname)}}}\n" |
There was a problem hiding this comment.
This still writes fullname, so the schema keeps the old title while the frontmatter says "... API". Mintlify already renders its own Article JSON-LD from the frontmatter, so this component adds a second one, and after this PR the two headlines disagree on about 69 pages.
Either pass the " API" title here and update the props on the retitled pages, or retire the component now that Mintlify covers it. Does ours add anything Mintlify's doesn't? Fine as a follow-up.
| # (what people search for); the sidebar keeps the bare feature name. | ||
| page = f"""--- | ||
| title: "{safe_title}" | ||
| title: "{safe_title} API" |
There was a problem hiding this comment.
Nit: two API fullnames are lowercase after the first word, giving "Background removal API" and "Image generation API". Fixing them in /v3/info would also fix the sidebar and the features index.
|
Worth checking in Search Console a few weeks after merge: these titles now target the same searches as the marketing pages, e.g. OCR Multipage API here vs Multipage OCR API | Eden AI, so see which URL Google shows. Against the 0.4% CTR baseline, noting the merge date makes the before/after easy to read. |
Brings in #135's search titles. Seven feature pages conflicted on adjacent frontmatter lines: each keeps main's title and sidebarTitle and this branch's whole-sentence description.
#135 retitled the pages for search but left <TechArticleSchema> with the old title on 69 of them. That component adds a second structured-data block beside the one Mintlify builds from the frontmatter, so each of those pages gave Google two different headlines. Each prop now carries its page's title. The generator wrote the same split into every feature page: "API" went into the frontmatter title and the bare feature name into the schema. It now builds the title once and passes it to both, and a test generates a page and checks the two agree.
The test failed any title over 40 characters, which reads as a rule from Google. It is not one: Google cuts a search result around 60 characters, and 40 is what fits before the " - Eden AI Documentation" Mintlify appends. Google often drops that suffix and shows the site name instead, so only a title over 60 is cut for certain. The test now holds that line. "About 40" stays in CLAUDE.md as the target for a writer, which also lets the two quickstart titles #135 chose keep their wording.
Google uses each page's title as the link text in search results. Search Console shows the docs are indexed (102 of 172 pages) and get about 67k impressions a quarter, but only 0.4% CTR at an average position of 10. Many titles were bare nouns ("Deepfake Detection", "OpenCode") or, on the home page, the site name twice ("Eden AI Documentation - Eden AI Documentation").
What changes (frontmatter
titleonly; sidebar labels stay the same throughsidebarTitle):Deepfake DetectionDeepfake Detection APIOpenCodeUse OpenCode with Eden AIFirst LLM CallGetting Started with Eden AI: Your First LLM CallFirst Expert Model callQuickstart: Set Up Eden AI and Call an Expert ModelEden AI DocumentationUnified API for 500+ AI ModelsBYOK (Bring Your Own Key)BYOK: Use Your Own Provider API KeysEU EndpointEU Data Residency Endpointscripts/generate_features.pywrites the sametitle/sidebarTitlepair, so the daily feature regeneration keeps the new titles. The feature pages were edited in place, not regenerated, so this PR carries no catalogue drift.The page H1 follows
title, so the headings on these pages change too.Checked:
tests/test_links.pypasses (495 passed, 2 skipped).Summary by CodeRabbit