diff --git a/apps/docs/src/lib/components/Heading.svelte b/apps/docs/src/lib/components/Heading.svelte index c04df4d20..91d871f5e 100644 --- a/apps/docs/src/lib/components/Heading.svelte +++ b/apps/docs/src/lib/components/Heading.svelte @@ -8,7 +8,7 @@ export let title: String, description = false, docs = false, importCode = false, source = false, packageGroup = false const links = { github: 'https://github.com/svelteuidev/svelteui/blob/main/packages/', - docs: 'https://github.com/svelteuidev/svelteui/blob/main/apps/docs/src/pages/', + docs: 'https://github.com/svelteuidev/svelteui/blob/main/apps/docs/src/routes/', npm: 'https://www.npmjs.com/package/' }; @@ -76,7 +76,7 @@ {#if docs} Docs - +
Edit This Page diff --git a/apps/docs/src/routes/composables/use-browser-context/+page.md b/apps/docs/src/routes/composables/use-browser-context/+page.md index d3a8fa00e..ea6c45eaf 100644 --- a/apps/docs/src/routes/composables/use-browser-context/+page.md +++ b/apps/docs/src/routes/composables/use-browser-context/+page.md @@ -5,7 +5,7 @@ packageGroup: '@svelteuidev/composables' slug: /composables/use-browser-context/ description: 'Get access to the reactive browser location API.' importCode: "import { useBrowserContext } from '@svelteuidev/composables';" -docs: 'composables/use-browser-context.md' +docs: 'composables/use-browser-context' source: 'svelteui-composables/src/utilities/use-browser-context/use-browser-context.ts' --- diff --git a/apps/docs/src/routes/composables/use-click-outside/+page.md b/apps/docs/src/routes/composables/use-click-outside/+page.md index 887f3edeb..42b931a86 100644 --- a/apps/docs/src/routes/composables/use-click-outside/+page.md +++ b/apps/docs/src/routes/composables/use-click-outside/+page.md @@ -5,7 +5,7 @@ packageGroup: '@svelteuidev/composables' slug: /composables/use-click-outside/ description: 'Detect click and touch events outside of specified element' importCode: "import { clickoutside } from '@svelteuidev/composables';" -docs: 'composables/use-click-outside.md' +docs: 'composables/use-click-outside' source: 'svelteui-composables/src/actions/use-click-outside/use-click-outside.ts' --- diff --git a/apps/docs/src/routes/composables/use-clipboard/+page.md b/apps/docs/src/routes/composables/use-clipboard/+page.md index 0dd4d81e2..3090fa1d2 100644 --- a/apps/docs/src/routes/composables/use-clipboard/+page.md +++ b/apps/docs/src/routes/composables/use-clipboard/+page.md @@ -5,7 +5,7 @@ packageGroup: '@svelteuidev/composables' slug: /composables/use-clipboard/ description: 'Copies text to the clipboard when DOM element is clicked' importCode: "import { clipboard } from '@svelteuidev/composables';" -docs: 'composables/use-clipboard.md' +docs: 'composables/use-clipboard' source: 'svelteui-composables/src/actions/use-clipboard/use-clipboard.ts' --- diff --git a/apps/docs/src/routes/composables/use-css-variable/+page.md b/apps/docs/src/routes/composables/use-css-variable/+page.md index 3bceb4b36..62af472ff 100644 --- a/apps/docs/src/routes/composables/use-css-variable/+page.md +++ b/apps/docs/src/routes/composables/use-css-variable/+page.md @@ -5,7 +5,7 @@ packageGroup: '@svelteuidev/composables' slug: /composables/use-css-variable/ description: 'Whenever some of their values change, update css properties on the fly' importCode: "import { cssvariable } from '@svelteuidev/composables';" -docs: 'composables/use-css-variable.md' +docs: 'composables/use-css-variable' source: 'svelteui-composables/src/actions/use-css-variable/use-css-variable.ts' --- diff --git a/apps/docs/src/routes/composables/use-debounce/+page.md b/apps/docs/src/routes/composables/use-debounce/+page.md index 5265f6967..c30a5bbc2 100644 --- a/apps/docs/src/routes/composables/use-debounce/+page.md +++ b/apps/docs/src/routes/composables/use-debounce/+page.md @@ -5,7 +5,7 @@ packageGroup: '@svelteuidev/composables' slug: /composables/use-debounce/ description: 'Get a function that debounces its execution.' importCode: "import { useDebounce } from '@svelteuidev/composables';" -docs: 'composables/use-debounce.md' +docs: 'composables/use-debounce' source: 'svelteui-composables/src/utilities/use-debounce/use-debounce.ts' --- diff --git a/apps/docs/src/routes/composables/use-download/+page.md b/apps/docs/src/routes/composables/use-download/+page.md index 36395f7fd..77cae8a67 100644 --- a/apps/docs/src/routes/composables/use-download/+page.md +++ b/apps/docs/src/routes/composables/use-download/+page.md @@ -5,7 +5,7 @@ packageGroup: '@svelteuidev/composables' slug: /composables/use-download/ description: 'Causes a download to occur with a given Blob object' importCode: "import { download } from '@svelteuidev/composables';" -docs: 'composables/use-download.md' +docs: 'composables/use-download' source: 'svelteui-composables/src/actions/use-download/use-download.ts' --- diff --git a/apps/docs/src/routes/composables/use-element-size/+page.md b/apps/docs/src/routes/composables/use-element-size/+page.md index 9fb4879e4..4105967c8 100644 --- a/apps/docs/src/routes/composables/use-element-size/+page.md +++ b/apps/docs/src/routes/composables/use-element-size/+page.md @@ -5,7 +5,7 @@ packageGroup: '@svelteuidev/composables' slug: /composables/use-element-size/ description: 'Get element width and height and subscribe to changes' importCode: "import { useElementSize } from '@svelteuidev/composables';" -docs: 'composables/use-element-size.md' +docs: 'composables/use-element-size' source: 'svelteui-composables/src/utilities/use-element-size/use-element-size.ts' --- diff --git a/apps/docs/src/routes/composables/use-eye-dropper/+page.md b/apps/docs/src/routes/composables/use-eye-dropper/+page.md index 3a184b5fb..5927a5c67 100644 --- a/apps/docs/src/routes/composables/use-eye-dropper/+page.md +++ b/apps/docs/src/routes/composables/use-eye-dropper/+page.md @@ -5,7 +5,7 @@ packageGroup: '@svelteuidev/composables' slug: /composables/use-eye-dropper/ description: 'Get access to a reactive EyeDropper API.' importCode: "import { useEyeDropper } from '@svelteuidev/composables';" -docs: 'composables/use-eye-dropper.md' +docs: 'composables/use-eye-dropper' source: 'svelteui-composables/src/utilities/use-eye-dropper/use-eye-dropper.ts' --- diff --git a/apps/docs/src/routes/composables/use-focus-return/+page.md b/apps/docs/src/routes/composables/use-focus-return/+page.md index 3175846b4..f55720879 100644 --- a/apps/docs/src/routes/composables/use-focus-return/+page.md +++ b/apps/docs/src/routes/composables/use-focus-return/+page.md @@ -5,7 +5,7 @@ packageGroup: '@svelteuidev/composables' slug: /composables/use-focus-return/ description: 'Capture last focused element on the page and return focus to it once condition is met' importCode: "import { useFocusReturn } from '@svelteuidev/composables';" -docs: 'composables/use-focus-return.md' +docs: 'composables/use-focus-return' source: 'svelteui-composables/src/utilities/use-focus-return/use-focus-return.ts' --- diff --git a/apps/docs/src/routes/composables/use-focus-trap/+page.md b/apps/docs/src/routes/composables/use-focus-trap/+page.md index 642d678b5..0a3426a9f 100644 --- a/apps/docs/src/routes/composables/use-focus-trap/+page.md +++ b/apps/docs/src/routes/composables/use-focus-trap/+page.md @@ -5,7 +5,7 @@ packageGroup: '@svelteuidev/composables' slug: /composables/use-focus-trap/ description: 'Traps the focus inside the given DOM node' importCode: "import { focustrap } from '@svelteuidev/composables';" -docs: 'composables/use-focus-trap.md' +docs: 'composables/use-focus-trap' source: 'svelteui-composables/src/actions/use-focus/use-focus-trap.ts' --- diff --git a/apps/docs/src/routes/composables/use-focus-within/+page.md b/apps/docs/src/routes/composables/use-focus-within/+page.md index 997599608..ef54e5dd5 100644 --- a/apps/docs/src/routes/composables/use-focus-within/+page.md +++ b/apps/docs/src/routes/composables/use-focus-within/+page.md @@ -5,7 +5,7 @@ packageGroup: '@svelteuidev/composables' slug: /composables/use-focus-within/ description: 'Detect if any element within has focus.' importCode: "import { useFocusWithin } from '@svelteuidev/composables';" -docs: 'composables/use-focus-within.md' +docs: 'composables/use-focus-within' source: 'svelteui-composables/src/utilities/use-focus-within/use-focus-within.ts' --- diff --git a/apps/docs/src/routes/composables/use-focus/+page.md b/apps/docs/src/routes/composables/use-focus/+page.md index 5f2e8111a..575299d40 100644 --- a/apps/docs/src/routes/composables/use-focus/+page.md +++ b/apps/docs/src/routes/composables/use-focus/+page.md @@ -5,7 +5,7 @@ packageGroup: '@svelteuidev/composables' slug: /composables/use-focus/ description: 'Calls focus on a node once mounted into the DOM' importCode: "import { focus } from '@svelteuidev/composables';" -docs: 'composables/use-focus.md' +docs: 'composables/use-focus' source: 'svelteui-composables/src/actions/use-focus/use-focus.ts' --- diff --git a/apps/docs/src/routes/composables/use-hash/+page.md b/apps/docs/src/routes/composables/use-hash/+page.md index 0337fa02b..20a73ec04 100644 --- a/apps/docs/src/routes/composables/use-hash/+page.md +++ b/apps/docs/src/routes/composables/use-hash/+page.md @@ -6,7 +6,7 @@ slug: /utilities/hash/ description: 'Util generates a random hash with a specified prefix.' importCode: "import { useHash } from '@svelteuidev/composables';" source: 'svelteui-composables/src/utilities/use-hash/use-hash.ts' -docs: 'utilities/hash.md' +docs: 'utilities/hash' ---