Skip to content

Commit 2e4fcf1

Browse files
authored
Migrate to Vitepress (#125)
1 parent 6ea22ef commit 2e4fcf1

File tree

214 files changed

+5050
-1216
lines changed

Some content is hidden

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

214 files changed

+5050
-1216
lines changed

.editorconfig

Lines changed: 415 additions & 0 deletions
Large diffs are not rendered by default.

.github/dependabot.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,3 @@ updates:
44
directory: "/"
55
schedule:
66
interval: "weekly"
7-
- package-ecosystem: "gitsubmodule"
8-
directory: "/"
9-
schedule:
10-
interval: "weekly"

.github/workflows/main.yml

Lines changed: 14 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
name: Deploy Hugo site to Pages
1+
name: Deploy site to Pages
22

33
on:
44
# Runs on pushes targeting the default branch
55
push:
6-
branches: ["main"]
6+
branches: [ "main" ]
77

88
# Allows you to run this workflow manually from the Actions tab
99
workflow_dispatch:
@@ -30,37 +30,24 @@ jobs:
3030
runs-on: ubuntu-latest
3131
steps:
3232
- name: Checkout
33-
uses: actions/checkout@v5
34-
with:
35-
submodules: recursive
33+
uses: actions/checkout@v6
34+
- name: Setup Pages
35+
uses: actions/configure-pages@v5
3636

37-
- name: Cache Hugo resources
38-
uses: actions/cache@v4
39-
env:
40-
cache-name: cache-hugo-resources
37+
- name: Setup Node
38+
uses: actions/setup-node@v6
4139
with:
42-
path: resources
43-
key: ${{ env.cache-name }}
44-
45-
- name: Setup Hugo
46-
uses: peaceiris/actions-hugo@v3
47-
with:
48-
hugo-version: "0.141.0"
40+
node-version: 24
41+
cache: npm
42+
- name: Install dependencies
43+
run: npm ci
44+
- name: Build with VitePress
45+
run: npm run build
4946

50-
- name: Setup Pages
51-
id: pages
52-
uses: actions/configure-pages@v5
53-
- name: Build with Hugo
54-
run: |
55-
hugo \
56-
--minify \
57-
--gc \
58-
--environment production \
59-
--baseURL "${{ steps.pages.outputs.base_url }}/"
6047
- name: Upload artifact
6148
uses: actions/upload-pages-artifact@v4
6249
with:
63-
path: ./public
50+
path: ./.vitepress/dist
6451

6552
# Deployment job
6653
deploy:

.gitignore

Lines changed: 210 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,210 @@
1-
# Generated files by hugo
2-
/public/
3-
/resources/_gen/
4-
/assets/jsconfig.json
5-
hugo_stats.json
6-
7-
# Executable may be added to repository
8-
hugo.exe
9-
hugo.darwin
10-
hugo.linux
11-
12-
# Temporary lock file while building
13-
/.hugo_build.lock
1+
### JetBrains+all template
2+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
3+
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
4+
5+
# User-specific stuff
6+
.idea/
7+
8+
# AWS User-specific
9+
.idea/**/aws.xml
10+
11+
# Generated files
12+
.idea/**/contentModel.xml
13+
14+
# Sensitive or high-churn files
15+
.idea/**/dataSources/
16+
.idea/**/dataSources.ids
17+
.idea/**/dataSources.local.xml
18+
.idea/**/sqlDataSources.xml
19+
.idea/**/dynamic.xml
20+
.idea/**/uiDesigner.xml
21+
.idea/**/dbnavigator.xml
22+
23+
# Gradle
24+
.idea/**/gradle.xml
25+
.idea/**/libraries
26+
27+
# Gradle and Maven with auto-import
28+
# When using Gradle or Maven with auto-import, you should exclude module files,
29+
# since they will be recreated, and may cause churn. Uncomment if using
30+
# auto-import.
31+
# .idea/artifacts
32+
# .idea/compiler.xml
33+
# .idea/jarRepositories.xml
34+
# .idea/modules.xml
35+
# .idea/*.iml
36+
# .idea/modules
37+
# *.iml
38+
# *.ipr
39+
40+
# CMake
41+
cmake-build-*/
42+
43+
# Mongo Explorer plugin
44+
.idea/**/mongoSettings.xml
45+
46+
# File-based project format
47+
*.iws
48+
49+
# IntelliJ
50+
out/
51+
52+
# mpeltonen/sbt-idea plugin
53+
.idea_modules/
54+
55+
# JIRA plugin
56+
atlassian-ide-plugin.xml
57+
58+
# Cursive Clojure plugin
59+
.idea/replstate.xml
60+
61+
# SonarLint plugin
62+
.idea/sonarlint/
63+
64+
# Crashlytics plugin (for Android Studio and IntelliJ)
65+
com_crashlytics_export_strings.xml
66+
crashlytics.properties
67+
crashlytics-build.properties
68+
fabric.properties
69+
70+
# Editor-based Rest Client
71+
.idea/httpRequests
72+
73+
# Android studio 3.1+ serialized cache file
74+
.idea/caches/build_file_checksums.ser
75+
76+
### Node template
77+
# Logs
78+
logs
79+
*.log
80+
npm-debug.log*
81+
yarn-debug.log*
82+
yarn-error.log*
83+
lerna-debug.log*
84+
.pnpm-debug.log*
85+
86+
# Diagnostic reports (https://nodejs.org/api/report.html)
87+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
88+
89+
# Runtime data
90+
pids
91+
*.pid
92+
*.seed
93+
*.pid.lock
94+
95+
# Directory for instrumented libs generated by jscoverage/JSCover
96+
lib-cov
97+
98+
# Coverage directory used by tools like istanbul
99+
coverage
100+
*.lcov
101+
102+
# nyc test coverage
103+
.nyc_output
104+
105+
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
106+
.grunt
107+
108+
# Bower dependency directory (https://bower.io/)
109+
bower_components
110+
111+
# node-waf configuration
112+
.lock-wscript
113+
114+
# Compiled binary addons (https://nodejs.org/api/addons.html)
115+
build/Release
116+
117+
# Dependency directories
118+
node_modules/
119+
jspm_packages/
120+
121+
# Snowpack dependency directory (https://snowpack.dev/)
122+
web_modules/
123+
124+
# TypeScript cache
125+
*.tsbuildinfo
126+
127+
# Optional npm cache directory
128+
.npm
129+
130+
# Optional eslint cache
131+
.eslintcache
132+
133+
# Optional stylelint cache
134+
.stylelintcache
135+
136+
# Microbundle cache
137+
.rpt2_cache/
138+
.rts2_cache_cjs/
139+
.rts2_cache_es/
140+
.rts2_cache_umd/
141+
142+
# Optional REPL history
143+
.node_repl_history
144+
145+
# Output of 'npm pack'
146+
*.tgz
147+
148+
# Yarn Integrity file
149+
.yarn-integrity
150+
151+
# dotenv environment variable files
152+
.env
153+
.env.development.local
154+
.env.test.local
155+
.env.production.local
156+
.env.local
157+
158+
# parcel-bundler cache (https://parceljs.org/)
159+
.cache
160+
.parcel-cache
161+
162+
# Next.js build output
163+
.next
164+
out
165+
166+
# Nuxt.js build / generate output
167+
.nuxt
168+
dist
169+
170+
# Gatsby files
171+
.cache/
172+
# Comment in the public line in if your project uses Gatsby and not Next.js
173+
# https://nextjs.org/blog/next-9-1#public-directory-support
174+
# public
175+
176+
# vuepress build output
177+
.vuepress/dist
178+
179+
# vuepress v2.x temp and cache directory
180+
.temp
181+
.cache
182+
183+
# Docusaurus cache and generated files
184+
.docusaurus
185+
186+
# Serverless directories
187+
.serverless/
188+
189+
# FuseBox cache
190+
.fusebox/
191+
192+
# DynamoDB Local files
193+
.dynamodb/
194+
195+
# TernJS port file
196+
.tern-port
197+
198+
# Stores VSCode versions used for testing VSCode extensions
199+
.vscode-test
200+
201+
# yarn v2
202+
.yarn/cache
203+
.yarn/unplugged
204+
.yarn/build-state.yml
205+
.yarn/install-state.gz
206+
.pnp.*
207+
208+
# Vitepress
209+
.vitepress/cache
210+
.vitepress/dist

.gitmodules

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

0 commit comments

Comments
 (0)