Skip to content

Commit da95c83

Browse files
committed
docs: remove npm badges from core references
1 parent bb402b9 commit da95c83

16 files changed

+8
-48
lines changed

docs/reference/cli.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
# Command Line Interface
22

3-
<NpmBadge package="@vuepress/cli" />
4-
5-
VuePress CLI is provided by [@vuepress/cli](https://www.npmjs.com/package/@vuepress/cli) package. It is included by the [vuepress](https://www.npmjs.com/package/vuepress) package, and you can also install it separately.
6-
73
Run `vuepress --help` to get following help messages:
84

95
```

docs/reference/client-api.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
# Client API
22

3-
<NpmBadge package="@vuepress/client" />
4-
5-
Client API is provided by [@vuepress/client](https://www.npmjs.com/package/@vuepress/client) package, which is also available as `vuepress/client`.
3+
Client API can be imported from `vuepress/client`.
64

75
## Composition API
86

docs/reference/components.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# Built-in Components
22

3-
<NpmBadge package="@vuepress/client" />
4-
53
## ClientOnly
64

75
- Usage:

docs/reference/config.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
# Config
22

3-
<NpmBadge package="@vuepress/cli" />
4-
<NpmBadge package="@vuepress/core" />
5-
63
## Site Config
74

85
### base

docs/reference/frontmatter.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
# Frontmatter
22

3-
<NpmBadge package="@vuepress/client" />
4-
<NpmBadge package="@vuepress/markdown" />
5-
63
## date
74

85
- Type: `string`

docs/reference/node-api.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
# Node API
22

3-
<NpmBadge package="@vuepress/core" />
4-
5-
Node API is provided by [@vuepress/core](https://www.npmjs.com/package/@vuepress/core) package, which is also available as `vuepress/core`.
3+
Node API can be imported from `vuepress/core`.
64

75
## App
86

docs/reference/plugin-api.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
# Plugin API
22

3-
<NpmBadge package="@vuepress/core" />
4-
5-
Plugin API is supported by [@vuepress/core](https://www.npmjs.com/package/@vuepress/core) package. You could check out [Node API](./node-api.md) for how to use the VuePress app instance in plugin hooks.
3+
You could check out [Node API](./node-api.md) for how to use the VuePress app instance in plugin hooks.
64

75
## Overview
86

docs/reference/theme-api.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
# Theme API
22

3-
<NpmBadge package="@vuepress/core" />
4-
5-
VuePress theme also works as a plugin, so Theme API can accept all the options of [Plugin API](./plugin-api.md) with following differences.
3+
A VuePress theme also works as a plugin, so Theme API can accept all the options of [Plugin API](./plugin-api.md) with following differences.
64

75
## Basic Options
86

docs/zh/reference/cli.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
# 命令行接口
22

3-
<NpmBadge package="@vuepress/cli" />
4-
5-
VuePress 命令行接口是由 [@vuepress/cli](https://www.npmjs.com/package/@vuepress/cli) 包提供的。它包含在 [vuepress](https://www.npmjs.com/package/vuepress) 包之中,当然你也可以单独安装它。
6-
73
执行 `vuepress --help` 来获取下列帮助信息:
84

95
```

docs/zh/reference/client-api.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
# 客户端 API
22

3-
<NpmBadge package="@vuepress/client" />
3+
客户端 API 可以通过 `vuepress/client` 来引入。
44

5-
客户端 API 是由 [@vuepress/client](https://www.npmjs.com/package/@vuepress/client) Package 提供的,同时也可以通过 `vuepress/client` 来引入。
6-
7-
## Composition API
5+
## 组合式 API
86

97
### usePageData
108

docs/zh/reference/components.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# 内置组件
22

3-
<NpmBadge package="@vuepress/client" />
4-
53
## ClientOnly
64

75
- 使用:

docs/zh/reference/config.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
# 配置
22

3-
<NpmBadge package="@vuepress/cli" />
4-
<NpmBadge package="@vuepress/core" />
5-
63
## 站点配置
74

85
### base

docs/zh/reference/frontmatter.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
# Frontmatter
22

3-
<NpmBadge package="@vuepress/client" />
4-
<NpmBadge package="@vuepress/markdown" />
5-
63
## date
74

85
- 类型: `string`

docs/zh/reference/node-api.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
# Node API
22

3-
<NpmBadge package="@vuepress/core" />
4-
5-
Node API 是由 [@vuepress/core](https://www.npmjs.com/package/@vuepress/core) 包提供的,同时也可以通过 `vuepress/core` 来引入。
3+
Node API 可以通过 `vuepress/core` 来引入。
64

75
## App
86

docs/zh/reference/plugin-api.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
# 插件 API
22

3-
<NpmBadge package="@vuepress/core" />
4-
5-
插件 API 是由 [@vuepress/core](https://www.npmjs.com/package/@vuepress/core) 包支持的。你可以查看 [Node API](./node-api.md) 来了解如何使用插件 Hooks 中的 VuePress App 实例。
3+
你可以查看 [Node API](./node-api.md) 来了解如何使用插件 Hooks 中的 VuePress App 实例。
64

75
## 概览
86

docs/zh/reference/theme-api.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# 主题 API
22

3-
<NpmBadge package="@vuepress/core" />
4-
53
VuePress 主题同样是一个插件,因此主题 API 可以接收 [插件 API](./plugin-api.md) 的所有选项,但存在以下差别:
64

75
## 基础配置项

0 commit comments

Comments
 (0)