From 345cf9bc3887153ab7deb02a44607fc032386a8c Mon Sep 17 00:00:00 2001 From: bcakmakoglu <78412429+bcakmakoglu@users.noreply.github.com> Date: Thu, 23 Jun 2022 14:45:51 +0200 Subject: [PATCH] docs: fix links for docsearch --- docs/src/.vuepress/theme/index.ts | 6 +++--- docs/src/guide/edge.md | 2 +- docs/src/guide/theming.md | 2 +- docs/src/guide/utils/instance.md | 12 ++++++------ 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/docs/src/.vuepress/theme/index.ts b/docs/src/.vuepress/theme/index.ts index c24d95e0..67a2edc9 100644 --- a/docs/src/.vuepress/theme/index.ts +++ b/docs/src/.vuepress/theme/index.ts @@ -63,15 +63,15 @@ export default { '/guide/vue-flow/state', { text: 'Actions', - link: '/typedocs/interfaces/Actions', + link: '/typedocs/interfaces/Actions.html', }, { text: 'Getters', - link: '/typedocs/interfaces/Getters', + link: '/typedocs/interfaces/Getters.html', }, { text: 'Events', - link: '/typedocs/interfaces/FlowEvents' + link: '/typedocs/interfaces/FlowEvents.html' }, '/guide/vue-flow/slots' ], diff --git a/docs/src/guide/edge.md b/docs/src/guide/edge.md index 87f0d0e6..5cb89862 100644 --- a/docs/src/guide/edge.md +++ b/docs/src/guide/edge.md @@ -102,7 +102,7 @@ You can also apply changes (like removing elements safely) using the [`applyEdgeChanges`](/typedocs/interfaces/Actions.html#applyedgechanges/) utility function, which expects an array of [changes](/typedocs/types/EdgeChange.html/) to be applied to the currently stored edges. -## [Default Edge-Types](typedocs/types/DefaultEdgeTypes.html/) +## [Default Edge-Types](/typedocs/types/DefaultEdgeTypes.html/) Vue Flow comes with built-in edges that you can use right out of the box. These edge types include `default` (bezier), `step`, `smoothstep` and `straight`. diff --git a/docs/src/guide/theming.md b/docs/src/guide/theming.md index 1766c062..11e949e8 100644 --- a/docs/src/guide/theming.md +++ b/docs/src/guide/theming.md @@ -72,7 +72,7 @@ const nodes = ref([ ]) ``` -### [Using CSS variables](typedocs/types/CSSVars.html/) +### [Using CSS variables](/typedocs/types/CSSVars.html/) Some theme stylings can be overwritten by using css variables. These variables can either be applied globally or you can define them on an element basis. diff --git a/docs/src/guide/utils/instance.md b/docs/src/guide/utils/instance.md index beff9535..ef8c52a7 100644 --- a/docs/src/guide/utils/instance.md +++ b/docs/src/guide/utils/instance.md @@ -4,9 +4,9 @@ The old `FlowInstance` has been removed and all it's functionalities merged into `useVueFlow`. ::: -Viewport Functions can be accessed via the [`useVueFlow`](/guide/composables.html#usevueflow/) +Viewport Functions can be accessed via the [`useVueFlow`](/guide/composables.html#usevueflow) utility or with the [`VueFlowStore`](/typedocs/types/VueFlowStore.html/) -instance provided by [`onPaneReady`](/typedocs/interfaces/FlowEvents.html#paneready/). +instance provided by [`onPaneReady`](/typedocs/interfaces/FlowEvents.html#paneready). @@ -130,25 +130,25 @@ vueFlowInstance.setTransform({ x: 100, y: 100, zoom: 1.5 }) Zooms to specific level. -### [getElements](/typedocs/interfaces/Getters.html#getelements/) +### [getElements](/typedocs/interfaces/Getters.html#getelements) - Details: Returns currently stored elements (nodes + edges). -### [getNodes](/typedocs/interfaces/Getters.html#getnodes/) +### [getNodes](/typedocs/interfaces/Getters.html#getnodes) - Details: Returns currently stored nodes. -### [getEdges](/typedocs/interfaces/Getters.html#getedges/) +### [getEdges](/typedocs/interfaces/Getters.html#getedges) - Details: Returns currently stored edges. -### [toObject](/typedocs/interfaces/Actions.html#toobject/) +### [toObject](/typedocs/interfaces/Actions.html#toobject) - Details: