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 @@ -2,11 +2,20 @@ url: https://insightsengineering.github.io/rtables

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="rtables"
data-project-logo="https://insightsengineering.github.io/rtables/latest-tag/logo.svg"
data-modal-title="rtables 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.

></script>

navbar:
structure:
left: [intro, reference, articles, dev-guide, news, reports]
right: [search, github]
right: [search, github, ai]
components:
github:
icon: fa-github fa-lg
Expand Down Expand Up @@ -36,6 +45,10 @@ navbar:
href: unit-test-report/
- text: Non-CRAN unit test report
href: unit-test-report-non-cran/
ai:
text: Ask AI ✨
href: "#"
class: open-kapa-widget

repo:
url:
Expand Down
Loading