From ac387756f917cd5532161de3f41cafb674a5a5d4 Mon Sep 17 00:00:00 2001 From: hywax Date: Tue, 21 May 2024 17:07:48 +0500 Subject: [PATCH] docs: apply script style --- docs/community/development.md | 30 +++++++++++++++--------------- docs/ru/community/development.md | 30 +++++++++++++++--------------- 2 files changed, 30 insertions(+), 30 deletions(-) diff --git a/docs/community/development.md b/docs/community/development.md index e812f98..62ac0c7 100644 --- a/docs/community/development.md +++ b/docs/community/development.md @@ -123,11 +123,11 @@ html.new-theme { ::: code-group ```typescript [types/config.d.ts] export interface Config { - title?: string - lang: 'en' | 'ru' - theme?: 'system' | 'light' | 'dark' | 'deep' | 'new-theme' // [!code focus] - services: ServicesGroup[] - checkUpdates: boolean + title?: string + lang: 'en' | 'ru' + theme?: 'system' | 'light' | 'dark' | 'deep' | 'new-theme' // [!code focus] + services: ServicesGroup[] + checkUpdates: boolean } ``` ::: @@ -153,16 +153,16 @@ After creating the language file, you need to plug it into `nuxt.config.ts` ```typescript export default defineNuxtConfig({ - i18n: { - locales: [ - { // [!code focus] - code: 'en', // [!code focus] - iso: 'en-US', // [!code focus] - name: 'English', // [!code focus] - file: 'en-US.json', // [!code focus] - }, // [!code focus] - ], - }, + i18n: { + locales: [ + { // [!code focus] + code: 'en', // [!code focus] + iso: 'en-US', // [!code focus] + name: 'English', // [!code focus] + file: 'en-US.json', // [!code focus] + }, // [!code focus] + ], + }, }) ``` diff --git a/docs/ru/community/development.md b/docs/ru/community/development.md index b44b157..c44e5bc 100644 --- a/docs/ru/community/development.md +++ b/docs/ru/community/development.md @@ -123,11 +123,11 @@ html.new-theme { ::: code-group ```typescript [types/config.d.ts] export interface Config { - title?: string - lang: 'en' | 'ru' - theme?: 'system' | 'light' | 'dark' | 'deep' | 'new-theme' // [!code focus] - services: ServicesGroup[] - checkUpdates: boolean + title?: string + lang: 'en' | 'ru' + theme?: 'system' | 'light' | 'dark' | 'deep' | 'new-theme' // [!code focus] + services: ServicesGroup[] + checkUpdates: boolean } ``` ::: @@ -153,16 +153,16 @@ export interface Config { ```typescript export default defineNuxtConfig({ - i18n: { - locales: [ - { // [!code focus] - code: 'en', // [!code focus] - iso: 'en-US', // [!code focus] - name: 'English', // [!code focus] - file: 'en-US.json', // [!code focus] - }, // [!code focus] - ], - }, + i18n: { + locales: [ + { // [!code focus] + code: 'en', // [!code focus] + iso: 'en-US', // [!code focus] + name: 'English', // [!code focus] + file: 'en-US.json', // [!code focus] + }, // [!code focus] + ], + }, }) ```