Repository navigation
Conversation
Search results cannot tell a v8 page from a v9 page, and many operation pages share one meta description taken from the path preamble. Co-Authored-By: Grok 4.7 <[email protected]> Co-authored-by: Cursor <[email protected]>
Contributor
Docs preview (local build)Handbook preview: https://docs-v3-preview.elastic.dev/elastic/docs-builder/pull/4263/ |
Contributor
There was a problem hiding this comment.
No blocking issues found.
What is this? | From workflow: PR Review
Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.
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.
Assembler preview: https://docs-v3-preview.elastic.dev/elastic/docs-builder/docs/4263/api
The API catalog home title includes Elastic. Product and operation titles end in "API documentation", and a v8 page title differs from the matching v9 page. Operation meta descriptions use each operation's own text.
Affects: API reference
Prompt summary: Restore API catalog page titles and meta descriptions from the SEO feedback in elastic/docs-eng-team#949. Leave menu HTML size, landing-page copy, and trailing-slash links for later, and leave the issue open.
Why
The catalog home title is "API catalog". Product and operation titles use the OpenAPI spec title, so the word "documentation" is gone and a v8 page shares its title with the matching v9 page. Many operation meta descriptions are one shared first line, the path preamble. A version landing with an empty description has no meta description.
Refs elastic/docs-eng-team#949. The issue stays open. Part 3 (menu HTML size) and part 4 (landing-page copy) are not in this PR.
What
Page titles
The catalog home title is "Elastic APIs". The heading on that page stays "API catalog". Product and operation titles end in "API documentation". A released major appends "(v8)" or "(v9)". The latest page stays unlabeled. The header and the breadcrumbs still use the spec title.
Meta descriptions
An operation meta description skips the shared path preamble and the "Refer to Spaces" line, then uses the following text. If nothing remains, it uses the operation summary. A product landing with an empty description gets a sentence, and that sentence includes the version on a released major. The markdown front matter uses the same text.
Verify
Out of scope. Trailing-slash nav links are a separate PR. Group, authentication, and servers pages that have no description still have no meta description.
Made with Cursor