From 7c4e0d41156f4e0731c380e8837c0f87de7f26c1 Mon Sep 17 00:00:00 2001 From: kazuya kawaguchi Date: Fri, 13 Oct 2017 20:21:21 +0900 Subject: [PATCH] docs: fix links --- docs/en/api/mount.md | 2 +- docs/en/api/shallow.md | 8 ++++---- docs/en/api/wrapper/find.md | 2 +- docs/en/guides/common-tips.md | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/en/api/mount.md b/docs/en/api/mount.md index 35dcfef5d..aaddd3e2f 100644 --- a/docs/en/api/mount.md +++ b/docs/en/api/mount.md @@ -1,4 +1,4 @@ -# mount(component,{,options}]) +# mount(component {, options}]) - **Arguments:** diff --git a/docs/en/api/shallow.md b/docs/en/api/shallow.md index fc75ac961..fa16e9d24 100644 --- a/docs/en/api/shallow.md +++ b/docs/en/api/shallow.md @@ -1,4 +1,4 @@ -# shallow(component,{,options}]) +# shallow(component {, options}]) - **Arguments:** @@ -19,15 +19,15 @@ - **Options:** -See [options](/docs/en/api/options.md) +See [options](./options.md) - **Usage:** -Returns [`Wrapper`](/docs/en/api/wrapper/README.md) of first DOM node or Vue component matching selector. +Returns [`Wrapper`](./wrapper/README.md) of first DOM node or Vue component matching selector. Stubs all child components. -Use any valid [selector](/docs/en/api/selectors.md). +Use any valid [selector](./selectors.md). **Without options:** diff --git a/docs/en/api/wrapper/find.md b/docs/en/api/wrapper/find.md index e43f22799..1d121c591 100644 --- a/docs/en/api/wrapper/find.md +++ b/docs/en/api/wrapper/find.md @@ -24,4 +24,4 @@ const bar = wrapper.find(Bar) expect(bar.is(Bar)).toBe(true) ``` -- **See also:** [Wrapper](/docs/en/api/wrapper/README.md) +- **See also:** [Wrapper](README.md) diff --git a/docs/en/guides/common-tips.md b/docs/en/guides/common-tips.md index 978bf3586..abd7500a7 100644 --- a/docs/en/guides/common-tips.md +++ b/docs/en/guides/common-tips.md @@ -58,7 +58,7 @@ expect(wrapper.emitted().foo.length).toBe(2) expect(wrapper.emitted().foo[1]).toEqual([123]) ``` -You can also get an Array of the events in their emit order by calling [wrapper.emittedByOrder()](../api/emittedByOrder.md). +You can also get an Array of the events in their emit order by calling [wrapper.emittedByOrder()](../api/wrapper/emittedByOrder.md). ## Manipulating Component State @@ -86,7 +86,7 @@ mount(Component, { You can also update the props of an already-mounted component with the `wrapper.setProps({})` method. -*For a full list of options, please see the [mount options section](./api/options.md) of the docs.* +*For a full list of options, please see the [mount options section](../api/options.md) of the docs.* ## Applying Global Plugins and Mixins