feat: reorganize repo
6
.github/script.sh
vendored
|
|
@ -1,7 +1,7 @@
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
python .github/replace.py
|
python .github/replace.py
|
||||||
python .github/add-headers.py
|
python .github/add-headers.py
|
||||||
|
|
||||||
for file in *; do
|
|
||||||
[[ -f "$file" ]] && mv "$file" "${file,,}" 2>/dev/null
|
|
||||||
done
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
|
||||||
4
.github/workflows/deploy-gh-pages.yml
vendored
|
|
@ -41,11 +41,11 @@ jobs:
|
||||||
- name: Build with VitePress
|
- name: Build with VitePress
|
||||||
run: |
|
run: |
|
||||||
pnpm docs:build
|
pnpm docs:build
|
||||||
touch .vitepress/dist/.nojekyll
|
touch docs/.vitepress/dist/.nojekyll
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-pages-artifact@v2
|
uses: actions/upload-pages-artifact@v2
|
||||||
with:
|
with:
|
||||||
path: .vitepress/dist
|
path: docs/.vitepress/dist
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
environment:
|
environment:
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,8 @@
|
||||||
import { fetcher } from 'itty-fetcher'
|
import { fetcher } from 'itty-fetcher'
|
||||||
import { FeedbackSchema, getFeedbackOption } from '../types/Feedback'
|
import {
|
||||||
|
FeedbackSchema,
|
||||||
|
getFeedbackOption
|
||||||
|
} from '../../docs/.vitepress/types/Feedback'
|
||||||
|
|
||||||
export default defineEventHandler(async (event) => {
|
export default defineEventHandler(async (event) => {
|
||||||
const { message, page, type } = await readValidatedBody(
|
const { message, page, type } = await readValidatedBody(
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
"$schema": "https://biomejs.dev/schemas/1.8.3/schema.json",
|
"$schema": "https://biomejs.dev/schemas/1.8.3/schema.json",
|
||||||
"extends": ["@taskylizard/biome-config"],
|
"extends": ["@taskylizard/biome-config"],
|
||||||
"files": {
|
"files": {
|
||||||
"ignore": [".vitepress/**/*.vue", ".vitepress/vue-shim.d.ts"]
|
"ignore": ["docs/.vitepress/**/*.vue", "docs/.vitepress/vue-shim.d.ts"]
|
||||||
},
|
},
|
||||||
"formatter": {
|
"formatter": {
|
||||||
"enabled": false
|
"enabled": false
|
||||||
|
|
|
||||||
0
docs/.vitepress/transformer.ts
Normal file
|
Before Width: | Height: | Size: 1.9 MiB After Width: | Height: | Size: 1.9 MiB |
|
Before Width: | Height: | Size: 451 KiB After Width: | Height: | Size: 451 KiB |
|
Before Width: | Height: | Size: 442 KiB After Width: | Height: | Size: 442 KiB |
|
Before Width: | Height: | Size: 442 KiB After Width: | Height: | Size: 442 KiB |
|
Before Width: | Height: | Size: 8.6 KiB After Width: | Height: | Size: 8.6 KiB |
|
Before Width: | Height: | Size: 8.6 KiB After Width: | Height: | Size: 8.6 KiB |
|
Before Width: | Height: | Size: 86 KiB After Width: | Height: | Size: 86 KiB |
|
Before Width: | Height: | Size: 82 KiB After Width: | Height: | Size: 82 KiB |
|
Before Width: | Height: | Size: 318 KiB After Width: | Height: | Size: 318 KiB |