Revert "Unbreak website deploy."

This reverts commit 1a8e88b4b5.
This commit is contained in:
cpojer
2026-01-22 10:20:30 +09:00
parent c08466294e
commit fadb9f0853
2 changed files with 39 additions and 1 deletions
+4
View File
@@ -15,6 +15,10 @@
YARN_CACHE_FOLDER = "/opt/buildhome/.yarn_cache"
YARN_VERSION = "3.6.4"
[context.production]
# Do not build the site if there's no site-related changes
ignore = "git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF -- website/ docs/ netlify.toml"
# deploy preview build (faster config)
[context.deploy-preview]
command = "yarn workspace jest-website netlify:ci:deployPreview"
+35 -1
View File
@@ -7,12 +7,46 @@
// The top-30 locales on Crowdin are enabled
// but we enable only a subset of those
const locales = ['en'];
const locales = [
'en',
'ja',
'es-ES',
'fr',
'pt-BR',
'ro',
'ru',
'uk',
'zh-Hans',
];
const localeConfigs = {
en: {
label: 'English',
},
ja: {
label: '日本語',
},
'es-ES': {
label: 'Español',
},
fr: {
label: 'Français',
},
'pt-BR': {
label: 'Português (Brasil)',
},
ro: {
label: 'Română',
},
ru: {
label: 'Русский',
},
uk: {
label: 'Українська',
},
'zh-Hans': {
label: '简体中文',
},
};
// Docusaurus 2 i18n config