From 08fbfd59004de9b62c57adde7ad06cc52659a51d Mon Sep 17 00:00:00 2001 From: Website Deployment Script Date: Wed, 4 Apr 2018 04:53:08 +0000 Subject: [PATCH] Deploy website Deploy website version based on 97f8654433d19abd64c0f667703b28e5472d4461 --- docs/en/api-pages.html | 6 +++--- docs/en/blog.html | 6 +++--- docs/en/custom-pages.html | 2 +- docs/en/navigation.html | 2 +- docs/en/site-config.html | 4 ++-- docs/en/site-creation.html | 4 ++-- docs/en/translation.html | 8 ++++---- 7 files changed, 16 insertions(+), 16 deletions(-) diff --git a/docs/en/api-pages.html b/docs/en/api-pages.html index 3ebeaf35e0..1111e24d4c 100644 --- a/docs/en/api-pages.html +++ b/docs/en/api-pages.html @@ -65,7 +65,7 @@ Background choices: dark, highlight, light"threeColumn" /> -

More examples of how these components are used can be found in the generated example files as well as in Docusaurus's own repo for its website set-up.

+

More examples of how these components are used can be found in the generated example files as well as in Docusaurus' own repo for its website set-up.

Translating Strings

When translations are enabled, any pages inside website/pages/en will be translated for all enabled languages. Urls for non-English pages will use their language tags as specified in the languages.js file. E.g. The url for a French page of website/pages/en/help.js would be found at ${baseUrl}fr/help.html.

When writing pages that you wish to translate, wrap any strings to be translated inside a <translate> tag. e.g.,

@@ -73,7 +73,7 @@ Background choices: dark, highlight, light

You can also provide an optional description attribute to provide context for translators. e.g,

<a href="/community">
-  <translate desc="footer link to page referring to community github and slack">Community</translate>
+  <translate desc="Footer link to page referring to community GitHub and Slack">Community</translate>
 </a>
 

Add the following require statement as well:

@@ -84,7 +84,7 @@ Background choices: dark, highlight, lightStatic assets should be placed into the website/static folder. They can be accessed by their paths, excluding "static". For example, if the site's baseUrl is "/docusaurus/", an image in website/static/img/logo.png is available at /docusaurus/img/logo.png.

Styles

You should configure your site's primary, secondary, and code block colors using the colors field in siteConfig as specified here. You can also configure other colors in the same way as described in the siteConfig doc.

-

You can provide your own custom styles by adding them anywhere in the website/static folder. Any .css files you provide in the static folder will get concatenated to the end of Docusaurus's 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 folder. Any .css files you provide in the static folder will get concatenated to the end of Docusaurus' provided styles, allowing you to add to or override Docusaurus default styles as you wish.

An easy way to figure out what classes you wish to override or add to is to start your server locally and use your browser's inspect element tool.

← Markdown FeaturessiteConfig.js →