mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-03 00:39:45 +02:00
Re-arranging of files to move localized base files in /docs from /docs/en, updates to template crowdin.yaml, update to package.json to make calling crowdin easier. Updating documentation to reflect.
This commit is contained in:
parent
fcc38e0e90
commit
8e9808c0f4
21 changed files with 1547 additions and 25 deletions
|
@ -1,5 +1,11 @@
|
|||
.DS_Store
|
||||
node_modules
|
||||
translated_docs
|
||||
i18n
|
||||
yarn.lock
|
||||
.DS_Store
|
||||
lib/core/metadata.js
|
||||
lib/core/MetadataBlog.js
|
||||
website/translated_docs
|
||||
website/build/
|
||||
website/yarn.lock
|
||||
website/node_modules
|
||||
|
||||
website/i18n/*
|
||||
!website/i18n/en.json
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
project_identifier_env: CROWDIN_PROJECT_ID
|
||||
api_key_env: CROWDIN_API_KEY
|
||||
project_identifier_env: CROWDIN_DOCUSAURUS_PROJECT_ID
|
||||
api_key_env: CROWDIN_DOCUSAURUS_API_KEY
|
||||
base_path: "./"
|
||||
preserve_hierarchy: true
|
||||
|
||||
files:
|
||||
-
|
||||
source: '/docs/en/*.md'
|
||||
source: '/docs/*.md'
|
||||
translation: '/website/translated_docs/%locale%/%original_file_name%'
|
||||
languages_mapping: &anchor
|
||||
locale:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue