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
6 changes: 6 additions & 0 deletions antora-playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@ ui:
snapshot: true # Use latest snapshot build
supplemental_files: ./supplemental-ui # Custom UI overrides and additions

antora:
extensions:
# Add offline search using Lunr
# https://gitlab.com/antora/antora-lunr-extension
- require: '@antora/lunr-extension'

asciidoc:
extensions:
- asciidoctor-kroki
Expand Down
125 changes: 125 additions & 0 deletions package-lock.json

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

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
},
"devDependencies": {
"@antora/cli": "^3.1.12",
"@antora/lunr-extension": "^1.0.0-alpha.13",
"@antora/site-generator": "^3.1.12",
"asciidoctor-kroki": "^0.18.1"
}
Expand Down
7 changes: 7 additions & 0 deletions supplemental-ui/partials/header-content.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@
</div>
<div class="navbar-menu">
<div class="navbar-end">
{{#if env.SITE_SEARCH_PROVIDER}}
<div class="navbar-item search hide-for-print">
<div id="search-field" class="field">
<input id="search-input" type="text" placeholder="Search the docs"{{#if page.home}} autofocus{{/if}}>
</div>
</div>
{{/if}}
<div class="navbar-item">
<a class="navbar-item" href="https://github.com/agentic-layer" target="_blank" style="color: #fff;">
<span class="icon" style="margin-right: 0.25rem;">
Expand Down
Loading