Which workflow to use
Minor or patch release
Use the upcoming minor release workflow when preparing documentation for the next minor or patch version (e.g., v1.21.0 or v1.20.3).
Major release
Use the upcoming major release workflow when preparing documentation for the next major version (e.g., v2.0.0), which typically introduces a new version folder.
Before you begin
Before contributing to release documentation, make sure:- Your GitHub username is a member of the HashiCorp core team. Request access via Doormat.
- You have
writeaccess toweb-unified-docsvia Doormat. - You have a valid SSH key configured for GitHub.
Upcoming minor release
Each product’s tech writer team creates an assembly branch for the upcoming minor or patch release. Most products use the<product>/<exact_release_number> format. Vault uses vault/<YYYYMM>. Check with your team for the exact branch name.
Clone the release branch
Clone only the upcoming minor release branch to save space and time:For example, if the upcoming Vault minor release branch is
vault/202511:Create your working branch
Create a local working branch, following the branch naming conventions:
Make your changes
Make your changes in the current release folder. If you need to create a new page, follow the Create a New Page guide.Content should adhere to the Education style guide.
Preview locally (optional)
From the Wait for both the
web-unified-docs directory, run make to build the documentation site in Docker:unified-devdot-api and dev-portal containers to complete before testing. Access the preview at http://localhost:3000.To stop:Open a pull request against the release branch
Create a pull request targeting the upcoming minor release branch (not
main). In the GitHub web UI’s base: dropdown, select the release branch you cloned in step one.Pull requests are automatically labeled and assigned to the product’s documentation team for review.Upcoming major release
For major releases, each product’s tech writer team creates both a release branch (<product>/<exact_release_number>) and the upcoming release version folder. Check with your team for the names of both.
Clone the major release branch
nomad/2.0.0:Make your changes
Make your changes in the upcoming release folder created by your tech writer team. If you need to create a new page, follow the Create a New Page guide.
Open a pull request against the major release branch
Create a PR targeting the upcoming major release branch. In the GitHub web UI’s base: dropdown, select the major release branch.
Branch naming conventions
Follow these conventions when naming your personal working branch:| Contributor type | Convention | Example |
|---|---|---|
| Community contributors | <github_username>-<product_name>-<github_issue_number> | aimeeu-nomad-12345 |
| HashiCorp employees | <name_initials_or_username>-<ticket_number> | aimeeu-ce1001 |
FAQ
How do I preview my PR changes before they're merged?
How do I preview my PR changes before they're merged?
After your PR is open, find the Vercel Previews Deployed comment in the PR and click Visit Preview to see a preview of your changes.
Where can I get help if my PR is approved but I can't merge it?
Where can I get help if my PR is approved but I can't merge it?
Reach out to one of the approvers on your pull request or contact your product’s tech writing team directly.
How long does it take for merged content to appear on developer.hashicorp.com?
How long does it take for merged content to appear on developer.hashicorp.com?
Content appears on the live site approximately 10 minutes after your pull request is merged into
main. Release assembly branches are merged to main by the tech writer team at the time of the product release.