Contributions generally fall into three categories: fixing content (typos, broken links, outdated information), adding developer tools to the Builder Tools showcase, and writing new documentation or tutorials.
For small fixes, you can always use the GitHub web editor directly on any file or click the pencil icon at the bottom on portal pages without any setup.
For anything that needs a local build, see the local development setup in the README.
This is the most common external contribution. You'll add an image, a tool entry, and open a PR:
- Place your tool's logo or screenshot (PNG or JPG) in
src/data/builder-tools/images/. - Edit
src/data/builder-tools/tools.jsand add your entry at the end of theShowcasesarray:{ title: "Your Tool Name", description: "What it does", preview: require("./images/your-tool-name.png"), website: "https://your-tool.com", getstarted: "https://docs.your-tool.com/getting-started", // or null tags: ["relevant", "tags"], // see tags.js for the full list }
- Run
yarn buildand confirm it passes with no errors. - Open a pull request using the "Add Builder Tool" template. Builder tool PRs require 3 approvals.
Don't add the favorite tag yourself. Check src/data/builder-tools/tags.js for available tags. For a full walkthrough, see the portal contribution guide.
- Run
yarn buildand make sure it passes. It checks for broken links and validates builder tool entries. - Don't commit
yarn.lock. It's gitignored. If you accidentally commit it, see the FAQ below. - Follow the style guide. Write clearly, describe what your project does, skip the marketing language.
Q: I accidentally committed yarn.lock changes, how do I fix it?
Restore the original yarn.lock using one of these (depending on your git setup):
- If you created your PR branch from staging:
git checkout staging -- yarn.lock - If you need it from your fork's origin:
git checkout origin/staging -- yarn.lock - If you need it from the upstream repo:
git checkout upstream/staging -- yarn.lock
Then commit the reversion: git commit -m "revert yarn.lock to original state"
If you're stuck or unsure where something belongs, ask in GitHub Discussions or open an issue. The Cardano Forum is also a good place to float ideas.
See CODE_OF_CONDUCT.md.