Skip to content

Add temporary phantoms for the AutoOps insights parent page and cloud docs - #4503

Merged
theletterf merged 5 commits into
mainfrom
feat/autoops-insights-phantom
Oct 19, 2026
Merged

theletterf merged 5 commits into
mainfrom
feat/autoops-insights-phantom

Conversation

@theletterf

@theletterf theletterf commented Oct 19, 2026 •

Copy link
Copy Markdown
Member

This is the first step of a two-phase merge for the AutoOps insights navigation, following the phantom approach Martijn suggested in #docs-eng. It adds two temporary phantoms to config/navigation.yml.

The first one, docs-content://reference/autoops-insights/, unblocks elastic/docs-content#8900. That PR adds a parent page at reference/autoops-insights/, and #4499 mounts it in the navigation. They depend on each other. #8900 fails the validate-link-reference check, because the autoops-insights pages still resolve to the same URLs under today's navigation. #4499 fails its assembler preview, because the parent page is not on docs-content main yet. The checker skips registering a phantom prefix, so the conflict goes away. The trailing slash matters: the checker compares against paths that end in /, and without it the phantom has no effect.

The second one, autoops-insights://cloud, unblocks elastic/autoops-insights#186 and #189 (#4495). Both add generated/docs/cloud, and the prefix check fails on cloud/... because no navigation entry covers it. A phantom makes the checker accept those paths. It does not publish the Cloud pages: they get no sidebar entry or mapped URL until the real child mount is added in a follow-up.

I tested both locally. With the #8900 branch build, assembler navigation validate-link-reference reports 133 conflict errors against main's navigation, the same as CI, and 0 with the first phantom. With the PR #189 build, it reports 2 errors against main's navigation and 0 with the second phantom. assembler navigation validate reports 0 in both cases. I did not run a full assembler build, so I have not checked how the phantom parent page renders.

The plan from here:

  1. Merge this PR and wait for the edge image to rebuild.
  2. Re-run the docs-build check on Add an AutoOps insights parent page and redirects docs-content#8900, then merge it. The Cloud PRs in autoops-insights can re-run their checks at the same point.
  3. Rebase Mount AutoOps insights under a docs-content parent page #4499, which removes the first phantom and adds the real mount. Once the Cloud PRs merge, a follow-up replaces the second phantom with the Cloud child.

Related to elastic/docs-eng-team#1094

🤖 Generated with Claude Code

elastic/docs-content#8900 adds reference/autoops-insights as a parent toc, but
its docs-build fails the prefix check because autoops-insights pages still
resolve to the same URLs under the current navigation. A phantom for the new
parent makes the checker skip that prefix, so #8900 can pass and merge before
the real mount in #4499.

Related to elastic/docs-eng-team#1094

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@theletterf
theletterf requested a review from a team as a code owner October 19, 2026 10:01
@theletterf
theletterf requested a review from akira28 October 19, 2026 10:01
elastic/autoops-insights#186 and #189 add generated/docs/cloud, which fails the
prefix check because no navigation entry covers autoops-insights://cloud. A
phantom unblocks them until the real child mount is added.

Related to elastic/docs-eng-team#1094

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@theletterf theletterf changed the title Add a temporary phantom for the AutoOps insights parent page Add temporary phantoms for the AutoOps insights parent page and cloud docs Oct 19, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Docs preview (local build)

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

@theletterf
theletterf merged commit f5023ed into main Oct 19, 2026
32 checks passed
@theletterf
theletterf deleted the feat/autoops-insights-phantom branch October 19, 2026 14:46
theletterf added a commit that referenced this pull request Oct 19, 2026
The temporary phantom for docs-content://reference/autoops-insights/ from #4503
only existed so elastic/docs-content#8900 could pass before this mount. The
cloud phantom stays until the cloud child is mounted.

Related to elastic/docs-eng-team#1094

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
theletterf added a commit that referenced this pull request Oct 19, 2026
* Mount AutoOps insights under a docs-content parent page

Mounts docs-content://reference/autoops-insights as the AutoOps insights
parent and moves the Elasticsearch toc under it as a child at
reference/autoops-insights/elasticsearch. Cloud and Kibana follow once their
tocs exist on autoops-insights main.

Related to elastic/docs-eng-team#1094
Related to #4495

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

* Remove the parent phantom now that the real mount replaces it

The temporary phantom for docs-content://reference/autoops-insights/ from #4503
only existed so elastic/docs-content#8900 could pass before this mount. The
cloud phantom stays until the cloud child is mounted.

Related to elastic/docs-eng-team#1094

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
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.

2 participants