Skip to content

Commit

Permalink
chore: tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
meteorlxy committed Dec 10, 2023
1 parent 238e243 commit 63a2cd6
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/check-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ jobs:
- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Lint
run: pnpm lint

- name: Build docs with ${{ matrix.bundler }}
run: pnpm docs:build
env:
Expand Down
2 changes: 2 additions & 0 deletions docs/reference/default-theme/markdown.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ const foo = 'foo'
```

:::

::: code-group-item BAR

```ts
Expand All @@ -129,6 +130,7 @@ const foo = 'foo'
```

:::

::: code-group-item BAR

```ts
Expand Down
2 changes: 2 additions & 0 deletions docs/zh/reference/default-theme/markdown.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ const foo = 'foo'
```

:::

::: code-group-item BAR

```ts
Expand All @@ -129,6 +130,7 @@ const foo = 'foo'
```

:::

::: code-group-item BAR

```ts
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@
"docs:clean": "rimraf docs/.vuepress/.temp docs/.vuepress/.cache docs/.vuepress/dist",
"docs:dev": "vuepress-cli dev docs --clean-cache --clean-temp",
"docs:dev-webpack": "DOCS_BUNDLER=webpack pnpm docs:dev",
"docs:lint": "prettier --check --write .",
"docs:serve": "anywhere -s -h localhost -d docs/.vuepress/dist"
"docs:serve": "anywhere -s -h localhost -d docs/.vuepress/dist",
"format": "prettier --write .",
"lint": "eslint --ext .cjs,.js,.ts,.vue . && prettier --check ."
},
"commitlint": {
"extends": [
Expand Down

0 comments on commit 63a2cd6

Please sign in to comment.