Contributing Code
Getting Set Up
git clone https://github.com/psypher1/the-language-hub.gitcd the-language-hubpnpm installpnpm devThe site should now be running locally. Have a look around before diving in.
You will mostly be working in the src directory:
Directorysrc
Directorycomponents
Directoryfeatures
- code files here
Directorycontent
- …
Directorylayouts
- code files here
Directorypages
- code files here
Directoryutils
- code files here
Making Changes
Same philosophy as everything else here: don’t stress about getting it perfect. If something’s a bit off - formatting, style, structure — it’ll get sorted out during review. The goal is to make it easy to contribute, not to create hoops to jump through.
A few things that help speed up review, if you’re able:
- Keep pull requests focused on one thing at a time; easier to review, easier to merge
- A short description of what changed and why in your PR helps, especially for anything that isn’t self-explanator.
- If you’re adding a new feature or dependency, a quick heads-up in an issue first can save you rework, but it’s not required
Reporting Issues
Found a bug, or something not working as expected? Open an issue on GitHub — even a rough description is useful.
Not Sure Where to Start?
Check the open issues for anything tagged as a good starting point, or just reach out if you have an idea you’d like to work on.