fix(crowdin): update config for docs
This commit is contained in:
@ -1,27 +1,28 @@
|
|||||||
# Used with the Crowdin CLI or GitHub Actions
|
"project_id_env": "CROWDIN_PROJECT_ID_DOCS"
|
||||||
|
"api_token_env": "CROWDIN_PERSONAL_TOKEN"
|
||||||
|
"base_path_env": "CROWDIN_BASE_PATH"
|
||||||
|
"base_url_env": "CROWDIN_BASE_URL"
|
||||||
|
|
||||||
# CLI Usage (use --dryrun for preview):
|
"preserve_hierarchy": true
|
||||||
# crowdin download --identity ~/.crowdin.yaml
|
|
||||||
# crowdin upload sources --identity ~/.crowdin.yaml
|
|
||||||
# crowdin upload translations --identity ~/.crowdin.yaml
|
|
||||||
|
|
||||||
# These tokens are overriden when using cli with project_id and api_token
|
files: [
|
||||||
project_id_env: CROWDIN_PROJECT_ID
|
{
|
||||||
api_token_env: CROWDIN_PERSONAL_TOKEN
|
"source" : "/*.md",
|
||||||
|
"translation" : "/i18n/%language%/%original_file_name%",
|
||||||
|
|
||||||
# https://support.crowdin.com/configuration-file-v3/#saving-directory-structure-on-server
|
"ignore" : [
|
||||||
preserve_hierarchy: true
|
"_coverpage.md",
|
||||||
base_path: docs
|
"_navbar.md",
|
||||||
|
"_translations.md",
|
||||||
|
"README.md",
|
||||||
|
],
|
||||||
|
|
||||||
files:
|
# "languages_mapping" : {
|
||||||
- source: /*.md
|
# "language" : {
|
||||||
translation: /i18n/%language%/%original_file_name%
|
|
||||||
ignore:
|
# }
|
||||||
- _coverpage.md
|
# },
|
||||||
- _navbar.md
|
|
||||||
- _translations.md
|
"update_option": "update_as_unapproved"
|
||||||
- README.md
|
}
|
||||||
- source: /flight-manuals/*.md
|
]
|
||||||
translation: /i18n/%language%/flight-manuals/%original_file_name%
|
|
||||||
ignore:
|
|
||||||
- working-on-virtual-machines.md
|
|
||||||
|
Reference in New Issue
Block a user