Each Skupper function is an Antora module as seen at: https://github.com/skupperproject/skupper-docs/tree/master/modules
The layout of files in each Antora module is:
-
/<antora-module>/pages
contains feature specific documentation, eg see/modules/cli/pages
for CLI documentation. -
/<antora-module>/assets/images
contains the image files used in the documentation, eg/modules/console/assets/images
-
/modules/ROOT/partials/attributes.adoc
contains variable definitions (AsciiDoc attributes) used by all docs.
This section explains how to edit and create documentation PRs.
If you only want to make a small update, you might want to just edit the file and make the PR using your standard process.
If you are familiar with Antora, you can use the preview-playbook.yml
directly.
If you want to preview changes for more complex contributions, follow this procedure.
-
A Node LTS release (We recommend https://github.com/nvm-sh/nvm for installation)
-
Install the gulp cli:
npm install -g gulp-cli
-
Install the dependencies:
npm install
-
Start the build:
LIVERELOAD=true gulp
Vale is a command-line tool that allows you to check your writing for grammar and spelling errors against a set of style rules. See Installation - Vale.sh for more information about vale.
To test documentation:
vale modules/