Skip to content

docs: fix links #665

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 28, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/api/mount.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ See [options](options.md)

- **Usage:**

Creates a [`Wrapper`](wrapper/README.md) that contains the mounted and rendered Vue component.
Creates a [`Wrapper`](wrapper/) that contains the mounted and rendered Vue component.

**Without options:**

Expand Down
2 changes: 1 addition & 1 deletion docs/api/render.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ See [options](./options.md)

Renders an object to a string and returns a [cheerio wrapper](https://github.com/cheeriojs/cheerio).

Cheerio is a jQuery-like library to traverse the DOM in Node.js. It has a similar API to the Vue Test Utils [`Wrapper`](wrapper/README.md).
Cheerio is a jQuery-like library to traverse the DOM in Node.js. It has a similar API to the Vue Test Utils [`Wrapper`](wrapper/).

`render` uses [`vue-server-renderer`](https://ssr.vuejs.org/en/basic.html) under the hood, to render a component to static HTML.

Expand Down
2 changes: 1 addition & 1 deletion docs/api/shallowMount.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ See [options](./options.md)

- **Usage:**

Like [`mount`](mount.md), it creates a [`Wrapper`](wrapper/README.md) that contains the mounted and rendered Vue component, but with stubbed child components.
Like [`mount`](mount.md), it creates a [`Wrapper`](wrapper/) that contains the mounted and rendered Vue component, but with stubbed child components.

**Without options:**

Expand Down
4 changes: 2 additions & 2 deletions docs/api/wrapper-array/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# WrapperArray

A `WrapperArray` is an object that contains an array of [`Wrappers`](../wrapper/README.md), and methods to test the `Wrappers`.
A `WrapperArray` is an object that contains an array of [`Wrappers`](../wrapper/), and methods to test the `Wrappers`.

## Properties

Expand All @@ -24,4 +24,4 @@ A `WrapperArray` is an object that contains an array of [`Wrappers`](../wrapper/
!!!include(docs/api/wrapper-array/setData.md)!!!
!!!include(docs/api/wrapper-array/setMethods.md)!!!
!!!include(docs/api/wrapper-array/setProps.md)!!!
!!!include(docs/api/wrapper-array/trigger.md)!!!
!!!include(docs/api/wrapper-array/trigger.md)!!!
4 changes: 2 additions & 2 deletions docs/api/wrapper/find.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## find(selector)

Returns [`Wrapper`](README.md) of first DOM node or Vue component matching selector.
Returns [`Wrapper`](../wrapper/) of first DOM node or Vue component matching selector.

Use any valid [selector](../selectors.md).

Expand Down Expand Up @@ -31,4 +31,4 @@ const fooRef = wrapper.find({ ref: 'foo' })
expect(fooRef.is(Foo)).toBe(true)
```

- **See also:** [Wrapper](README.md)
- **See also:** [Wrapper](../wrapper/)
4 changes: 2 additions & 2 deletions docs/api/wrapper/findAll.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## findAll(selector)

Returns a [`WrapperArray`](../wrapper-array/README.md).
Returns a [`WrapperArray`](../wrapper-array/).

Use any valid [selector](../selectors.md).

Expand All @@ -23,4 +23,4 @@ const bar = wrapper.findAll(Bar).at(0)
expect(bar.is(Bar)).toBe(true)
```

- **See also:** [Wrapper](README.md)
- **See also:** [Wrapper](../wrapper/)
4 changes: 2 additions & 2 deletions docs/ja/api/mount.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

- **使い方:**

マウントされて描画された Vue コンポーネントを含む [`Wrapper`](./wrapper/README.md) を生成します。
マウントされて描画された Vue コンポーネントを含む [`Wrapper`](./wrapper/) を生成します。

**オプションなし:**

Expand Down Expand Up @@ -125,4 +125,4 @@ describe('Foo', () => {
})
```

- **参照:** [`Wrapper`](./wrapper/README.md)
- **参照:** [`Wrapper`](./wrapper/)
2 changes: 1 addition & 1 deletion docs/ja/api/render.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
オブジェクトを文字列にレンダリングして [cheerio wrapper](https://github.com/cheeriojs/cheerio) を返します。

Cheerio は Node.js で jQuery のように DOM をスキャンするためのライブラリです。
これは Vue Test Utils の [`Wrapper`](wrapper/README.md) に似ているAPIを持っています。
これは Vue Test Utils の [`Wrapper`](wrapper/) に似ているAPIを持っています。

コンポーネントを静的なHTMLにレンダリングするために、`render` は内部で [`vue-server-renderer`](https://ssr.vuejs.org/en/basic.html) を使用します。

Expand Down
2 changes: 1 addition & 1 deletion docs/ja/api/shallowMount.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

- **使い方:**

[`mount`](mount.md)のようにマウントされて描画された Vue コンポーネントを含む [`Wrapper`](./wrapper/README.md) を生成しますが、  
[`mount`](mount.md)のようにマウントされて描画された Vue コンポーネントを含む [`Wrapper`](./wrapper/) を生成しますが、  
子コンポーネントはスタブされたコンポーネントです。

**オプションなし:**
Expand Down
4 changes: 2 additions & 2 deletions docs/ja/api/wrapper-array/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# WrapperArray

`WrapperArray` は、[Wrapper](../wrapper/README.md) の配列と `Wrapper` をテストするメソッドを含むオブジェクトです。
`WrapperArray` は、[Wrapper](../wrapper/) の配列と `Wrapper` をテストするメソッドを含むオブジェクトです。

## プロパティ

Expand All @@ -24,4 +24,4 @@
!!!include(docs/ja/api/wrapper-array/setData.md)!!!
!!!include(docs/ja/api/wrapper-array/setMethods.md)!!!
!!!include(docs/ja/api/wrapper-array/setProps.md)!!!
!!!include(docs/ja/api/wrapper-array/trigger.md)!!!
!!!include(docs/ja/api/wrapper-array/trigger.md)!!!
4 changes: 2 additions & 2 deletions docs/ja/api/wrapper/find.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## find(selector)

最初の DOM ノードの [Wrapper](./README.md)、またはセレクタで一致した Vue コンポーネントを返します。
最初の DOM ノードの [Wrapper](../wrapper/)、またはセレクタで一致した Vue コンポーネントを返します。

有効な[セレクタ](../selectors.md)を使用してください。

Expand Down Expand Up @@ -31,4 +31,4 @@ const fooRef = wrapper.find({ ref: 'foo' })
expect(fooRef.is(Foo)).toBe(true)
```

- **参照:** [Wrapper](./README.md)
- **参照:** [Wrapper](../wrapper/)
4 changes: 2 additions & 2 deletions docs/ja/api/wrapper/findAll.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## findAll(selector)

[`WrapperArray`](../wrapper-array/README.md)を返します。
[`WrapperArray`](../wrapper-array/)を返します。

有効な[セレクタ](../selectors.md)を使用してください。

Expand All @@ -23,4 +23,4 @@ const bar = wrapper.findAll(Bar).at(0)
expect(bar.is(Bar)).toBe(true)
```

- **参照:** [Wrapper](./README.md)
- **参照:** [Wrapper](../wrapper/)