Skip to content

install antora

Joseph Cayouette edited this page Jun 30, 2021 · 3 revisions

Assumptions

Excerpts from Antora docs

To generate and publish documentation sites with Antora, you need the Antora command line interface (CLI) and an Antora site generator pipeline.

Assumptions
  • You’ve installed an active Node LTS release on your Linux, Windows, or macOS machine using NVM.

On this page, you’ll learn
  • How to install Antora globally. with the -g option. (recommended)

  • How to install the Antora CLI

  • How to install the antora-site-generator-lunr. This generator will simultaneously create a lunr.js index for use with search and generate the HTML pages for our docs.

Install Antora globally using npm

To install the Antora CLI and the default site generator packages globally, open a terminal and type:

npm i -g @antora/cli@2.2 @antora/site-generator-default@2.2

Verify the antora command is available on your PATH by running:

antora version

Install antora-site-generator-lunr

When you run make antora-suma or make antora-uyuni this module builds a lunrjs index for use with search along side the static site that is generated.

npm i -g antora-site-generator-lunr@0.3.0

This module is maintained by upstream Dan Allen and Guillaume Grossetie. For more information:

Continue by installing Asciidoctor and Asciidoctor PDF

Clone this wiki locally