We'd love to accept your patches and contributions to this project. There are just a few small guidelines you need to follow.
Contributions to this project must be accompanied by a Contributor License Agreement. You (or your employer) retain the copyright to your contribution; this simply gives us permission to use and redistribute your contributions as part of the project. Head over to https://cla.developers.google.com/ to see your current agreements on file or to sign a new one.
You generally only need to submit a CLA once, so if you've already submitted one (even if it was for a different project), you probably don't need to do it again.
All submissions, including submissions by project members, require review. We use GitHub pull requests for this purpose. Consult GitHub Help for more information on using pull requests.
This project follows Google's Open Source Community Guidelines.
Docsy welcomes contributions from students. However, we cannot guarantee that PRs will be merged within any specific time frame. We ask that instructors not create assignments requiring students to have PRs merged into the project. We will not merge PRs solely to satisfy any class assignments.
See the contribution guidelines in the Docsy user guide.
These notes are WIP for creating a release (v0.X.Y) from a local copy of the repo.
version key in package.jsonversion key in userguide/hugo.yamlnpm run ci:prepare to ensure that vendor assets and go.mod
dependencies are up-to-date.console
$ cd themes/docs
$ git fetch
$ git switch -t repo/branch-name # e.g. chalin/chalin-im-0.9.1-2024-02-16
main to get the last PR.mainCreate tags for v0.X.Y:
REL=v0.X.Y
git tag $REL
Push the new tags to the main remote (origin or upstream depending
on your setup) as well as any secondary remotes, if any:
```console $ git push upstream $REL ...
Draft a new release using GitHub web; fill in the fields as follows:
0XY anchor target with a target appropriate for this release: ## Release summary
- [Release report](https://www.docsy.dev/blog/2024/0.X.Y/)
- [CHANGELOG](https://github.com/google/docsy/blob/main/CHANGELOG.md#0XY)
Publish the release: click Publish release.
Test the release with a downstream project, such as docsy-example.
If you find issues, determine whether they need to be fixed immediately. If so, get fixes submitted, reviewed and approved. Then publish a dot release: go back to step 1.
Assuming that Docsy release v0.X.Y has been successfully deployed and use by at least one downstream project, then perform the following actions before any further changes are merged into the default branch:
version in package.json to the next planned (or the next dot) release
with a dev suffix, such as v0.X.Z-dev-unreleased.latest?FIXME=..., to the
v0.X.Y release at https://github.com/google/docsy/releases/v0.x.y.