Skip to content

Commit 3465d70

Browse files
committed
#1 Move documentation from Confluence to Git
add lunr extension for search
1 parent 3e760ea commit 3465d70

File tree

4 files changed

+222
-1
lines changed

4 files changed

+222
-1
lines changed

.github/workflows/documentation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- uses: actions/setup-node@v3
1313
with:
1414
node-version: '16'
15-
- run: npm i antora
15+
- run: npm i antora @antora/lunr-extension
1616
- run: npx --fetch antora antora-playbook.yml
1717
- uses: peaceiris/actions-gh-pages@v3
1818
with:

antora-playbook.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ site:
22
title: OPS4J Documentation
33
start_page: ops4j::index.adoc
44

5+
antora:
6+
extensions:
7+
- require: '@antora/lunr-extension'
8+
59
content:
610
sources:
711
- url: .

package-lock.json

Lines changed: 214 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,8 @@
22
"devDependencies": {
33
"@antora/cli": "3.1.4",
44
"@antora/site-generator": "3.1.4"
5+
},
6+
"dependencies": {
7+
"@antora/lunr-extension": "1.0.0-alpha.8"
58
}
69
}

0 commit comments

Comments
 (0)