Skip to content

Commit a68aa9a

Browse files
authored
chore: docs style (#24)
chore: docs style
1 parent 03b3ee9 commit a68aa9a

File tree

55 files changed

+23
-13
lines changed

Some content is hidden

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

55 files changed

+23
-13
lines changed

Diff for: .eslintignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
!site/.vitepress
1+
!docs/.vitepress
22
dist
33
node_modules
44
.output

Diff for: .github/workflows/pr-merged.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- uses: actions/checkout@v2
1313
- run: npx pnpm i
1414
- name: 'Update README'
15-
run: npm run build && npm run site:build
15+
run: npm run build:all
1616
- uses: EndBug/add-and-commit@v4 # You can change this to use a specific version
1717
with:
1818
ref: 'main'
File renamed without changes.
File renamed without changes.
File renamed without changes.

Diff for: docs/.vitepress/theme/styles/overrides.css

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
img {
2+
display: inline !important;
3+
}
4+
5+
:root {
6+
--vp-home-hero-name-color: transparent;
7+
--vp-home-hero-name-background: -webkit-linear-gradient(315deg, #42d392 25%, #647eff);
8+
--vp-home-hero-image-background-image: linear-gradient(-45deg,
9+
#4acf93 30%,
10+
#c3edda);
11+
--vp-home-hero-image-filter: blur(100px);
12+
}

Diff for: site/challenges.md renamed to docs/challenges.md

Diff for: site/index.md renamed to docs/index.md

+1-1
File renamed without changes.
File renamed without changes.

Diff for: site/meta/index.ts renamed to docs/meta/index.ts

File renamed without changes.

Diff for: site/package.json renamed to docs/package.json

File renamed without changes.
File renamed without changes.

Diff for: docs/public/logo.png

23.9 KB
File renamed without changes.

Diff for: site/tsconfig.json renamed to docs/tsconfig.json

File renamed without changes.
File renamed without changes.

Diff for: logo.png

7.97 KB

Diff for: netlify.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
NODE_VERSION = "16"
44

55
[build]
6-
publish = "site/.vitepress/dist"
7-
command = "npx pnpm i --store=node_modules/.pnpm-store && npm run site:build"
6+
publish = "docs/.vitepress/dist"
7+
command = "npx pnpm i --store=node_modules/.pnpm-store && npm run docs:build"
88

99
[[redirects]]
1010
from = "/*"

Diff for: package.json

+4-3
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,10 @@
1212
"main": "index.js",
1313
"scripts": {
1414
"build": "tsx ./scripts/build.ts",
15-
"site:dev": "pnpm run -C site update && pnpm run -C site dev",
16-
"site:build": "pnpm run -C site build",
17-
"site:serve": "pnpm run -C site serve",
15+
"docs:dev": "pnpm run -C docs update && pnpm run -C docs dev",
16+
"docs:build": "pnpm run -C docs build",
17+
"build:all": "pnpm run build && pnpm run docs:build",
18+
"docs:serve": "pnpm run -C docs serve",
1819
"lint": "eslint . --ext .vue,.js,.ts,.jsx,.tsx,.json --max-warnings 0",
1920
"lint:fix": "eslint --fix . --ext .vue,.js,.ts,.jsx,.tsx,.json"
2021
},

Diff for: pnpm-lock.yaml

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: pnpm-workspace.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
packages:
2-
- site
2+
- docs

Diff for: site/.vitepress/theme/styles/overrides.css

-3
This file was deleted.

Diff for: site/public/logo.png

-16 KB
Binary file not shown.

0 commit comments

Comments
 (0)