Skip to content

Commit f822c8a

Browse files
authored
Add AI assistan (#34)
1 parent 7c14836 commit f822c8a

File tree

6 files changed

+1521
-199
lines changed

6 files changed

+1521
-199
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ jobs:
2626
- name: Build Application
2727
run: npm run docs:build
2828

29+
- name: Upload Docs
30+
run: npm run documate:upload
31+
2932
- name: Bump Application Version and Tag
3033
id: tag_version
3134
uses: mathieudutour/github-tag-action@v6.0

docs/.vitepress/theme/index.js

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,16 @@
1+
import { h } from 'vue'
12
import DefaultTheme from 'vitepress/theme'
3+
import Documate from '@documate/vue'
24
import './custom.css'
5+
import '@documate/vue/dist/style.css'
36

4-
export default DefaultTheme
7+
export default {
8+
...DefaultTheme,
9+
Layout: h(DefaultTheme.Layout, null, {
10+
'nav-bar-content-before': () =>
11+
h(Documate, {
12+
endpoint: 'https://5129r9av6i.us.aircode.run/ask',
13+
predefinedQuestions: ['What is PERSCOM?', 'How do I sign up?', 'What are the benefits of PERSCOM?']
14+
})
15+
})
16+
}

docs/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ monitor performance, assign tasks, recognize accomplishments, categorize and met
66
forms, conduct data analysis, and maintain seamless and constant communication within the organization. You can explore a live demonstration
77
of its capabilities at https://demo.perscom.io.
88

9-
These mission-critical tools are purpose-built to cater to the specific needs of police,
10-
fire, EMS, military, and public safety agencies, offering the means to enhance communication, streamline data management, and ultimately
11-
enhance overall operational efficiency with PERSCOM.io.
9+
These mission-critical tools are purpose-built to cater to the specific needs of police, fire, EMS, military, and public safety agencies,
10+
offering the means to enhance communication, streamline data management, and ultimately enhance overall operational efficiency with
11+
PERSCOM.io.
1212

1313
![Dashboard Preview](https://raw.githubusercontent.com/DeschutesDesignGroupLLC/perscom-docs/master/resources/dashboard-preview.png)

documate.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"root": "./docs",
3+
"include": [
4+
"**/*.md",
5+
"**/*.mdx"
6+
],
7+
"backend": "https://5129r9av6i.us.aircode.run/upload"
8+
}

0 commit comments

Comments
 (0)