While backporting a PR on the 9.1 branch of the elasticsearch repo, I noticed that the docs-build check on the PR breaks because of a missing anchor (unrelated to the changes in the PR).
The missing anchor was added in PR #133831 on the main branch of the elasticsearch repo, but the PR wasn't backported to the 9.0 and 9.1 branches. The only link I found to the missing anchor is in the docs-content repo in troubleshoot/elasticsearch/file-based-recovery.md.
Does the build break because it tries to validate the links on the main branch of docs-content against the docs on the elasticsearch/9.1 branch?
The backport was auto-merged regardless of the error thanks to the auto-merge-without-approval label added by the backport tool, and the error itself doesn't affect the docs site because we build the 9.x docs from the elasticsearch/main branch.
However, if we're going to have this check on the elasticsearch/9.1 branch, should we fix the error by backporting the PR that introduced the missing anchor?
(FYI: the docs-build check did not run on the backport for the 9.0 branch, so there was no error there.)
While backporting a PR on the
9.1branch of theelasticsearchrepo, I noticed that thedocs-buildcheck on the PR breaks because of a missing anchor (unrelated to the changes in the PR).The missing anchor was added in PR #133831 on the
mainbranch of theelasticsearchrepo, but the PR wasn't backported to the9.0and9.1branches. The only link I found to the missing anchor is in thedocs-contentrepo introubleshoot/elasticsearch/file-based-recovery.md.Does the build break because it tries to validate the links on the
mainbranch ofdocs-contentagainst the docs on theelasticsearch/9.1branch?The backport was auto-merged regardless of the error thanks to the
auto-merge-without-approvallabel added by the backport tool, and the error itself doesn't affect the docs site because we build the 9.x docs from theelasticsearch/mainbranch.However, if we're going to have this check on the
elasticsearch/9.1branch, should we fix the error by backporting the PR that introduced the missing anchor?(FYI: the
docs-buildcheck did not run on the backport for the9.0branch, so there was no error there.)