Skip to content

Commit f459dd6

Browse files
authored
Crowdin: force versioned mdx parser even for .md (#15954)
1 parent 905bcbc commit f459dd6

1 file changed

Lines changed: 22 additions & 22 deletions

File tree

crowdin.yaml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ base_path: '.'
88
base_url: 'https://api.crowdin.com'
99
preserve_hierarchy: true
1010

11+
# Force a specific MDX parser version for all newly added files .md/.mdx files
12+
# See https://github.com/jestjs/jest/issues/15947#issuecomment-3853479828
13+
mdx_file_type: &mdx_file_type mdx_v1_2
14+
1115
# See Yaml anchors: https://support.atlassian.com/bitbucket-cloud/docs/yaml-anchors/
1216
languages_mapping: &languages_mapping
1317
locale:
@@ -25,25 +29,21 @@ languages_mapping: &languages_mapping
2529
# see https://support.crowdin.com/configuration-file/
2630
#
2731
files:
28-
[
29-
{
30-
'source': '/website/i18n/en/**/*',
31-
'translation': '/website/i18n/%locale%/**/%original_file_name%',
32-
'languages_mapping': *languages_mapping,
33-
},
34-
{
35-
'source': '/docs/**/*',
36-
'translation': '/website/i18n/%locale%/docusaurus-plugin-content-docs/current/**/%original_file_name%',
37-
'languages_mapping': *languages_mapping,
38-
},
39-
{
40-
'source': '/website/versioned_docs/**/*',
41-
'translation': '/website/i18n/%locale%/docusaurus-plugin-content-docs/**/%original_file_name%',
42-
'languages_mapping': *languages_mapping,
43-
},
44-
{
45-
'source': '/website/blog/**/*',
46-
'translation': '/website/i18n/%locale%/docusaurus-plugin-content-blog/**/%original_file_name%',
47-
'languages_mapping': *languages_mapping,
48-
},
49-
]
32+
- source: /website/i18n/en/**/*
33+
translation: /website/i18n/%two_letters_code%/**/%original_file_name%
34+
languages_mapping: *languages_mapping
35+
36+
- source: /docs/**/*
37+
translation: /website/i18n/%two_letters_code%/docusaurus-plugin-content-docs/current/**/%original_file_name%
38+
languages_mapping: *languages_mapping
39+
type: *mdx_file_type # Force specific MDX parser version
40+
41+
- source: /website/versioned_docs/**/*
42+
translation: /website/i18n/%two_letters_code%/docusaurus-plugin-content-docs/**/%original_file_name%
43+
languages_mapping: *languages_mapping
44+
type: *mdx_file_type # Force specific MDX parser version
45+
46+
- source: /website/blog/**/*
47+
translation: /website/i18n/%two_letters_code%/docusaurus-plugin-content-blog/**/%original_file_name%
48+
languages_mapping: *languages_mapping
49+
type: *mdx_file_type # Force specific MDX parser version

0 commit comments

Comments
 (0)