Skip to content

API reference: restore page titles and meta descriptions - #4263

Closed
reakaleek wants to merge 1 commit into
mainfrom
api-catalog-page-titles
Closed

reakaleek wants to merge 1 commit into
mainfrom
api-catalog-page-titles

Conversation

@reakaleek

@reakaleek reakaleek commented Oct 1, 2026 •

Copy link
Copy Markdown
Member

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

dotnet build tests/Elastic.ApiExplorer.Tests/
dotnet exec .artifacts/bin/Elastic.ApiExplorer.Tests/debug/Elastic.ApiExplorer.Tests.dll --treenode-filter "/*/*/ApiPageSeoTests/*"
# CatalogLayout_TitleContainsElastic
# OperationLayout_ReleasedMajor_TitleIncludesVersion
# VersionLanding_EmptyDescription_GetsOne
# OperationLayout_SharedPathPreamble_UsesEachOperationsOwnText

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

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]>
@reakaleek
reakaleek requested a review from a team as a code owner October 1, 2026 06:57
@reakaleek
reakaleek requested a review from technige October 1, 2026 06:57
@reakaleek reakaleek added the bug label Oct 1, 2026
@github-actions

github-actions Bot commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No blocking issues found.


What is this? | From workflow: PR Review

Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant