Skip to content

Commit be3e3a0

Browse files
authored
Add kapa ai to navbar (#7684)
1 parent 2d87e4f commit be3e3a0

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

_pkgdown.yml

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,20 @@ template:
66
includes:
77
in_header: |
88
<script defer data-domain="dplyr.tidyverse.org,all.tidyverse.org" src="https://plausible.io/js/plausible.js"></script>
9-
9+
<script async src="https://widget.kapa.ai/kapa-widget.bundle.js"
10+
data-button-hide="true"
11+
data-modal-disclaimer="This is a custom LLM for answering questions about dplyr, tidyr, and ggplot2. Answers are based on the contents of the documentation. Rate the answers to let us know what you think!"
12+
data-modal-ask-ai-input-placeholder="Ask me a question about dplyr, tidyr, or ggplot2."
13+
data-modal-header-bg-color="#f9f9f9"
14+
data-modal-override-open-class="open-kapa-widget"
15+
data-project-color="#365a7a"
16+
data-project-name="dplyr"
17+
data-modal-title="tidyverse AI ✨"
18+
data-project-logo="https://avatars.githubusercontent.com/u/22032646?s=200&u=235532df5cf8543246812f73db051b793f868807&v=4"
19+
data-user-analytics-fingerprint-enabled="true"
20+
data-bot-protection-mechanism="hcaptcha"
21+
data-website-id="44ae76c6-2ae5-4899-ab42-de9f17f07c7b"
22+
></script>
1023
home:
1124
links:
1225
- text: Learn more
@@ -174,3 +187,12 @@ news:
174187

175188
development:
176189
mode: auto
190+
191+
navbar:
192+
structure:
193+
right: [search, github, ai]
194+
components:
195+
ai:
196+
text: Ask AI ✨
197+
href: "#"
198+
class: open-kapa-widget

0 commit comments

Comments
 (0)