Skip to content

Commit

Permalink
docs: fix broken paths (nuxt#9076)
Browse files Browse the repository at this point in the history
  • Loading branch information
clemcode authored Nov 16, 2022
1 parent 7dfa2f3 commit fea7717
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion docs/content/1.docs/1.getting-started/3.configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const runtimeConfig = useRuntimeConfig()
</script>
```

:ReadMore{link="/guide/going-further/runtime-config"}
:ReadMore{link="/docs/guide/going-further/runtime-config"}

## App Configuration

Expand Down
2 changes: 1 addition & 1 deletion docs/content/1.docs/2.guide/1.concepts/5.modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,5 @@ Nuxt modules are now build-time-only, and the `buildModules` property used in Nu

Everyone has the opportunity to develop modules. Read more about developing modules in the [Module Author Guide](/docs/guide/going-further/modules).

::ReadMore{link="/guide/going-further/modules" title="Module Author Guide"}
::ReadMore{link="/docs/guide/going-further/modules" title="Module Author Guide"}
::
2 changes: 1 addition & 1 deletion docs/content/1.docs/3.api/1.composables/use-fetch.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ type AsyncData<DataT> = {
## Params
* **URL**: The URL to fetch.
* **Options (extends [unjs/ofetch](https://github.com/unjs/ofetch) options & [AsyncDataOptions](/api/composables/use-async-data#params))**:
* **Options (extends [unjs/ofetch](https://github.com/unjs/ofetch) options & [AsyncDataOptions](/docs/api/composables/use-async-data#params))**:
* `method`: Request method.
* `query`: Adds query search params to URL using [ufo](https://github.com/unjs/ufo)
* `params`: Alias for `query`
Expand Down
6 changes: 3 additions & 3 deletions docs/content/1.docs/3.api/1.composables/use-runtime-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export default defineNuxtConfig({
Variables that need to be accessible on the server are added directly inside `runtimeConfig`. Variables that need to be accessible on both the client and the server are defined in `runtimeConfig.public`.
::

::ReadMore{link="/guide/going-further/runtime-config"}
::ReadMore{link="/docs/guide/going-further/runtime-config"}
::

## Access Runtime Config
Expand Down Expand Up @@ -69,7 +69,7 @@ In this example, since `apiBase` is defined within the `public` namespace, it is

It is possible to update runtime config values using a matching environment variable name prefixed with `NUXT_`.

::ReadMore{link="/guide/going-further/runtime-config"}
::ReadMore{link="/docs/guide/going-further/runtime-config"}
::

### Using the `.env` File
Expand Down Expand Up @@ -135,5 +135,5 @@ export default defineEventHandler((event) => {
})
```

::ReadMore{link="/guide/going-further/runtime-config"}
::ReadMore{link="/docs/guide/going-further/runtime-config"}
::
2 changes: 1 addition & 1 deletion docs/content/1.docs/3.api/4.advanced/1.hooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: Nuxt provides a powerful hooking system to expand almost every aspe

# Lifecycle Hooks

:ReadMore{link="/guide/going-further/hooks"}
:ReadMore{link="/docs/guide/going-further/hooks"}

# App Hooks (runtime)

Expand Down
2 changes: 1 addition & 1 deletion docs/content/1.docs/3.api/4.advanced/2.kit.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: Nuxt Kit provides composable utilities to help interacting with Nux

# Kit Utilities

::ReadMore{link="/guide/going-further/kit"}
::ReadMore{link="/docs/guide/going-further/kit"}
::

## Utilities
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ toc: false

This example defines a new `test` page using `extendPages` within a module.

::ReadMore{link="/guide/going-further/modules"}
::ReadMore{link="/docs/guide/going-further/modules"}
::

::sandbox{repo="nuxt/framework" branch="main" dir="examples/advanced/module-extend-pages" file="pages/index.vue"}
Expand Down
2 changes: 1 addition & 1 deletion docs/content/1.docs/4.examples/6.advanced/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ This example shows how to test your Nuxt application.
Learn more about [testing](/docs/guide/going-further/testing).
::

::ReadMore{link="/guide/going-further/testing"}
::ReadMore{link="/docs/guide/going-further/testing"}
::

::sandbox{repo="nuxt/framework" branch="main" dir="examples/advanced/testing" file="app.vue"}
Expand Down

0 comments on commit fea7717

Please sign in to comment.