Rundeck Documentation project.
- NodeJS
lts/hydrogen
or version18.19.0
is the currently supported and only version that should be used. - NVM is helpful in making sure your machine is using the currently supported versions as we upgrade in the future.
Install nvm
to manage your NodeJS installations.
Run nvm install; nvm use;
to install and set the NodeJS version. (it will use the .nvmrc
file in the root of this directory as the version we are currently supporting.)
After setting the proper Node version, run this npm
command before the first you start the docs site locally.
npm install
Our API Documentation is now handled by OpenAPI spec and presented using Swagger UI.
npm run docs:dev
Compiles and hot-reloads for development. As (most) content changes are made they show up immediately.
Compiles and minifies for production.
npm run docs:build
Rundeck welcomes documentation PRs. Please submit PRs against the default branch (currently 4.0.x
) and we will review.
Docs will be built and published to a base matching a branch name of
/4\.[1-9]\..*/
:
- Branch
4.0.x
=>docs.rundeck.com/4.0.x/
- Branch
4.13.0
=>docs.rundeck.com/4.13.0/
Version tag must contain the full Rundeck version with date!
Tag a commit to publish the matching version base as well as the main production docs:
- Tag
v4.13.0-20230515
=>docs.rundeck.com/4.13.0/
ANDdocs.rundeck.com/docs/
Example Code:
git tag -f v4.13.0-20230515
git push -f origin v4.13.0-20230515
For maintenance to docs on previous versions, simply switch to or create the branch:
# For 3.2.8
git checkout v3.2.8
git checkout -b 3.2.8
git push origin
Rundeck Core PRs are included by default.
Core PRs can excluded by labeling them with the release-notes/exclude
label.
Rundeck Enterprise PRs are excluded by default.
Enterprise PRs can be included by labeling them with the release-notes/include
label.
Create the file .env
in the project root and add the line GH_API_TOKEN=[TOKEN]
replacing [TOKEN]
with your GitHub API token. This token needs repo
scope.
Run the following with the milestone for the release. This will create/overwrite an existing entry for the release. Use wisely:
npm run notes -- --milestone=${1?milestone name}
Run the following with the milestone for the release. This will create the file named draft.md to avoid overwriting any existing version:
npm run notes -- --milestone=${1?milestone name} --draft