Skip to content

Commit d63f00a

Browse files
authored
✨ feat: add ProChat (#1)
feat: 第一版 ProChat
2 parents 0560c6b + 26917d5 commit d63f00a

File tree

166 files changed

+10267
-36
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

166 files changed

+10267
-36
lines changed

.dumirc.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ export default defineConfig({
55
themeConfig: {
66
name: '@ant-design/pro-chat',
77
github: homepage,
8+
siteToken: {
9+
demoInheritSiteTheme: true,
10+
},
811
},
12+
mfsu: false,
13+
outputPath: 'docs-dist',
914
html2sketch: {},
15+
extraBabelPlugins: ['antd-style'],
1016
});

.github/workflows/preview.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Surge PR Preview
2+
3+
on:
4+
pull_request:
5+
6+
workflow_dispatch:
7+
8+
jobs:
9+
preview:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v3
13+
14+
- name: Install pnpm
15+
uses: pnpm/action-setup@v2
16+
with:
17+
version: 8
18+
19+
- uses: afc163/surge-preview@v1
20+
id: preview_step
21+
with:
22+
surge_token: ${{ secrets.SURGE_TOKEN }}
23+
github_token: ${{ secrets.GITHUB_TOKEN }}
24+
build: |
25+
pnpm i
26+
pnpm run docs:build
27+
dist: docs-dist
28+
29+
- name: Get the preview_url
30+
run: echo "url => ${{ steps.preview_step.outputs.preview_url }}"

.gitignore

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22

33
# dependencies
44
**/node_modules
5-
# roadhog-api-doc ignore
6-
/src/utils/request-temp.js
7-
_roadhog-api-doc
85

96
# production
107
**/dist
@@ -40,3 +37,5 @@ screenshot
4037
example/.temp/*
4138
.eslintcache
4239
techUI*
40+
.vercel
41+
bun.lockb

0 commit comments

Comments
 (0)