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
- Run
./scripts/lint-doc.sh
it should pass. - Create a new directory
mkdir doc/hello-world
. - Run
./scripts/lint-doc.sh
it should fail.
Closes #255921 (closed)