Skip to content

Commit

Permalink
chore: more tweak for docs
Browse files Browse the repository at this point in the history
  • Loading branch information
kazupon committed Oct 3, 2023
1 parent 8517576 commit 5c40ec1
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,14 @@ Update nuxt i18n module dependency inside `package.json`:

## 📖 Documentation

[Read more v8 documentation](https://v8.i18n.nuxtjs.org/).
[Read more v8 documentation](https://i18n.nuxtjs.org/).

Keep in mind that not all features are currently supported yet and some things might be broken.

## 🔗 Links

- 📘 [Documentation for v8](https://v8.i18n.nuxtjs.org/)
- 📘 [Documentation for v7](https://i18n.nuxtjs.org/)
- 📘 [Documentation for v8](https://i18n.nuxtjs.org/)
- 📘 [Documentation for v7](https://i18n.nuxtjs.org/v7/setup)
- 🔖 [Release notes](./CHANGELOG.md)
- 👥 [Community](https://discord.nuxtjs.org/) (`#i18n` channel)

Expand Down
4 changes: 2 additions & 2 deletions docs/app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ export default defineAppConfig({
docus: {
title: '@nuxtjs/i18n',
description: 'I18n (Internationalization) module for Nuxt',
url: 'https://v8.i18n.nuxtjs.org',
url: 'https://i18n.nuxtjs.org',
layout: 'default',
image: '/cover.png',
socials: {
github: 'nuxt-modules/i18n'
},
github: {
branch: 'next',
branch: 'main',
repo: 'nuxt-modules/i18n',
owner: 'nuxt-modules',
dir: 'docs/content',
Expand Down
2 changes: 1 addition & 1 deletion docs/content/1.getting-started/2.basic-usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ For more information on how to use Vue I18n Composition API, please see the docs
::

::alert{type="warning"}
You can also use Vue I18n's Legacy API in the nuxt i18n module, this requires configuring [nuxt.config](https://v8.i18n.nuxtjs.org/options/bundle) and i18n.config (`legacy: true`)
You can also use Vue I18n's Legacy API in the nuxt i18n module, this requires configuring [nuxt.config](https://i18n.nuxtjs.org/options/bundle) and i18n.config (`legacy: true`)
::

Now, put (or edit) the following the page component in `pages` directory of your project:
Expand Down
2 changes: 1 addition & 1 deletion src/layers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export const checkLayerOptions = (options: NuxtI18nOptions, nuxt: Nuxt) => {
if (isString(layerI18n.langDir) && isAbsolute(layerI18n.langDir)) {
logger.warn(
`${layerHint} \`langDir\` is set to an absolute path (\`${layerI18n.langDir}\`) but should be set a path relative to \`srcDir\` (\`${layer.config.srcDir}\`). ` +
`Absolute paths will not work in production, see https://v8.i18n.nuxtjs.org/options/lazy#langdir for more details.`
`Absolute paths will not work in production, see https://i18n.nuxtjs.org/options/lazy#langdir for more details.`
)
}

Expand Down

0 comments on commit 5c40ec1

Please sign in to comment.