Although Foundation was built and maintained by ZURB for years, it is today a community project. Whether it’s bug fixing, feature development, or contributions to the ecosystem, designers and developers from all over the world help make Foundation the most advanced framework in the world.
For bugs, feature requests, incorrect documentation or any problem you have with Foundation, you can open a new issue. If you need help to use Foundation, the Foundation Forum would be more appropriate. If you aren't sure if your issue is a bug or not, don’t worry! Post your problem on GitHub and the team will help you along.
Every participant is expected to follow the project's Code of Conduct so please be courteous and respectful.
All new features and bug fixes should be submitted as pull requests, so the community can review and discuss them. The rule is the same for everyone, for new contributors as for Core Team members.
Before working on a bug fix or a new feature, please make sure of the following:
After you made these checks, please follow these advices to create your pull requests:
develop
branch stay clean and you can open multiple Pull Requests at the same time for various issues. See (2) below for the branch name format.now the software should...
) and be prefixed by a type (feat
for new feature, fix
if you repair something, docs
for documentation, refactor
for non-breaking code cleaning, style
for code formatting, tests
for unit or visual tests or chore
for boring day-to-day tasks not affecting the actual code. See the AngularJs Git Commit Message Convention). For example: docs: improve Dropdown usage example #123
for commit/pull request names and docs/dropdown-improve-usage-example-123
for the branch name.develop
, unless you provide a fix for an older version and it should be develop-v...
. Take a look at our Git Workflow below.When you submit a pull request, @mention a few people you’d like to help you review it. Once those people have signed off on it, the pull request can be merged! Core Team members will handle the merge itself.
Foundation uses a Git workflow close to the the successful GitFlow branching model, to which we added develop-v...
and master-v...
branches to prepare and release patches for older Foundation versions. Most of the time you will not have to care about this workflow and can simply open your pull request on develop
.
The workflow relies on three branches:
develop
Used to prepare the next minor/major version. It always contains all the new features and bug fixes, and is the most up-to-date version of Foundation. Almost every pull request should be opened on this branch (fixes, features, documentation...). When a new version is released, it is merged on master
, a dedicated develop-v...
branch is created, and develop
now targets the next version.
develop-<version>
Used to prepare patches for previous versions. For example: develop-v6.5
to prepare the v6.5.1
release. When a pull request for a bug fix is merged on develop
and is compatible with supported versions, its commits must be added on the compatible develop-v...
branches too. If a fix is not compatible with develop
, a pull request can be opened on the latest compatible and supported develop-v...
branch. When a new patch is released, it is merged on master-v...
and develop-v...
now targets the next patch for this minor version.
master
The stable branch. It only contains the latest stable version released. Do NOT open pull requests on it.
master-<version>
The stable branch for previous versions. For example: master-v6.5
for stable v6.5.*
releases. Do NOT open pull requests on it.
This git workflow was fully adopted as of v6.5
, so v6.4
and previous versions are not supported.
If you aren't sure how a feature should be implemented, we recommend checking out our standards document, which outlines every aspect of writing framework features, from Sass to JavaScript.
Want to help us making Foundation the best framework ever? The Core Team is inviting active community members to join it. If you want to become a contributor, engage the community on the Foundation Forum, help us close issues on GitHub, and review pull requests from other contributors.
If you’ve made substantial contributions to a Foundation framework and haven’t heard from us yet, you can reach out at foundation@zurb.com.
Contributors are expected to:
Here are some example contributions from some of our awesome team members: