Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@antora/cli

Package Overview
Dependencies
Maintainers
2
Versions
85
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@antora/cli

The command line interface for Antora.

  • 2.3.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
30K
decreased by-11.02%
Maintainers
2
Weekly downloads
 
Created
Source

Antora CLI

The command line interface (CLI) for Antora.

Antora is a modular static site generator designed for creating documentation sites from AsciiDoc documents. Its site generator pipeline aggregates documents from versioned content repositories and processes them using Asciidoctor.

To run Antora, you need both the CLI and a site generator pipeline. Once these packages are installed, you can use the antora command to generate your site.

How to Install

Let's start by installing the CLI.

npm install -g @antora/cli

This package adds the antora command to your PATH. You can check by running:

antora -v

Next, install a site generator. The default site generator will be sufficient for most users.

npm install -g @antora/site-generator-default

The antora command (specifically the implicit generate subcommand) will look for this package by default.

How to Use

To run Antora, you'll need a playbook file and at least one content (source) repository. Consult the evaluation quickstart to find an example.

Once you have your content sources set up, just point the antora command at your playbook file:

antora antora-playbook.yml

The antora command will output the generated site to the build/site folder by default.

Copyright (C) 2017-2020 OpenDevise Inc. and the Antora Project.

Use of this software is granted under the terms of the Mozilla Public License Version 2.0 (MPL-2.0).

Keywords

FAQs

Package last updated on 30 May 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc