Skip to content
Open
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
15 changes: 14 additions & 1 deletion _pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,20 @@ url: https://insightsengineering.github.io/tern

template:
package: nesttemplate
includes:
in_header: |
<script async src="https://widget.kapa.ai/kapa-widget.bundle.js"
data-modal-override-open-class="open-kapa-widget"
data-project-name="tern"
data-project-logo="https://insightsengineering.github.io/tern/latest-tag/logo.png"
data-modal-title="tern AI ✨"
data-website-id="<this-has-to-be-obtained-from-kapa-ai-account>"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@shajoezhu data-website-id would need to be obtained from kapa.ai account (probably for each pkgdown website) according to these installation steps.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks so much @walkowif !

></script>

navbar:
structure:
left: [intro, reference, articles, tutorials, news, reports]
right: [search, github]
right: [search, github, ai]
components:
reports:
text: Reports
Expand All @@ -22,6 +31,10 @@ navbar:
icon: fa-github
href: https://github.com/insightsengineering/tern
aria-label: GitHub
ai:
text: Ask AI ✨
href: "#"
class: open-kapa-widget

reference:
- title: Overview Pages
Expand Down
Loading