The documentation site for the Dart programming language, built with Eleventy and hosted on Firebase.
We welcome contributions of all kinds! To set up the site locally, follow the below guidelines on Building the site. To learn more about contributing to this repository, check out the Contributing guidelines.
Start by looking for an issue that catches your interest, or create an issue with your proposed change. Consider adding a comment to let everyone know that you're working on it, and feel free to ask any questions you have on the same issue.
To update this site, fork the repo, make your changes, and generate a pull request. For small, contained changes (such as style and typo fixes), you probably don't need to build this site. Often you can make changes using the GitHub UI. We can stage the changes automatically in your pull request.
Important
If you are cloning this repository locally, follow the below instruction on cloning with its submodule.
If your change involves code samples, adds/removes pages, or affects navigation, do consider building and test your work before submitting.
If you want or need to build the site, follow the steps below.
For changes beyond simple text and CSS tweaks, we recommend running the site locally to enable an edit-refresh cycle.
Install the following tools to build and develop the site:
The latest stable release of Dart is required to build the site and run its tooling. This can be the Dart included in the Flutter SDK. If you don't have Dart or need to update, follow the instructions at Get the Dart SDK.
If you already have Dart installed, verify it's on your path and already the latest stable version:
dart --version