mirror of
https://github.com/Unleash/unleash.git
synced 2025-03-27 00:19:39 +01:00
feat: expose kapi as part of docs (#3996)
Small poc to add ask kapi.ai to our docs. UI not great yet.  And this is the widget in action:  --------- Co-authored-by: Thomas Heartman <thomas@getunleash.io>
This commit is contained in:
parent
4a0d5fcede
commit
72657a60a0
website
@ -636,4 +636,15 @@ module.exports = {
|
||||
'docusaurus-theme-openapi-docs', // Allows use of @theme/ApiItem and other components
|
||||
'@docusaurus/theme-mermaid',
|
||||
],
|
||||
scripts: [
|
||||
{
|
||||
src: 'https://widget.kapa.ai/kapa-widget.bundle.js',
|
||||
'data-website-id': '1d187510-1726-4011-b0f7-62742ae064ee',
|
||||
'data-project-name': 'Unleash',
|
||||
'data-project-color': '#1A4049',
|
||||
'data-project-logo':
|
||||
'https://cdn.getunleash.io/uploads/2022/05/logo.png',
|
||||
async: true,
|
||||
},
|
||||
],
|
||||
};
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* Figures (with captions) */
|
||||
figure {
|
||||
.main-wrapper figure {
|
||||
box-shadow: var(--ifm-global-shadow-lw);
|
||||
border-radius: var(--ifm-global-radius);
|
||||
border: var(--ifm-global-border-width) solid var(--unleash-color-gray);
|
||||
|
Loading…
Reference in New Issue
Block a user