Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,20 @@ npm install
```
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](https://pagefind.app) via the [antora-pagefind-extension](https://github.com/marcphilipp/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.
3 changes: 1 addition & 2 deletions antora-playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ antora:
- require: './extensions/latest-patch.js'
- require: './extensions/collector-cache.js'
- '@antora/collector-extension'
- require: '@antora/lunr-extension'
index_by_heading: true
- antora-pagefind-extension
- '@springio/antora-extensions/root-attachments-extension'
- require: '@springio/antora-xref-extension'
site:
Expand Down
3 changes: 3 additions & 0 deletions home/antora.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
name: ROOT
title: AssertJ
version: ~
asciidoc:
attributes:
noindex: '@'
Loading