Skip to content

Ignore pages with deprecated features in the navigation report

Sarah German requested to merge sarahg/nav-report-skip-deprecated into main

What does this MR do and why?

Closes #1317 (closed)

Pages with (deprecated) or (removed) are intentionally omitted from the global navigation, so we should not include them in this report.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Check out this branch
  2. Run the report and see if it contains deprecated pages. One way to test a particular page is to pipe the output to a grep search, like this:

make check-pages-not-in-nav | jq '.[] | .url' | grep 'clusters_health.html'

This should return no results on the sarahg/nav-report-skip-deprecated branch, but on main the output will include the deprecated page.

Merge request acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports