Skip to content

Deleting a page and replacing with an xref evades the "deleted page" check #1920

@shainaraskas

Description

@shainaraskas

Describe the bug

these two PRs didn't trigger an error for deleted pages:

elastic/docs-content#2989
elastic/docs-content#2811

both of them deleted a page, but added an equivalent xref in the sidebar. CI passed cleanly. when the PRs were merged, the pages 404'd

note: the crosslinks within the repo were already cleaned up. does the deleted page logic still trip if there are no incoming links? I want to test this but want to log this bug asap

Expected behavior

you can't run or hide from the "deleted page with no redirect" error

Steps to reproduce

No response

Tooling

  • docs-builder
  • migration tooling
  • I'm not sure

Metadata

Metadata

Assignees

Labels

ai-triagedIssue received an initial assessment through AI-powered current code and architecture checks.bugneeds triage

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions