Open
Description
Describe the bug
For mapped_pages
that link to versionless AsciiDoc books (paths set to undefined
in legacy-url-mappings.yml
), we should not add a "Previous versions" link because it just redirects back to the v3 page.
Example: https://www.elastic.co/docs/deploy-manage/users-roles

Expected behavior
The "Previous version" should be grayed out.
Steps to reproduce
- Go to https://www.elastic.co/docs/deploy-manage/users-roles
- Open the version dropdown.
- Click "Previous version".
- You will be redirected to the same page you started on.
Tooling
- docs-builder
- migration tooling
- I'm not sure