Skip to main content

Authoring documentation

There are 2 types of the documentation that Vortex provides:

  1. This Documentation of Vortex that is then deployed to https://vortex.drevops.com/
  2. Consumer site documentation that is distributed when Vortex is installed.

vortex.drevops.com

The Documentation (this site) is written in Markdown and located in .vortex/docs directory. This is removed when you install Vortex for a consumer site.

Local build

cd .vortex/docs
ahoy build

Parts of the documentation is generated automatically from the codebase. To update it, run:

cd .vortex
ahoy update-docs

If you have the documentation site running locally, the content changes will be available immediately.

cd .vortex
ahoy test-docs

If required, add spelling exclusions to .vortex/docs/cspell.json file.

Publishing

An automated CI build publishes this documentation.

Consumer site documentation

Vortex provides a scaffold of the consumer site documentation in the docs directory.

After Vortex is installed into the consumer site, these docs are intended to be used by the site maintainers and stay up-to-date with the project changes.