Skip to content

Sync the Cloud legacy API redirects with docs-infra - #5107

Merged
akira28 merged 1 commit into
mainfrom
fix/cloud-api-legacy-redirects
Dec 3, 2026
Merged

akira28 merged 1 commit into
mainfrom
fix/cloud-api-legacy-redirects

Conversation

@akira28

@akira28 akira28 commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

Summary

Mirrors elastic/docs-infra#559 in ApiLegacyRedirects, as #5085 did for Kibana spaces. elastic/cloud#161822 replaces the Cloud x-topics entries with children: pages:

Legacy path Now resolves to
/docs/api/doc/cloud/topic/topic-principles /docs/api/cloud/principles (new entry)
/docs/api/doc/cloud/topic/topic-rate-limiting /docs/api/cloud/rate-limiting (new entry)
/docs/api/doc/cloud-billing/topic/topic-authentication /docs/api/cloud-billing/api-key-authentication (was /authentication)
/docs/api/doc/cloud-billing/authentication /docs/api/cloud-billing/api-key-authentication (new entry)

The Cloud Billing spec declares no security schemes, so once its Authentication topic is a children: page, /docs/api/cloud-billing/authentication isn't built. Cloud keeps its generated /authentication page, so its entry is unchanged.

Merge order

Draft until the Cloud pages are live. Merge it with elastic/docs-infra#559, after the prod deploy that includes elastic/cloud#161822. Before that, links to these legacy paths would be checked against pages that don't exist yet.

Tests

Added the four paths, plus the unchanged Cloud authentication topic, to ApiLegacyRedirectsTests. Those tests and ApiRedirectedPageTests pass.

🤖 Generated with Claude Code

Mirrors elastic/docs-infra#559: the Cloud Principles and Rate limiting topics
and the Cloud Billing Authentication page move to children: pages in elastic/cloud#161822.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

Docs preview (local build)

Handbook preview: https://docs-v3-preview.elastic.dev/elastic/docs-builder/pull/5107/

@akira28
akira28 marked this pull request as ready for review December 3, 2026 10:02
@akira28
akira28 requested a review from a team as a code owner December 3, 2026 10:02
@akira28
akira28 requested a review from technige December 3, 2026 10:02
@akira28
akira28 merged commit 47e9c13 into main Dec 3, 2026
56 checks passed
@akira28
akira28 deleted the fix/cloud-api-legacy-redirects branch December 3, 2026 10:03

This branch was successfully deployed

2 active deployments
docs-preview — 94718153 Deployed Dec 2, 2026 by github-actions[bot]
assembler-preview — 94718153 Deployed Dec 2, 2026 by github-actions[bot]
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