-
Notifications
You must be signed in to change notification settings - Fork 24
Release preparation
Checklist of steps to follow when preparing a new release of the DITA-OT documentation on the project website: www.dita-ot.org.
After the release is finalized in the core repository:
-
Manually run the GitHub Action to update the HTML documents in the release subdirectory.
- The GitHub workflow will automatically build the docs for the selected tag with the specified DITA-OT version using the workflow file from the selected branch of the docs repository (typically
master
). - When the workflow is finished, it will create a pull request in the
dita-ot/website
repo with the new files in a version-specific subfolder and a release branch corresponding to the selected tag. - We'll use this new release branch for the next steps, so you may want to set the PR to the draft state to make sure it isn't merged until the steps below are complete.
- The GitHub workflow will automatically build the docs for the selected tag with the specified DITA-OT version using the workflow file from the selected branch of the docs repository (typically
-
Check out the new release branch from the workflow-generated PR to your local clone for the next steps.
-
Increment version numbers in configuration file
_config.yml
- {{site.release}} → 4.0
- {{site.version}} → 4.0.x
For 2-digit (non-maintenance) releases, set {{site.version}} = {{site.release}}.
-
Update release date in
download.html
(hero unit at the top of the page). -
Add link to previous maintenance release in
download.html
.(Be sure to preserve the
list-group-item-light
class on the latest patch in each column.) -
Update menu logic in
_layouts/base.html
&_includes/docs-menu.html
.(Be sure to increment the number on the current version item with the
active
class: ✔ Release 4.0) -
Push your changes to the release branch and verify the results in the Netlify deploy preview.
-
Merge the pull request to publish the changes to the project website.
-
For each minor version, bump list of DITA-OT versions in registry version selector
(See https://github.com/dita-ot/website/pull/768 for sample changes.)
Visit the DITA Open Toolkit project website at www.dita-ot.org.