Skip to content

Commit 64008f9

Browse files
authored
Update validate-yml.py
Add: Header comment
1 parent 919b578 commit 64008f9

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

scripts/validate-yml.py

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
# -----------------------------------------------------------
2+
# YAML Validator - plugins-and-themes.yml
3+
# -----------------------------------------------------------
4+
#
5+
# This script validates the structure and format of the
6+
# plugins-and-themes.yml file used to generate the markdown
7+
# documentation files for plugins and themes.
8+
#
9+
# Ensures all required fields are present, properly typed,
10+
# and correctly formatted. If validation fails, generation
11+
# is aborted.
12+
#
13+
# Usage:
14+
# python scripts/validate-yml.py
15+
#
16+
# Created by: GarlicRot
17+
# -----------------------------------------------------------
18+
119
import yaml
220
import re
321
import sys

0 commit comments

Comments
 (0)