-
-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
56 changed files
with
39,809 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
name: Documentation | ||
|
||
on: | ||
# trigger deployment on push to master branch when changes to docs/** | ||
push: | ||
paths: | ||
- "docs/**" | ||
branches: | ||
- master | ||
# trigger deployment manually | ||
workflow_dispatch: | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
working-directory: docs/ | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
# fetch all commits to get last updated time or other git log info | ||
fetch-depth: 0 | ||
|
||
- name: Setup Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: "20" | ||
|
||
- name: Cache dependencies | ||
uses: actions/cache@v3 | ||
id: npm-cache | ||
with: | ||
path: | | ||
**/node_modules | ||
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }} | ||
restore-keys: | | ||
${{ runner.os }}-npm- | ||
- name: Install dependencies | ||
if: steps.npm-cache.outputs.cache-hit != 'true' | ||
run: npm install | ||
|
||
- name: Build VitePress site | ||
run: npm run build | ||
|
||
- name: Bundle CNAME with site dist | ||
run: cp CNAME .vitepress/dist | ||
|
||
- name: Deploy to GitHub Pages | ||
uses: crazy-max/ghaction-github-pages@v4 | ||
with: | ||
# deploy to gh-pages branch | ||
target_branch: gh-pages | ||
# deploy the default output dir of VitePress | ||
build_dir: docs/.vitepress/dist | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
.DS_Store | ||
.DS_Store | ||
|
||
/docs/node_modules/ |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
{ | ||
"hash": "30243d53", | ||
"configHash": "b25d5b92", | ||
"lockfileHash": "3856c7ce", | ||
"browserHash": "02b5300a", | ||
"optimized": { | ||
"vue": { | ||
"src": "../../../node_modules/vue/dist/vue.runtime.esm-bundler.js", | ||
"file": "vue.js", | ||
"fileHash": "ca713e7d", | ||
"needsInterop": false | ||
}, | ||
"vitepress > @vue/devtools-api": { | ||
"src": "../../../node_modules/@vue/devtools-api/dist/index.js", | ||
"file": "vitepress___@vue_devtools-api.js", | ||
"fileHash": "ce07ce20", | ||
"needsInterop": false | ||
}, | ||
"vitepress > @vueuse/core": { | ||
"src": "../../../node_modules/@vueuse/core/index.mjs", | ||
"file": "vitepress___@vueuse_core.js", | ||
"fileHash": "5949278f", | ||
"needsInterop": false | ||
}, | ||
"vitepress > @vueuse/integrations/useFocusTrap": { | ||
"src": "../../../node_modules/@vueuse/integrations/useFocusTrap.mjs", | ||
"file": "vitepress___@vueuse_integrations_useFocusTrap.js", | ||
"fileHash": "4b4c81f7", | ||
"needsInterop": false | ||
}, | ||
"vitepress > mark.js/src/vanilla.js": { | ||
"src": "../../../node_modules/mark.js/src/vanilla.js", | ||
"file": "vitepress___mark__js_src_vanilla__js.js", | ||
"fileHash": "34dc1657", | ||
"needsInterop": false | ||
}, | ||
"vitepress > minisearch": { | ||
"src": "../../../node_modules/minisearch/dist/es/index.js", | ||
"file": "vitepress___minisearch.js", | ||
"fileHash": "9fd5ef62", | ||
"needsInterop": false | ||
}, | ||
"@theme/index": { | ||
"src": "../../../node_modules/vitepress/dist/client/theme-default/index.js", | ||
"file": "@theme_index.js", | ||
"fileHash": "4eb88202", | ||
"needsInterop": false | ||
} | ||
}, | ||
"chunks": { | ||
"chunk-ALTI5GXB": { | ||
"file": "chunk-ALTI5GXB.js" | ||
}, | ||
"chunk-GDOUI6H4": { | ||
"file": "chunk-GDOUI6H4.js" | ||
} | ||
} | ||
} |
Oops, something went wrong.