mirror of
https://github.com/hanzoai/jest.git
synced 2026-09-24 16:59:57 +00:00
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user