[FEATURE] Add CONTRIBUTING.md, CI validation, and JSON generation - #11
Open
urbantech wants to merge 1 commit into
Open
[FEATURE] Add CONTRIBUTING.md, CI validation, and JSON generation#11urbantech wants to merge 1 commit into
urbantech wants to merge 1 commit into
Conversation
- CONTRIBUTING.md with full guide: fork/edit/PR workflow, YAML schema reference, category guidelines, self-submit and issue alternatives - GitHub Actions workflow to validate data on PRs touching data/** - scripts/validate.py: checks YAML syntax, required fields, unique slugs, valid categories, and URL format - scripts/generate-json.py: converts YAML to JSON in dist/ for site consumption - Seed data: categories.yaml (15 categories), ainative-projects.yaml (6 projects), ecosystem-tools.yaml (15 tools) Refs #5, #6, #8
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.github/workflows/validate.yml): Runsscripts/validate.pyon every PR touchingdata/**scripts/validate.py: Validates YAML syntax, required fields (name/slug/description/category), unique slugs across files, categories exist in categories.yaml, and URL formatscripts/generate-json.py: Converts YAML data todist/ainative-projects.json,dist/ecosystem-tools.json,dist/categories.jsonTest Plan
python scripts/validate.pypasses with 21 entries, 0 errorspython scripts/generate-json.pyproduces 3 JSON files indist/data/**Refs #5, #6, #8