Contains a set of rules used to validate OutSystems documentation.
Each release (OutSystems.zip
file) contains a set of rules defining the OutSystems style for vale.
-
Clone this repository by entering the following command in a command prompt:
git clone https://github.com/OutSystems/docs-validation.git
-
Install Node.js version 10 or greater.
-
Create a GitHub access token if you don't have one.
-
Define an environment variable named
GITHUB_TOKEN
with your GitHub access token as a value. -
In a command prompt, change to the folder of the cloned repository, for example to the
docs-validation
folder. -
If you're running Linux, edit the
.release-it.yml
file and change theafter:bump
hook line according to the file comment. -
Run the following command in the command prompt:
npx release-it
npx
is bundled with Node.js and allows you to run commands from NPM packages without having to install those packages locally. It also makes sure that you always run the command available in the latest package version. -
Answer some questions asked by the
release-it
command according to the type of release you're doing (fix, minor release, major release).
The command creates a draft release in GitHub and you must publish it to make it public.
Do the following:
-
Open the Releases page for the
docs-validation
repository in GitHub. -
Review the automatically generated changelog, editing it if necessary.
-
Publish the release to make it public.