Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 861 Bytes

README.md

File metadata and controls

36 lines (24 loc) · 861 Bytes

AssertJ Documentation Site

This branch contains the Antora project for building AssertJ's documentation site.

Prerequisites

Antora requires Node.js. A .tool-versions file can be used with asdf or mise:

asdf install # or mise install
npm install

Building

npm run build

The site is written to build/site.

Previewing

npm run serve

This serves the built site at http://localhost:8080. The search only works when the site is served via HTTP, not when opening the files directly.

Search

Search is provided by Pagefind via the antora-pagefind-extension. The index is built as part of npm run build. To exclude a page or a component version from the index, set the noindex attribute as described in the extension's README.