fix: broken links due to monorepo migration

This commit is contained in:
Yangshun Tay 2019-03-26 22:03:53 -07:00
parent 94f623938d
commit 431510e9ab
2 changed files with 6 additions and 6 deletions

View file

@ -6,7 +6,7 @@ preserve_hierarchy: true
files: files:
- -
source: '/docs/**/*.md' source: '/docs/**/*.md'
translation: '/website/translated_docs/%locale%/**/%original_file_name%' translation: '/website-1.x/translated_docs/%locale%/**/%original_file_name%'
languages_mapping: &anchor languages_mapping: &anchor
locale: locale:
'af': 'af' 'af': 'af'
@ -44,10 +44,10 @@ files:
'zh-CN': 'zh-CN' 'zh-CN': 'zh-CN'
'zh-TW': 'zh-TW' 'zh-TW': 'zh-TW'
- -
source: '/website/versioned_docs/**/*.md' source: '/website-1.x/versioned_docs/**/*.md'
translation: '/website/translated_docs/%locale%/**/%original_file_name%' translation: '/website-1.x/translated_docs/%locale%/**/%original_file_name%'
languages_mapping: *anchor languages_mapping: *anchor
- -
source: '/website/i18n/en.json' source: '/website-1.x/i18n/en.json'
translation: '/website/i18n/%locale%.json' translation: '/website-1.x/i18n/%locale%.json'
languages_mapping: *anchor languages_mapping: *anchor

View file

@ -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. 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. 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.