Skip to content

Commit 4fcf5dc

Browse files
authored
docs: enable the Ask AI assistant on the docs site (#275)
1 parent dde828e commit 4fcf5dc

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

docs/app/app.config.ts

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,40 @@ export default defineAppConfig({
135135
},
136136
},
137137

138+
assistant: {
139+
enabled: true,
140+
faqQuestions: [
141+
{
142+
category: 'Getting Started',
143+
items: [
144+
'What is Devframe and what problem does it solve?',
145+
'How do I define a devframe and mount it with the Vite adapter?',
146+
],
147+
},
148+
{
149+
category: 'RPC & State',
150+
items: [
151+
'How do I define an RPC function with defineRpcFunction?',
152+
'How does shared state stay in sync between server and client?',
153+
],
154+
},
155+
{
156+
category: 'Adapters',
157+
items: [
158+
'What adapters can one devframe definition run under?',
159+
'How do I build a standalone CLI from a devframe?',
160+
],
161+
},
162+
{
163+
category: 'Hub',
164+
items: [
165+
'How do I compose multiple integrations into a hub?',
166+
'How do I build my own hub UI on top of the hub protocol?',
167+
],
168+
},
169+
],
170+
},
171+
138172
ui: {
139173
colors: {
140174
primary: 'sage',

0 commit comments

Comments
 (0)