Contributing
Contributions to primer2-theme are welcome!
Development setup
git clone https://github.com/bagustris/primer2-theme
cd primer2-theme
script/bootstrap # install Ruby dependencies
script/server # preview demo at localhost:4000
Running tests
script/cibuild
This runs a Jekyll build, HTML validation (htmlproofer + W3C), and RuboCop.
Submitting changes
- Fork primer2-theme
- Create a branch:
git checkout -b my-fix - Make your change and verify tests pass:
script/cibuild - Open a pull request — one fix or feature per PR
Reporting issues
- Theme bugs → primer2-theme issues
- Docs issues → primer2 issues
See CODE_OF_CONDUCT.md for community guidelines.