Skip to content

Add a test to check for dashes in docs directory names

What does this MR do and why?

In our documentation we use underscores for multi-string directory names, for example hell_world instead of hello-world.

Add a test that catches those additions.

How to set up and validate locally

  1. Run ./scripts/lint-doc.sh it should pass.
  2. Create a new directory mkdir doc/hello-world.
  3. Run ./scripts/lint-doc.sh it should fail.

Closes #255921 (closed)

Edited by Achilleas Pipinellis

Merge request reports