This section describes some important information about how this repository is structured:
-
The component name, version, and start page are configured in each branch’s
antora.yml
file. -
The navigation for all modules is stored in the ROOT module’s
nav.adoc
file. -
The docs site playbook instructs Antora to automatically build the site using content in the
main
branch as well as any branches that are prefixed withv/
.
Documentation for new releases is hosted in versioned branches that are prefixed with v/
. The latest-dev
content (snapshot content) is stored in the main
branch.
We support documentation for the latest patch releases of minor versions. For example, content for the 5.0
version is hosted in the v/5.0
branch. This branch contains content for the latest patch release of version 5.0.
Note
|
The documentation build process is triggered whenever you create a new branch with the v/ prefix, push to an existing v/ branch, or push to the main branch.
|
Add the new snapshot version to the following:
Repository | Branch | File | Fields |
---|---|---|---|
|
|
|
|
|
|
|
|
|
|
||
|
|
|
Add the major.minor
version to the following:
Repository | Branch | File | Fields |
---|---|---|---|
|
|
|
|
|
|
|
|
|
Create a new object in the
|
||
The |
|
|
Add the full version major.minor.patch
to the following:
Repository | File | Fields |
---|---|---|
|
|
In the v/
branch for the minor version whose patch you are releasing, update the asciidoc.attributes.full-version
field in the antora.yml
file to the new patch version. For example, if you are releasing version 5.0.3, find the v/5.0
branch and update the asciidoc.attributes.full-version
field in the antora.yml
file with 5.0.3.
Note
|
As soon as you push content to this branch, GitHub will trigger a new build of the site, which will include your new content. |
-
If you are releasing a new major version, create a release branch from the
main
branch.For example, if you are releasing version 5.1, create a new release branch named
5.1
from themain
branch. -
Update the fields mentioned in Latest Releases.
-
Remove the
prerelease: true
field from the docs/antora.yml
file of thehz-docs
repository.ImportantIf you are creating a branch for a beta release, do not remove this field. -
When you are ready to release, create a maintentance branch from the release branch.
NoteAs soon as you push the maintenance branch to the repository, GitHub will trigger a new build of the site, which will include your new content. -
Make sure to delete the release branch.
For example, if you released version
5.1
, delete the5.1
branch. This step helps to keep the repository clean of release branches.
To automate some elements of the build process, this repository includes the following GitHub Actions:
File | Description | Triggers |
---|---|---|
|
Validates that all internal and external links are working |
On a pull request to the |
|
Builds the production documentation site by sending a build hook to Netlify (the hosting platform that we use) |
On a push to the |
|
Backports commits to maintenance branches |
On a push to the |
If you want to add a change or contribute new content, see our contributing guide.
To let us know about something that you’d like us to change, consider creating an issue.
All documentation is available under the terms of a Creative Commons License