idstack
idstack copied to clipboard
idstack-ste-check: a folder scan skips .markdown files
Found in the documentation audit (savvides/idstack#169). docs/cli-reference.md states the current behaviour; update it with the fix.
CHECK_SUFFIXES = ('.html', '.htm', '.md') (scripts/idstack-ste-check:57) sets which files a folder scan examines. A .markdown file given by name is examined as Markdown (line 483), but the same file in a folder is skipped with no message.
Fix: add .markdown to CHECK_SUFFIXES, with a test in test/test-ste-check.py and a mutation.