Skip to content

docs: fix broken links #1099

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 2 commits into from
Jan 15, 2019
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
65 changes: 40 additions & 25 deletions docs/.vuepress/_redirects
Original file line number Diff line number Diff line change
Expand Up @@ -5,29 +5,44 @@
/api/createLocalVue /api/#createlocalvue
/api/config /api/#config

/api/wrapper/* /api/wrapper.html/#:splat
/api/wrapper-array/* /api/wrapper-array.html/#:splat
/api/wrapper/isvisible /api/wrapper/#isvisible
/api/wrapper/emitted /api/wrapper/#emitted
/api/wrapper/html /api/wrapper/#html
/api/wrapper/name /api/wrapper/#name
/api/wrapper/setProps /api/wrapper/#setprops
/api/wrapper/attributes /api/wrapper/#attributes
/api/wrapper/emittedByOrder /api/wrapper/#emittedbyorder
/api/wrapper/is /api/wrapper/#is
/api/wrapper/props /api/wrapper/#props
/api/wrapper/setSelected /api/wrapper/#setselected
/api/wrapper/classes /api/wrapper/#classes
/api/wrapper/exists /api/wrapper/#exists
/api/wrapper/isEmpty /api/wrapper/#isempty
/api/wrapper/setChecked /api/wrapper/#setchecked
/api/wrapper/setValue /api/wrapper/#setvalue
/api/wrapper/contains /api/wrapper/#contains
/api/wrapper/find /api/wrapper/#find
/api/wrapper/isVisible /api/wrapper/#isvisible
/api/wrapper/setData /api/wrapper/#setdata
/api/wrapper/text /api/wrapper/#text
/api/wrapper/destroy /api/wrapper/#destroy
/api/wrapper/findAll /api/wrapper/#findall
/api/wrapper/isVueInstance /api/wrapper/#isvueinstance
/api/wrapper/setMethods /api/wrapper/#setmethods
/api/wrapper/trigger /api/wrapper/#trigger

/api/wrapper-array/destroy /api/wrapper-array/#destroy
/api/wrapper-array/isEmpty /api/wrapper-array/#isempty
/api/wrapper-array/setChecked /api/wrapper-array/#setchecked
/api/wrapper-array/setProps /api/wrapper-array/#setprops
/api/wrapper-array/at /api/wrapper-array/#at
/api/wrapper-array/filter /api/wrapper-array/#filter
/api/wrapper-array/isVisible /api/wrapper-array/#isvisible
/api/wrapper-array/setData /api/wrapper-array/#setdata
/api/wrapper-array/setValue /api/wrapper-array/#setvalue
/api/wrapper-array/contains /api/wrapper-array/#contains
/api/wrapper-array/is /api/wrapper-array/#is
/api/wrapper-array/isVueInstance /api/wrapper-array/#isvueinstance
/api/wrapper-array/setMethods /api/wrapper-array/#setmethods
/api/wrapper-array/trigger /api/wrapper-array/#trigger

/ja/api/mount /ja/api/#mount
/ja/api/shallowMount /ja/api/#shallowmount
/ja/api/createLocalVue /ja/api/#createlocalvue
/ja/api/config /ja/api/#config

/ja/api/wrapper/* /ja/api/wrapper.html/#:splat
/ja/api/wrapper-array/* /ja/api/wrapper-array.html/#:splat

/zh/api/mount /zh/api/#mount
/zh/api/shallowMount /zh/api/#shallowmount
/zh/api/createLocalVue /zh/api/#createlocalvue
/zh/api/config /zh/api/#config

/zh/api/wrapper/* /zh/api/wrapper.html/#:splat
/zh/api/wrapper-array/* /zh/api/wrapper-array.html/#:splat

/ru/api/mount /ru/api/#mount
/ru/api/shallowMount /ru/api/#shallowmount
/ru/api/createLocalVue /ru/api/#createlocalvue
/ru/api/config /ru/api/#config

/ru/api/wrapper/* /ru/api/wrapper.html/#:splat
/ru/api/wrapper-array/* /ru/api/wrapper-array.html/#:splat
2 changes: 1 addition & 1 deletion docs/api/wrapper-array/at.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## at(index)
## at

Returns `Wrapper` at `index` passed. Uses zero based numbering (i.e. first item is at index 0).

Expand Down
2 changes: 1 addition & 1 deletion docs/api/wrapper-array/contains.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
### contains(selector)
### contains

Assert every wrapper in `WrapperArray` contains selector.

Expand Down
2 changes: 1 addition & 1 deletion docs/api/wrapper-array/destroy.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## destroy()
## destroy

Destroys each Vue `Wrapper` in `WrapperArray`.

Expand Down
2 changes: 1 addition & 1 deletion docs/api/wrapper-array/filter.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## filter(predicate)
## filter

Filter `WrapperArray` with a predicate function on `Wrapper` objects.

Expand Down
2 changes: 1 addition & 1 deletion docs/api/wrapper-array/is.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## is(selector)
## is

Assert every `Wrapper` in `WrapperArray` DOM node or `vm` matches [selector](../selectors.md).

Expand Down
2 changes: 1 addition & 1 deletion docs/api/wrapper-array/isEmpty.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## isEmpty()
## isEmpty

Assert every `Wrapper` in `WrapperArray` does not contain child node.

Expand Down
2 changes: 1 addition & 1 deletion docs/api/wrapper-array/isVisible.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## isVisible()
## isVisible

Assert every `Wrapper` in `WrapperArray` is visible.

Expand Down
2 changes: 1 addition & 1 deletion docs/api/wrapper-array/isVueInstance.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## isVueInstance()
## isVueInstance

Assert every `Wrapper` in `WrapperArray` is Vue instance.

Expand Down
2 changes: 1 addition & 1 deletion docs/api/wrapper-array/setChecked.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## setChecked(checked)
## setChecked

This method is an alias of the following code.

Expand Down
2 changes: 1 addition & 1 deletion docs/api/wrapper-array/setData.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## setData(data)
## setData

Sets `Wrapper` `vm` data on each `Wrapper` in `WrapperArray`.

Expand Down
2 changes: 1 addition & 1 deletion docs/api/wrapper-array/setMethods.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## setMethods(methods)
## setMethods

Sets `Wrapper` `vm` methods and forces update on each `Wrapper` in `WrapperArray`.

Expand Down
2 changes: 1 addition & 1 deletion docs/api/wrapper-array/setProps.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## setProps(props)
## setProps

Sets `Wrapper` `vm` props and forces update on each `Wrapper` in `WrapperArray`.

Expand Down
2 changes: 1 addition & 1 deletion docs/api/wrapper-array/setValue.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## setValue(value)
## setValue

This method is an alias of the following code.

Expand Down
2 changes: 1 addition & 1 deletion docs/api/wrapper-array/trigger.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## trigger(eventType [, options ])
## trigger

Triggers an event on every `Wrapper` in the `WrapperArray` DOM node.

Expand Down
2 changes: 1 addition & 1 deletion docs/api/wrapper/attributes.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## attributes([key])
## attributes

Returns `Wrapper` DOM node attribute object. If `key` is provided, the value for the `key` will be returned.

Expand Down
2 changes: 1 addition & 1 deletion docs/api/wrapper/classes.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## classes([className])
## classes

Return `Wrapper` DOM node classes.

Expand Down
2 changes: 1 addition & 1 deletion docs/api/wrapper/contains.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## contains(selector)
## contains

Assert `Wrapper` contains an element or component matching [selector](../selectors.md).

Expand Down
2 changes: 1 addition & 1 deletion docs/api/wrapper/destroy.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## destroy()
## destroy

Destroys a Vue component instance.

Expand Down
2 changes: 1 addition & 1 deletion docs/api/wrapper/emitted.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## emitted()
## emitted

Return an object containing custom events emitted by the `Wrapper` `vm`.

Expand Down
2 changes: 1 addition & 1 deletion docs/api/wrapper/emittedByOrder.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## emittedByOrder()
## emittedByOrder

Return an Array containing custom events emitted by the `Wrapper` `vm`.

Expand Down
2 changes: 1 addition & 1 deletion docs/api/wrapper/exists.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## exists()
## exists

Assert `Wrapper` or `WrapperArray` exists.

Expand Down
2 changes: 1 addition & 1 deletion docs/api/wrapper/find.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## find(selector)
## find

Returns `Wrapper` of first DOM node or Vue component matching selector.

Expand Down
2 changes: 1 addition & 1 deletion docs/api/wrapper/findAll.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## findAll(selector)
## findAll

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

Expand Down
2 changes: 1 addition & 1 deletion docs/api/wrapper/html.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## html()
## html

Returns HTML of `Wrapper` DOM node as a string.

Expand Down
2 changes: 1 addition & 1 deletion docs/api/wrapper/is.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## is(selector)
## is

Assert `Wrapper` DOM node or `vm` matches [selector](../selectors.md).

Expand Down
2 changes: 1 addition & 1 deletion docs/api/wrapper/isEmpty.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## isEmpty()
## isEmpty

Assert `Wrapper` does not contain child node.

Expand Down
2 changes: 1 addition & 1 deletion docs/api/wrapper/isVisible.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## isVisible()
## isVisible

Assert `Wrapper` is visible.

Expand Down
2 changes: 1 addition & 1 deletion docs/api/wrapper/isVueInstance.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## isVueInstance()
## isVueInstance

Assert `Wrapper` is Vue instance.

Expand Down
2 changes: 1 addition & 1 deletion docs/api/wrapper/name.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## name()
## name

Returns component name if `Wrapper` contains a Vue instance, or the tag name of `Wrapper` DOM node if `Wrapper` does not contain a Vue instance.

Expand Down
2 changes: 1 addition & 1 deletion docs/api/wrapper/props.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## props([key])
## props

Return `Wrapper` `vm` props object. If `key` is provided, the value for the `key` will be returned.

Expand Down
2 changes: 1 addition & 1 deletion docs/api/wrapper/setChecked.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## setChecked(checked)
## setChecked

Sets checked value for input element of type checkbox or radio and updates `v-model` bound data.

Expand Down
2 changes: 1 addition & 1 deletion docs/api/wrapper/setData.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## setData(data)
## setData

Sets `Wrapper` `vm` data.

Expand Down
2 changes: 1 addition & 1 deletion docs/api/wrapper/setMethods.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## setMethods(methods)
## setMethods

Sets `Wrapper` `vm` methods and forces update.

Expand Down
2 changes: 1 addition & 1 deletion docs/api/wrapper/setProps.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## setProps(props)
## setProps

- **Arguments:**
- `{Object} props`
Expand Down
2 changes: 1 addition & 1 deletion docs/api/wrapper/setSelected.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## setSelected()
## setSelected

Selects an option element and updates `v-model` bound data.

Expand Down
2 changes: 1 addition & 1 deletion docs/api/wrapper/setValue.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## setValue(value)
## setValue

Sets value of a text-control input or select element and updates `v-model` bound data.

Expand Down
2 changes: 1 addition & 1 deletion docs/api/wrapper/text.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## text()
## text

Returns text content of `Wrapper`.

Expand Down
2 changes: 1 addition & 1 deletion docs/api/wrapper/trigger.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## trigger(eventType [, options ])
## trigger

Triggers an event on the `Wrapper` DOM node.

Expand Down