mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-03 12:17:20 +02:00
fix(v2): Fix i18n staging deployment due to json typo (#4461)
This commit is contained in:
parent
60d189a91c
commit
892d832a3e
2 changed files with 9 additions and 3 deletions
|
@ -1,3 +1,9 @@
|
|||
/**
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
{
|
||||
"theme.AnnouncementBar.closeButtonAriaLabel": "닫기",
|
||||
"theme.CodeBlock.copied": "복사했습니다",
|
||||
|
@ -51,5 +57,5 @@
|
|||
"theme.lastUpdated.lastUpdatedAtBy": "{atDate}{byUser} 마지막으로 업데이트했습니다.",
|
||||
"theme.tags.tagsListLabel": "태그:",
|
||||
"theme.tags.tagsPageLink": "모든 태그 보기",
|
||||
"theme.tags.tagsPageTitle": "태그",
|
||||
"theme.tags.tagsPageTitle": "태그"
|
||||
}
|
||||
|
|
|
@ -39,13 +39,13 @@ const isDeployPreview =
|
|||
const baseUrl = process.env.BASE_URL || '/';
|
||||
const isBootstrapPreset = process.env.DOCUSAURUS_PRESET === 'bootstrap';
|
||||
|
||||
const isVersioningDisabled = !!process.env.DISABLE_VERSIONING;
|
||||
|
||||
// Special deployment for staging locales until they get enough translations
|
||||
// https://app.netlify.com/sites/docusaurus-i18n-staging
|
||||
// https://docusaurus-i18n-staging.netlify.app/
|
||||
const isI18nStaging = process.env.I18N_STAGING === 'true';
|
||||
|
||||
const isVersioningDisabled = !!process.env.DISABLE_VERSIONING || isI18nStaging;
|
||||
|
||||
/** @type {import('@docusaurus/types').DocusaurusConfig} */
|
||||
(module.exports = {
|
||||
title: 'Docusaurus',
|
||||
|
|
Loading…
Add table
Reference in a new issue