diff --git a/.prettierignore b/.prettierignore index 89fd9a7..9fc20b3 100644 --- a/.prettierignore +++ b/.prettierignore @@ -7,3 +7,8 @@ docs/.vitepress/dist/** pnpm-lock.yaml pnpm-workspace.yaml +package.json + +CHANGELOG.md +README.md +README.zh-CN.md \ No newline at end of file diff --git a/docs/.vitepress/theme/custom.css b/docs/.vitepress/theme/custom.css index e6b9df3..1d6ad7c 100644 --- a/docs/.vitepress/theme/custom.css +++ b/docs/.vitepress/theme/custom.css @@ -2,10 +2,6 @@ --vp-c-brand-1: #cf8040; --vp-c-brand-2: #a06433; --vp-button-brand-bg: #cf8040; - --vp-home-hero-image-background-image: linear-gradient( - -45deg, - #d1841f60 30%, - #edcb3260 - ); + --vp-home-hero-image-background-image: linear-gradient(-45deg, #d1841f60 30%, #edcb3260); --vp-home-hero-image-filter: blur(30px); -} \ No newline at end of file +} diff --git a/docs/.vitepress/theme/index.ts b/docs/.vitepress/theme/index.ts index 508d8b4..42fe9a9 100644 --- a/docs/.vitepress/theme/index.ts +++ b/docs/.vitepress/theme/index.ts @@ -1,4 +1,4 @@ import DefaultTheme from 'vitepress/theme' import './custom.css' -export default DefaultTheme \ No newline at end of file +export default DefaultTheme diff --git a/docs/general/is-string.md b/docs/general/is-string.md index b10b1f3..38aea3d 100644 --- a/docs/general/is-string.md +++ b/docs/general/is-string.md @@ -19,6 +19,6 @@ console.log(isString(123)) // return false ### Return -| Type | -| :--: | +| Type | +| :-------: | | `boolean` | diff --git a/docs/getting-started.md b/docs/getting-started.md index 074090a..f9b341f 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -3,6 +3,7 @@ ### Installation ::: code-group + ```shell [npm] npm i rattail -S ``` @@ -14,6 +15,7 @@ yarn add rattail ```shell [pnpm] pnpm add rattail ``` + ::: ### Usage @@ -22,4 +24,4 @@ pnpm add rattail import { isString } from 'rattail' console.log(isString('rattail')) -``` \ No newline at end of file +``` diff --git a/docs/index.md b/docs/index.md index b87cc1b..3841d51 100644 --- a/docs/index.md +++ b/docs/index.md @@ -15,7 +15,6 @@ hero: - theme: alt text: View On Github link: https://github.com/varletjs/rattail - features: - title: General diff --git a/docs/zh/getting-started.md b/docs/zh/getting-started.md index 8a77690..fd49dfe 100644 --- a/docs/zh/getting-started.md +++ b/docs/zh/getting-started.md @@ -3,6 +3,7 @@ ### 安装 ::: code-group + ```shell [npm] npm i rattail -S ``` @@ -14,6 +15,7 @@ yarn add rattail ```shell [pnpm] pnpm add rattail ``` + ::: ### 使用 @@ -22,4 +24,4 @@ pnpm add rattail import { isString } from 'rattail' console.log(isString('rattail')) -``` \ No newline at end of file +```