* feat(sidepanel): Add sidepanel component for Ask AI (#2792) * feat(sidepanel): Initial working Sidepanel implementation * fix: circleci config * fix: set proper sidepanel export * Sidepanel props updates, conversation screen updates * Started mobile work * Style prompt input and header for mobile * fixes prompt input height, adds more translations, mobile updates, fixes panel height calculations * finish mobile, adds dark theme, minor fixes * fix: lock * Add missing titles to buttons * Have most recent conversation be at the bottom of the exchange list, scroll to newest conversation * fix: versions * move to floating variant being default for Sidepanel --------- Co-authored-by: Dylan Tientcheu <dylantientcheu@gmail.com> * feat(sidepanel): Sidepanel/Modal hybrid mode (#2799) * feat(sidepanel): Initial working Sidepanel implementation * fix: circleci config * fix: set proper sidepanel export * Sidepanel props updates, conversation screen updates * Started mobile work * Style prompt input and header for mobile * fixes prompt input height, adds more translations, mobile updates, fixes panel height calculations * finish mobile, adds dark theme, minor fixes * fix: lock * Add missing titles to buttons * Have most recent conversation be at the bottom of the exchange list, scroll to newest conversation * feat(sidepanel): Allow hybrid mode for Sidepanel and Modal * fix: yarn.lock * fix: tests - dont send new chat message from modal while in hybrid mode * Make docsearch core a true dependency * Cleanup handling the registered views Set --------- Co-authored-by: Dylan Tientcheu <dylantientcheu@gmail.com> * feat(sidepanel): Add sidepanel-js package for CDN (#2800) * feat(sidepanel): Initial working Sidepanel implementation * fix: circleci config * fix: set proper sidepanel export * Sidepanel props updates, conversation screen updates * Started mobile work * Style prompt input and header for mobile * fixes prompt input height, adds more translations, mobile updates, fixes panel height calculations * finish mobile, adds dark theme, minor fixes * fix: lock * Add missing titles to buttons * Have most recent conversation be at the bottom of the exchange list, scroll to newest conversation * feat(sidepanel): Add sidepanel-js package for CDN * fix: ci * fix: yarn.lock --------- Co-authored-by: Dylan Tientcheu <dylantientcheu@gmail.com> * feat(sidepanel): Sidepanel UI/UX tweaks (#2808) * fix(umd): Fixes global names for packages in UMD builds * chore: Update tsdeclaration files, update directory field in package json files * feat(sidepanel): Add Sidepanel documentation (#2811) * feat(sidepanel): Add Sidepanel documentation * Minor fixes and updates * Hybrid mode update * fix: hardcode yarn cache key for now --------- Co-authored-by: Dylan Tientcheu <dylantientcheu@gmail.com>
87 lines
2 KiB
JavaScript
87 lines
2 KiB
JavaScript
/**
|
|
* Creating a sidebar enables you to:
|
|
* - create an ordered group of docs
|
|
* - render a sidebar for each doc of that group
|
|
* - provide next/previous navigation.
|
|
*
|
|
* The sidebars can be generated from the filesystem, or explicitly defined here.
|
|
*
|
|
* Create as many sidebars as you want.
|
|
*/
|
|
|
|
export default {
|
|
docs: [
|
|
{
|
|
type: 'category',
|
|
label: 'Introduction',
|
|
items: ['what-is-docsearch', 'who-can-apply'],
|
|
},
|
|
{
|
|
type: 'category',
|
|
label: 'DocSearch v4',
|
|
items: ['docsearch', 'composable-api', 'styling', 'api', 'examples', 'migrating-from-v3'],
|
|
},
|
|
{
|
|
type: 'category',
|
|
label: 'Algolia Ask AI',
|
|
items: [
|
|
'v4/askai',
|
|
'v4/askai-api',
|
|
'v4/askai-prompts',
|
|
'v4/askai-whitelisted-domains',
|
|
'v4/askai-models',
|
|
'v4/askai-markdown-indexing',
|
|
'v4/askai-errors',
|
|
{
|
|
type: 'link',
|
|
label: 'Full Documentation',
|
|
href: 'https://www.algolia.com/doc/guides/algolia-ai/askai',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
type: 'category',
|
|
label: 'Sidepanel',
|
|
items: [
|
|
'sidepanel/getting-started',
|
|
'sidepanel/advanced-use-cases',
|
|
'sidepanel/hybrid',
|
|
'sidepanel/api-reference',
|
|
],
|
|
},
|
|
{
|
|
type: 'category',
|
|
label: 'Algolia Crawler',
|
|
items: ['create-crawler', 'record-extractor', 'templates', 'crawler-configuration-visual', 'manage-your-crawls'],
|
|
},
|
|
{
|
|
type: 'category',
|
|
label: 'Requirements, tips, FAQ',
|
|
items: [
|
|
{
|
|
type: 'category',
|
|
label: 'FAQ',
|
|
items: ['crawler', 'docsearch-program'],
|
|
},
|
|
{
|
|
type: 'doc',
|
|
id: 'tips',
|
|
},
|
|
{
|
|
type: 'doc',
|
|
id: 'integrations',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
type: 'category',
|
|
label: 'Under the hood',
|
|
items: ['how-does-it-work', 'required-configuration'],
|
|
},
|
|
{
|
|
type: 'category',
|
|
label: 'Miscellaneous',
|
|
items: ['migrating-from-legacy'],
|
|
},
|
|
],
|
|
};
|