Skip to content

Commit 624d101

Browse files
committed
Initial commit
0 parents  commit 624d101

Some content is hidden

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

46 files changed

+4625
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
name: Deploy Rspress site to Pages
2+
3+
on:
4+
push:
5+
branches: [main]
6+
7+
workflow_dispatch:
8+
9+
permissions:
10+
contents: read
11+
pages: write
12+
id-token: write
13+
14+
concurrency:
15+
group: pages
16+
cancel-in-progress: false
17+
18+
jobs:
19+
# Build job
20+
build:
21+
runs-on: ubuntu-latest
22+
steps:
23+
- name: Checkout
24+
uses: actions/checkout@v4
25+
with:
26+
fetch-depth: 0 # Not needed if lastUpdated is not enabled
27+
- uses: pnpm/action-setup@v3 # pnpm is optional but recommended, you can also use npm / yarn
28+
with:
29+
version: 9
30+
- name: Setup Node
31+
uses: actions/setup-node@v4
32+
with:
33+
node-version: 20
34+
cache: pnpm
35+
- name: Setup Pages
36+
uses: actions/configure-pages@v5
37+
- name: Install dependencies
38+
run: pnpm install
39+
- name: Build with Rspress
40+
run: |
41+
pnpm run build
42+
- name: Upload artifact
43+
uses: actions/upload-pages-artifact@v3
44+
with:
45+
path: doc_build
46+
47+
# Deployment job
48+
deploy:
49+
environment:
50+
name: github-pages
51+
url: ${{ steps.deployment.outputs.page_url }}
52+
needs: build
53+
runs-on: ubuntu-latest
54+
name: Deploy
55+
steps:
56+
- name: Deploy to GitHub Pages
57+
id: deployment
58+
uses: actions/deploy-pages@v4

.gitignore

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
.DS_Store
2+
3+
.pnp
4+
.pnp.js
5+
.env.local
6+
.env.*.local
7+
.history
8+
.rts*
9+
*.log*
10+
*.pid
11+
*.pid.*
12+
*.report
13+
*.lcov
14+
lib-cov
15+
16+
node_modules/
17+
.npm
18+
.lock-wscript
19+
.yarn-integrity
20+
.node_repl_history
21+
.nyc_output
22+
*.tsbuildinfo
23+
.sonarlint
24+
25+
dist/
26+
coverage/
27+
release/
28+
output/
29+
output_resource/
30+
log/
31+
32+
.vscode/**/*
33+
!.vscode/settings.json
34+
!.vscode/extensions.json
35+
.idea/
36+
37+
**/*/typings/auto-generated
38+
39+
.pnpm-store/
40+
41+
doc_build/

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
registry=https://registry.npmjs.org/

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
20

.vscode/extensions.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"recommendations": ["biomejs.biome", "unifiedjs.vscode-mdx"]
3+
}

.vscode/settings.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"[javascript]": {
3+
"editor.defaultFormatter": "biomejs.biome"
4+
},
5+
"[typescript]": {
6+
"editor.defaultFormatter": "biomejs.biome"
7+
},
8+
"[json]": {
9+
"editor.defaultFormatter": "vscode.json-language-features"
10+
},
11+
"[jsonc]": {
12+
"editor.defaultFormatter": "biomejs.biome"
13+
},
14+
"editor.formatOnSave": true,
15+
"editor.codeActionsOnSave": {
16+
"quickfix.biome": "explicit",
17+
"source.organizeImports.biome": "explicit"
18+
}
19+
}
20+
72.2 KB
Binary file not shown.
54.9 KB
Binary file not shown.

assets/fonts/SFPRODISPLAYBOLD.woff

131 KB
Binary file not shown.

assets/fonts/SFPRODISPLAYBOLD.woff2

95.8 KB
Binary file not shown.

0 commit comments

Comments
 (0)