From 7a01b978e63f0f301ca3688e2111b3f924ab9803 Mon Sep 17 00:00:00 2001 From: Muhammad Talha <13951043+TalhaMaliktz@users.noreply.github.com> Date: Fri, 29 Nov 2024 16:47:43 +0500 Subject: [PATCH 1/2] Update docusaurus.config.js --- docusaurus.config.js | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index 4398106c5..aab283ed4 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -24,7 +24,7 @@ const config = { // GitHub pages deployment config. // If you aren't using GitHub pages, you don't need these. /* organizationName: 'LiskHQ', // Usually your GitHub org/user name. - projectName: 'lisk-documentation', // Usually your repo name. + projectName: 'lisk-documentation', // Usually your repo name. trailingSlash: false, */ onBrokenLinks: 'throw', @@ -37,6 +37,13 @@ const config = { defaultLocale: 'en', locales: ['en', 'ind'], localeConfigs: { + en: { + label: 'English', + direction: 'ltr', + htmlLang: 'en-US', + calendar: 'gregory', + path: 'en', + }, ind: { label: 'Indonesian', }, @@ -99,12 +106,12 @@ const config = { srcDark: '/img/lisk-docs-dark.svg', }, items: [ - /*{ - TODO: Uncomment when all localozed pages are translated - /* { + /* + TODO: Uncomment when all localozed pages are translated*/ + { type: 'localeDropdown', position: 'right', - }, */ + }, { type: 'doc', position: 'left', From 1ae93874dae7230b78a28c4fbc89af3fa75f1b09 Mon Sep 17 00:00:00 2001 From: Muhammad Talha <13951043+TalhaMaliktz@users.noreply.github.com> Date: Fri, 29 Nov 2024 18:35:09 +0500 Subject: [PATCH 2/2] Undo test changes --- docusaurus.config.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index aab283ed4..51263d746 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -24,7 +24,7 @@ const config = { // GitHub pages deployment config. // If you aren't using GitHub pages, you don't need these. /* organizationName: 'LiskHQ', // Usually your GitHub org/user name. - projectName: 'lisk-documentation', // Usually your repo name. + projectName: 'lisk-documentation', // Usually your repo name. trailingSlash: false, */ onBrokenLinks: 'throw', @@ -107,11 +107,11 @@ const config = { }, items: [ /* - TODO: Uncomment when all localozed pages are translated*/ + TODO: Uncomment when all localozed pages are translated { type: 'localeDropdown', position: 'right', - }, + }, */ { type: 'doc', position: 'left',