提交 3935bcef 编写于 作者: M meteorlxy

docs: remove stale version badge

上级 a90b24a1
# Node.js API <Badge text="1.0.0-alpha.44+"/>
# Node.js API
## Usage
......
......@@ -35,7 +35,7 @@ And providing you are in `foo/one.md`:
[bar - four](../bar/four.html) <!-- Or you can append .html -->
```
### Redirection for URLs <Badge text="1.0.0-alpha.37"/>
### Redirection for URLs
VuePress supports redirecting to clean links. If a link `/foo` is not found, VuePress will look for a existing `/foo/` or `/foo.html`. Conversely, when one of `/foo/` or `/foo.html` is not found, VuePress will also try the other. With this feature, we can customize your website’s URLs with the official plugin [vuepress-plugin-clean-urls](https://vuepress.github.io/plugins/clean-urls/).
......
......@@ -232,7 +232,7 @@ It(<OutboundLink/>) is used to specify that this is an external link. In VuePres
See [Browser API Access Restrictions](#browser-api-access-restrictions).
### Content <Badge text="1.0.0+"/>
### Content
- **Props**:
......@@ -254,7 +254,7 @@ Specify a specific slot for a specific page (.md) for rendering. This will be us
- [Writing a theme > Content Outlet](../theme/writing-a-theme.md#content-outlet)
### Badge <Badge text="beta" type="warn"/> <Badge text="0.10.1+"/> <Badge text="default theme"/>
### Badge <Badge text="beta" type="warn"/> <Badge text="default theme"/>
- **Props**:
......@@ -267,7 +267,7 @@ Specify a specific slot for a specific page (.md) for rendering. This will be us
You can use this component in header to add some status for some API:
``` md
### Badge <Badge text="beta" type="warn"/> <Badge text="0.10.1+"/> <Badge text="default theme"/>
### Badge <Badge text="beta" type="warn"/> <Badge text="default theme"/>
```
**Also see:**
......
......@@ -5,7 +5,7 @@ metaTitle: Nprogress Plugin | VuePress
# [@vuepress/plugin-nprogress](https://github.com/vuejs/vuepress/tree/master/packages/%40vuepress/plugin-nprogress)
> A progress bar plugin based on [nprogress](https://github.com/rstacruz/nprogress). <Badge text="1.0.0-alpha.31+"/>
> A progress bar plugin based on [nprogress](https://github.com/rstacruz/nprogress).
## Install
......
......@@ -172,7 +172,7 @@ sidebarDepth: 2
---
```
### Displaying Header Links of All Pages <Badge text="0.11.0+"/>
### Displaying Header Links of All Pages
The sidebar only displays links for headers in the current active page. You can display all header links for every page with `themeConfig.displayAllHeaders: true`:
......@@ -232,7 +232,7 @@ Sidebar groups are collapsable by default. You can force a group to be always op
A sidebar group config also supports [sidebarDepth](#nested-header-links) field to override the default sidebar depth (`1`).
::: tip
   From `1.0.0-alpha.36` on, nested sidebar group <Badge text="beta"/> is also supported, but the nesting depth should be less than 3, otherwise the console will receive a warning.
   Nested sidebar group <Badge text="beta"/> is also supported, but the nesting depth should be less than 3, otherwise the console will receive a warning.
:::
### Multiple Sidebars
......
# Node.js API <Badge text="1.0.0-alpha.44+"/>
# Node.js API
## 使用
......@@ -97,4 +97,3 @@ async function build (options) {
- 默认值: `{}`
当你想编写测试且不想依赖于实际的配置文件时,它将非常有用。想要查看所有的配置选项,请移步 [siteConfig](../config/README.md)
......@@ -35,7 +35,7 @@
[bar - four](../bar/four.html) <!-- 也可以用 .html -->
```
### 链接的重定向 <Badge text="1.0.0-alpha.37"/>
### 链接的重定向
VuePress 支持重定向到干净链接。如果一个链接 `/foo` 找不到,VuePress 会自行寻找一个可用的 `/foo/``/foo.html`。反过来,当 `/foo/``/foo.html` 中的一个找不到时,VuePress 也会尝试寻找另一个。借助这种特性,我们可以通过官方插件 [vuepress-plugin-clean-urls](https://vuepress.github.io/plugins/clean-urls/) 定制你的网站路径。
......
......@@ -229,7 +229,7 @@ export default {
参考 [浏览器的 API 访问限制](#浏览器的-api-访问限制)
### Content <Badge text="1.0.0+"/>
### Content
- **Props**:
......@@ -252,7 +252,7 @@ export default {
- [开发主题 > 获取渲染内容](../theme/writing-a-theme.md#获取渲染内容)
### Badge <Badge text="beta" type="warn"/> <Badge text="0.10.1+"/> <Badge text="默认主题"/>
### Badge <Badge text="beta" type="warn"/> <Badge text="默认主题"/>
- **Props**:
......@@ -265,7 +265,7 @@ export default {
你可以在标题中,使用这个组件来为某些 API 添加一些状态:
``` md
### Badge <Badge text="beta" type="warn"/> <Badge text="0.10.1+"/> <Badge text="默认主题"/>
### Badge <Badge text="beta" type="warn"/> <Badge text="默认主题"/>
```
**参考:**
......
......@@ -5,7 +5,7 @@ metaTitle: Nprogress 插件 | VuePress
# [@vuepress/plugin-nprogress](https://github.com/vuejs/vuepress/tree/master/packages/%40vuepress/plugin-nprogress)
> 一个基于 [nprogress](https://github.com/rstacruz/nprogress) 的进度条插件。<Badge text="1.0.0-alpha.31+"/>
> 一个基于 [nprogress](https://github.com/rstacruz/nprogress) 的进度条插件。
## 安装
......
......@@ -169,7 +169,7 @@ sidebarDepth: 2
---
```
### 显示所有页面的标题链接 <Badge text="0.11.0+"/>
### 显示所有页面的标题链接
默认情况下,侧边栏只会显示由当前活动页面的标题(headers)组成的链接,你可以将 `themeConfig.displayAllHeaders` 设置为 `true` 来显示所有页面的标题链接:
......@@ -230,7 +230,7 @@ module.exports = {
一个侧边栏的子组配置同时支持 [sidebarDepth](#nested-header-links) 字段用于重写默认显示的侧边栏深度(`1`)。
::: tip
从 `1.0.0-alpha.36` 开始,嵌套的侧边栏分组 <Badge text="beta"/> 也是支持的,但嵌套深度应小于 3,否则在控制台会收到警告。
嵌套的侧边栏分组 <Badge text="beta"/> 也是支持的,但嵌套深度应小于 3,否则在控制台会收到警告。
:::
### 多个侧边栏
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册