|
| 1 | +import { defineConfig } from 'vitepress' |
| 2 | + |
| 3 | +export default defineConfig({ |
| 4 | + title: "JAICF Documentation", |
| 5 | + description: "Develop conversational chatbots with JAICF from Just AI", |
| 6 | + base: "/", |
| 7 | + |
| 8 | + head: [ |
| 9 | + ['link', { rel: 'icon', href: '/favicon.ico' }], |
| 10 | + ['meta', { property: 'og:image', content: 'https://help.jaicf.com/assets/images/jaicf-banner.png' }], |
| 11 | + ['meta', { property: 'og:title', content: 'JAICF Documentation' }], |
| 12 | + ['meta', { property: 'og:description', content: 'Develop conversational chatbots with JAICF from Just AI' }] |
| 13 | + ], |
| 14 | + |
| 15 | + themeConfig: { |
| 16 | + logo: '/assets/images/header.png', |
| 17 | + |
| 18 | + nav: [ |
| 19 | + { text: 'Home', link: '/' }, |
| 20 | + { text: 'Quick Start', link: '/pages/Quick-Start' }, |
| 21 | + { text: 'GitHub', link: 'https://github.com/just-ai/jaicf-kotlin' } |
| 22 | + ], |
| 23 | + |
| 24 | + sidebar: [ |
| 25 | + { |
| 26 | + text: 'Getting Started', |
| 27 | + items: [ |
| 28 | + { text: 'Introduction', link: '/pages/Introduction' }, |
| 29 | + { text: 'Installing', link: '/pages/Installing' }, |
| 30 | + { text: 'Quick Start', link: '/pages/Quick-Start' }, |
| 31 | + { text: 'Quick Start with Dialogflow', link: '/pages/Quick-Start-with-Dialogflow' }, |
| 32 | + { text: 'FAQ', link: '/pages/FAQ' } |
| 33 | + ] |
| 34 | + }, |
| 35 | + { |
| 36 | + text: 'Scenario DSL', |
| 37 | + collapsed: false, |
| 38 | + items: [ |
| 39 | + { text: 'Overview', link: '/pages/dsl/index' }, |
| 40 | + { text: 'State', link: '/pages/dsl/state' }, |
| 41 | + { text: 'Action', link: '/pages/dsl/action' }, |
| 42 | + { text: 'Activator', link: '/pages/dsl/activator' }, |
| 43 | + { |
| 44 | + text: 'Activators', |
| 45 | + collapsed: true, |
| 46 | + items: [ |
| 47 | + { text: 'Overview', link: '/pages/dsl/activators/index' }, |
| 48 | + { text: 'Intent', link: '/pages/dsl/activators/intent' }, |
| 49 | + { text: 'Event', link: '/pages/dsl/activators/event' }, |
| 50 | + { text: 'Regex', link: '/pages/dsl/activators/regex' }, |
| 51 | + { text: 'Any Intent', link: '/pages/dsl/activators/anyIntent' }, |
| 52 | + { text: 'Any Event', link: '/pages/dsl/activators/anyEvent' }, |
| 53 | + { text: 'Catch All', link: '/pages/dsl/activators/catchAll' } |
| 54 | + ] |
| 55 | + }, |
| 56 | + { text: 'Context', link: '/pages/dsl/context' }, |
| 57 | + { text: 'Request', link: '/pages/dsl/request' }, |
| 58 | + { text: 'Reactions', link: '/pages/dsl/reactions' }, |
| 59 | + { text: 'Fallback', link: '/pages/dsl/fallback' }, |
| 60 | + { text: 'Only If', link: '/pages/dsl/onlyIf' }, |
| 61 | + { text: 'Append', link: '/pages/dsl/append' } |
| 62 | + ] |
| 63 | + }, |
| 64 | + { |
| 65 | + text: 'Channels', |
| 66 | + collapsed: false, |
| 67 | + items: [ |
| 68 | + { text: 'Overview', link: '/pages/channels/index' }, |
| 69 | + { text: 'JAICP', link: '/pages/channels/jaicp' }, |
| 70 | + { text: 'Chat Widget', link: '/pages/channels/chat-widget' }, |
| 71 | + { text: 'Chat API', link: '/pages/channels/chat-api' }, |
| 72 | + { text: 'Telephony', link: '/pages/channels/telephony' }, |
| 73 | + { text: 'Aimybox', link: '/pages/channels/aimybox' }, |
| 74 | + { text: 'Amazon Alexa', link: '/pages/channels/alexa' }, |
| 75 | + { text: 'Google Actions', link: '/pages/channels/google-actions' }, |
| 76 | + { text: 'Facebook Messenger', link: '/pages/channels/facebook' }, |
| 77 | + { text: 'Slack', link: '/pages/channels/slack' }, |
| 78 | + { text: 'Telegram', link: '/pages/channels/telegram' }, |
| 79 | + { text: 'Viber', link: '/pages/channels/viber' }, |
| 80 | + { text: 'Yandex Alice', link: '/pages/channels/yandex-alice' } |
| 81 | + ] |
| 82 | + }, |
| 83 | + { |
| 84 | + text: 'NLU', |
| 85 | + collapsed: false, |
| 86 | + items: [ |
| 87 | + { text: 'Overview', link: '/pages/nlu/index' }, |
| 88 | + { text: 'Caila', link: '/pages/nlu/Caila' }, |
| 89 | + { text: 'Dialogflow', link: '/pages/nlu/Dialogflow' }, |
| 90 | + { text: 'Amazon Lex', link: '/pages/nlu/Lex' }, |
| 91 | + { text: 'Rasa', link: '/pages/nlu/Rasa' } |
| 92 | + ] |
| 93 | + }, |
| 94 | + { |
| 95 | + text: 'Environment', |
| 96 | + collapsed: false, |
| 97 | + items: [ |
| 98 | + { text: 'Overview', link: '/pages/env/index' }, |
| 99 | + { text: 'Ktor', link: '/pages/env/Ktor' }, |
| 100 | + { text: 'Spring Boot', link: '/pages/env/Spring-Boot' }, |
| 101 | + { text: 'AWS Lambda', link: '/pages/env/AWS-Lambda' }, |
| 102 | + { text: 'Heroku', link: '/pages/env/Heroku' }, |
| 103 | + { text: 'Docker', link: '/pages/env/Docker' }, |
| 104 | + { text: 'JAICP Cloud', link: '/pages/env/JAICP-Cloud' }, |
| 105 | + { text: 'Android', link: '/pages/env/Android' }, |
| 106 | + { text: 'MapDB', link: '/pages/env/MapDB' }, |
| 107 | + { text: 'MongoDB', link: '/pages/env/MongoDB' } |
| 108 | + ] |
| 109 | + }, |
| 110 | + { |
| 111 | + text: 'Features', |
| 112 | + collapsed: false, |
| 113 | + items: [ |
| 114 | + { text: 'Overview', link: '/pages/features/index' }, |
| 115 | + { text: 'Bot Routing', link: '/pages/features/Bot-Routing' }, |
| 116 | + { text: 'BotContext Delegates', link: '/pages/features/BotContext-Delegates' }, |
| 117 | + { text: 'Conversation Logging', link: '/pages/features/Conversation-Logging' }, |
| 118 | + { text: 'Hooks', link: '/pages/features/Hooks' }, |
| 119 | + { text: 'Testing', link: '/pages/features/Testing' } |
| 120 | + ] |
| 121 | + }, |
| 122 | + { |
| 123 | + text: 'Deployment', |
| 124 | + items: [ |
| 125 | + { text: 'Deployment Guide', link: '/pages/Deployment' } |
| 126 | + ] |
| 127 | + } |
| 128 | + ], |
| 129 | + |
| 130 | + socialLinks: [ |
| 131 | + { icon: 'github', link: 'https://github.com/just-ai/jaicf-kotlin' }, |
| 132 | + { icon: 'twitter', link: 'https://twitter.com/JustAIglobal' } |
| 133 | + ], |
| 134 | + |
| 135 | + footer: { |
| 136 | + message: 'Documentation for JAICF - Just AI Conversational Framework', |
| 137 | + copyright: 'Copyright © Just AI' |
| 138 | + }, |
| 139 | + |
| 140 | + search: { |
| 141 | + provider: 'local' |
| 142 | + } |
| 143 | + } |
| 144 | +}) |
0 commit comments