You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+10-2Lines changed: 10 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -25,8 +25,16 @@ yet in the issue tracker, start by opening an issue. Thanks!
25
25
2. When a change is user-facing, please add a new entry to the [changelog](https://github.com/dart-lang/dartdoc/blob/master/CHANGELOG.md)
26
26
3. Please include a test for your change. `dartdoc` has both `package:test`-style unittests as well as integration tests. To run the unittests, use `dart test/all.dart`. Most changes can be tested via a unittest, but some require modifying the [test_package](https://github.com/dart-lang/dartdoc/tree/master/testing/test_package) and regenerating its docs via `grind update-test-package-docs`.
27
27
4. For major changes, run `grind compare-sdk-warnings` and `grind compare-flutter-warnings`, and include the summary results in your pull request.
28
-
5. Be sure to format your Dart code using `dartfmt -w`, otherwise travis will complain.
29
-
6. Post your change via a pull request for review and integration!
28
+
5. Be sure to format your Dart code using `dartfmt -w`, otherwise travis will complain.
29
+
6. Because there are generated versions of the dartdoc docs for stable and development versions of Dart,
30
+
you need to update the docs twice:
31
+
- Download and install the latest STABLE version of dart from [the Dart website](https://www.dartlang.org/tools/sdk).
32
+
(It's probably easiest to download a zip file and change your PATH to the extracted location's `bin` directory)
33
+
- Run `pub run grinder update-test-package-docs` to update the stable docs.
34
+
- Download and install the latest DEV version of dart from [the Dart website](https://www.dartlang.org/tools/sdk)
35
+
(It's probably easiest to download a zip file and change your PATH to the extracted location's `bin` directory)
36
+
- Run `pub run grinder update-test-package-docs` to update the dev docs.
37
+
7. Post your change via a pull request for review and integration!
0 commit comments