Skip to content

Commit

Permalink
#1 Move documentation from Confluence to Git
Browse files Browse the repository at this point in the history
add lunr extension for search
  • Loading branch information
oliverlietz committed Aug 28, 2023
1 parent 3e760ea commit 3465d70
Show file tree
Hide file tree
Showing 4 changed files with 222 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: '16'
- run: npm i antora
- run: npm i antora @antora/lunr-extension
- run: npx --fetch antora antora-playbook.yml
- uses: peaceiris/actions-gh-pages@v3
with:
Expand Down
4 changes: 4 additions & 0 deletions antora-playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ site:
title: OPS4J Documentation
start_page: ops4j::index.adoc

antora:
extensions:
- require: '@antora/lunr-extension'

content:
sources:
- url: .
Expand Down
214 changes: 214 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,8 @@
"devDependencies": {
"@antora/cli": "3.1.4",
"@antora/site-generator": "3.1.4"
},
"dependencies": {
"@antora/lunr-extension": "1.0.0-alpha.8"
}
}

0 comments on commit 3465d70

Please sign in to comment.