blob: 0125737c192a4edbd65f833ea7ecf8d9ebd10234 [file] [log] [blame] [view]
Jon Brandvein07f44982021-01-11 12:10:14 -05001Before contributing, please see the note on our [current
2priorities](future_plans.md). In short, we're able to take bugfixes to critical
3features, but cannot guarantee that we'll be able to review new features in a
4timely manner.
5
6To contribute to Stardoc, first see the official [contributing
7notice](../CONTRIBUTING.md), then feel free to fork the
c-parsonsc7d5b702019-09-23 13:27:13 -04008[Stardoc](https://github.com/bazelbuild/stardoc) GitHub repository and start
9submitting pull requests.
10
11In general, we prefer contributions that fix bugs or add features (as opposed to
12purely stylistic, refactoring, or "cleanup" changes). Please check with us by
Jon Brandvein07f44982021-01-11 12:10:14 -050013opening a [GitHub Issue](https://github.com/bazelbuild/stardoc/issues) or
lberkiaed91e22023-04-21 18:21:59 +020014starting a [GitHub Discussion](https://github.com/bazelbuild/bazel/discussions).
c-parsonsc7d5b702019-09-23 13:27:13 -040015
16## Stardoc code structure
17
18* The [bazelbuild/stardoc](https://github.com/bazelbuild/stardoc) repository
19 contains Stardoc's Starlark code alongside Stardoc's prebuilt java binaries (jars).
20* The source code for Stardoc's jars can be found under the bazelbuild/bazel source tree
21 [here](https://github.com/bazelbuild/bazel/tree/master/src/main/java/com/google/devtools/build/skydoc).
22 Changes to Stardoc's java binaries will thus require creation of pull requests to the
23 [bazelbuild/bazel](https://github.com/bazelbuild/bazel) repository.
24* Changes to Stardoc's source are pulled in by updating bazelbuild/stardoc's dependency
25 on the bazel source tree and and then rebuilding the binary using bazel. This process
26 is done periodically by Stardoc's [core contributors](#core-contributors) (generally
27 with large changes to Stardoc source, and right before cutting a new Stardoc release).
28
29## Contributing to Stardoc
30
31* Stardoc is part of the Bazel project. Read the [Bazel governance
32 plan](https://www.bazel.build/governance.html) and Stardoc's [contribution
33 guidelines](../CONTRIBUTING.md).
34* Open an [Issue](https://github.com/bazelbuild/stardoc/issues) or discuss your
lberkiaed91e22023-04-21 18:21:59 +020035 plan or design on [Github Discussions](https://github.com/bazelbuild/bazel/discussions)
c-parsonsc7d5b702019-09-23 13:27:13 -040036* Prepare a Git commit that implements your feature or bug fix. Don't forget to
37 add tests and reference the corresponding bug, if any.
38* Open a [Pull Request](https://github.com/bazelbuild/stardoc/pulls) on the Stardoc
39 repository. This will require that you have signed a
40 [Contributor License Agreement](https://cla.developers.google.com/).
41* Complete a code review with a [core contributor](#core-contributors). Amend your
42 patch by making additional commits or rebasing with HEAD if there are conflicts with new
43 commits on the master branch.
44* Once the code review is complete, your reviewer will squash/merge your pull
45 request to the master branch.
46
47## Core Contributors
48
49The current group of Stardoc core contributors are:
50
51* [brandjon](https://github.com/brandjon)
Jon Brandvein8275ced2021-01-29 13:27:54 -050052* [tetromino](https://github.com/tetromino)