Attempt to move website to git subdirectory
Better readability as there's a bunch of files that are not related to each other in the root directory
6
.github/workflows/deploy.yml
vendored
@ -12,6 +12,9 @@ env:
|
|||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
working-directory: "website"
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
@ -33,6 +36,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: 16
|
node-version: 16
|
||||||
cache: npm
|
cache: npm
|
||||||
|
cache-dependency-path: "**/package-lock.json"
|
||||||
|
|
||||||
- name: Install and build
|
- name: Install and build
|
||||||
run: npm ci && npm run docs:build
|
run: npm ci && npm run docs:build
|
||||||
@ -43,7 +47,7 @@ jobs:
|
|||||||
- name: Upload pages artifact
|
- name: Upload pages artifact
|
||||||
uses: actions/upload-pages-artifact@v1
|
uses: actions/upload-pages-artifact@v1
|
||||||
with:
|
with:
|
||||||
path: src/.vitepress/dist
|
path: website/src/.vitepress/dist
|
||||||
|
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
id: deployment
|
id: deployment
|
||||||
|
8
.gitignore
vendored
@ -11,14 +11,14 @@
|
|||||||
.vite_opt_cache
|
.vite_opt_cache
|
||||||
.vscode
|
.vscode
|
||||||
/coverage
|
/coverage
|
||||||
/src/client/shared.ts
|
website/src/client/shared.ts
|
||||||
/src/node/shared.ts
|
website/src/node/shared.ts
|
||||||
cache
|
cache
|
||||||
dist
|
dist
|
||||||
examples-temp
|
examples-temp
|
||||||
node_modules
|
node_modules
|
||||||
pnpm-global
|
pnpm-global
|
||||||
src/.temp
|
website/src/.temp
|
||||||
src/assets/style/sandbox.styl
|
website/src/assets/style/sandbox.styl
|
||||||
temp
|
temp
|
||||||
TODOs.md
|
TODOs.md
|
||||||
|
@ -2,5 +2,6 @@
|
|||||||
NODE_VERSION = "16"
|
NODE_VERSION = "16"
|
||||||
|
|
||||||
[build]
|
[build]
|
||||||
|
base = "website"
|
||||||
publish = "src/.vitepress/dist"
|
publish = "src/.vitepress/dist"
|
||||||
command = "npm run docs:build"
|
command = "npm run docs:build"
|
||||||
|
@ -25,7 +25,7 @@ const themeConfig: DefaultTheme.Config = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
editLink: {
|
editLink: {
|
||||||
pattern: "https://github.com/xhenos/kodo/edit/v3-vitepress/src/:path",
|
pattern: "https://github.com/xhenos/kodo/edit/v3-vitepress/website/src/:path",
|
||||||
text: "Help us improve this page",
|
text: "Help us improve this page",
|
||||||
},
|
},
|
||||||
|
|
Before Width: | Height: | Size: 80 KiB After Width: | Height: | Size: 80 KiB |
Before Width: | Height: | Size: 793 KiB After Width: | Height: | Size: 793 KiB |
Before Width: | Height: | Size: 784 KiB After Width: | Height: | Size: 784 KiB |
Before Width: | Height: | Size: 793 KiB After Width: | Height: | Size: 793 KiB |
Before Width: | Height: | Size: 802 KiB After Width: | Height: | Size: 802 KiB |
Before Width: | Height: | Size: 372 KiB After Width: | Height: | Size: 372 KiB |
Before Width: | Height: | Size: 264 KiB After Width: | Height: | Size: 264 KiB |
Before Width: | Height: | Size: 264 KiB After Width: | Height: | Size: 264 KiB |
Before Width: | Height: | Size: 206 KiB After Width: | Height: | Size: 206 KiB |
Before Width: | Height: | Size: 264 KiB After Width: | Height: | Size: 264 KiB |
Before Width: | Height: | Size: 372 KiB After Width: | Height: | Size: 372 KiB |
Before Width: | Height: | Size: 137 KiB After Width: | Height: | Size: 137 KiB |
Before Width: | Height: | Size: 6.9 KiB After Width: | Height: | Size: 6.9 KiB |
Before Width: | Height: | Size: 7.2 KiB After Width: | Height: | Size: 7.2 KiB |
Before Width: | Height: | Size: 4.6 KiB After Width: | Height: | Size: 4.6 KiB |
Before Width: | Height: | Size: 499 B After Width: | Height: | Size: 499 B |
Before Width: | Height: | Size: 683 B After Width: | Height: | Size: 683 B |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 5.7 KiB After Width: | Height: | Size: 5.7 KiB |
Before Width: | Height: | Size: 1.2 MiB After Width: | Height: | Size: 1.2 MiB |
Before Width: | Height: | Size: 626 KiB After Width: | Height: | Size: 626 KiB |
Before Width: | Height: | Size: 1.2 MiB After Width: | Height: | Size: 1.2 MiB |
Before Width: | Height: | Size: 627 KiB After Width: | Height: | Size: 627 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 4.7 KiB After Width: | Height: | Size: 4.7 KiB |
Before Width: | Height: | Size: 9.8 KiB After Width: | Height: | Size: 9.8 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 4.5 KiB After Width: | Height: | Size: 4.5 KiB |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |