diff --git a/packages/docusaurus-1.x/crowdin.yaml b/crowdin.yaml similarity index 76% rename from packages/docusaurus-1.x/crowdin.yaml rename to crowdin.yaml index 0e9df3eb53..fc12d13605 100644 --- a/packages/docusaurus-1.x/crowdin.yaml +++ b/crowdin.yaml @@ -6,7 +6,7 @@ preserve_hierarchy: true files: - source: '/docs/**/*.md' - translation: '/website/translated_docs/%locale%/**/%original_file_name%' + translation: '/website-1.x/translated_docs/%locale%/**/%original_file_name%' languages_mapping: &anchor locale: 'af': 'af' @@ -44,10 +44,10 @@ files: 'zh-CN': 'zh-CN' 'zh-TW': 'zh-TW' - - source: '/website/versioned_docs/**/*.md' - translation: '/website/translated_docs/%locale%/**/%original_file_name%' + source: '/website-1.x/versioned_docs/**/*.md' + translation: '/website-1.x/translated_docs/%locale%/**/%original_file_name%' languages_mapping: *anchor - - source: '/website/i18n/en.json' - translation: '/website/i18n/%locale%.json' + source: '/website-1.x/i18n/en.json' + translation: '/website-1.x/i18n/%locale%.json' languages_mapping: *anchor diff --git a/docs/api-pages.md b/docs/api-pages.md index d36fc109c7..cc9f2bc113 100644 --- a/docs/api-pages.md +++ b/docs/api-pages.md @@ -217,7 +217,7 @@ Static assets should be placed into the `website/static` directory. They can be You should configure your site's primary, secondary, and code block colors using the `colors` field in `siteConfig` as specified [here](api-site-config.md). You can also configure other colors in the same way as described in the `siteConfig` doc. -There are several ways to access the default styles provided for your site. If you have started developing your website and executed the `docusaurus-init` or `yarn install` command, your default styles can be found at `website/node_modules/docusaurus/lib/static/css/main.css`. Alternatively, the `main.css` file may be inspected directly at the [Docusarus GitHub repository](https://github.com/facebook/Docusaurus/blob/master/v1/lib/static/css/main.css). +There are several ways to access the default styles provided for your site. If you have started developing your website and executed the `docusaurus-init` or `yarn install` command, your default styles can be found at `website/node_modules/docusaurus/lib/static/css/main.css`. Alternatively, the `main.css` file may be inspected directly at the [Docusarus GitHub repository](https://github.com/facebook/docusaurus/blob/master/packages/docusaurus-1.x/lib/static/css/main.css). You can provide your own custom styles by adding them anywhere in the `website/static` directory. Any `.css` files you provide in the `static` directory will get concatenated to the end of Docusaurus' provided styles, allowing you to add to or override Docusaurus default styles as you wish.