Skip to content

Commit b87326a

Browse files
authored
Merge pull request #28 from 1985312383/master
Refactor project structure and website content
2 parents f8a6b3c + 595fe79 commit b87326a

File tree

191 files changed

+7419
-6003
lines changed

Some content is hidden

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

191 files changed

+7419
-6003
lines changed

.github/workflows/deploy.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Deploy VitePress to GitHub Pages
2+
3+
on:
4+
push:
5+
branches: [ master, main ]
6+
7+
jobs:
8+
build-and-deploy:
9+
runs-on: ubuntu-latest
10+
permissions:
11+
contents: write
12+
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v4
16+
with:
17+
fetch-depth: 0
18+
19+
- name: Setup Node.js
20+
uses: actions/setup-node@v4
21+
with:
22+
node-version: '20'
23+
cache: 'npm'
24+
25+
- name: Install dependencies
26+
run: npm install
27+
28+
- name: Build VitePress site
29+
run: npm run build
30+
31+
- name: Deploy to GitHub Pages
32+
uses: peaceiris/actions-gh-pages@v3
33+
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main'
34+
with:
35+
github_token: ${{ secrets.GITHUB_TOKEN }}
36+
publish_dir: docs/.vitepress/dist

.gitignore

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,4 +122,29 @@ venv.bak/
122122
# mypy
123123
.mypy_cache/
124124
.dmypy.json
125-
dmypy.json
125+
dmypy.json
126+
127+
# VitePress 相关文件
128+
docs/.vitepress/cache
129+
.vitepress/cache
130+
131+
# Node.js 依赖
132+
node_modules/
133+
npm-debug.log*
134+
yarn-debug.log*
135+
yarn-error.log*
136+
pnpm-debug.log*
137+
138+
# 运行时数据
139+
pids/
140+
*.pid
141+
*.seed
142+
*.pid.lock
143+
144+
# Optional npm cache directory
145+
.npm
146+
147+
# Optional eslint cache
148+
.eslintcache
149+
150+
docs-old/

AI算法/NLP/应用场景/NLG.md

Lines changed: 0 additions & 15 deletions
This file was deleted.

AI算法/NLP/应用场景/Similarity.md

Lines changed: 0 additions & 14 deletions
This file was deleted.

AI算法/NLP/文本表示/文本结构理解.md

Lines changed: 0 additions & 47 deletions
This file was deleted.

AI算法/NLP/文本表示/文本表征方式.md

Lines changed: 0 additions & 99 deletions
This file was deleted.

0 commit comments

Comments
 (0)