diff --git a/docs/zh-CN/1.0.11/api-pages.html b/docs/zh-CN/1.0.11/api-pages.html index 4337954fa8..f2e9cbb377 100644 --- a/docs/zh-CN/1.0.11/api-pages.html +++ b/docs/zh-CN/1.0.11/api-pages.html @@ -74,7 +74,7 @@

Props

- + @@ -82,7 +82,7 @@
PropTypeDefaultDescription
PropType默认说明
paddingArray of 'all', 'bottom', 'left', 'right', 'top'[]Positions of the padding.
classNameString-Custom class to add to the element.
-

Example

+

示例

<Container
   padding={['bottom', 'top']}
   background="light"
@@ -95,7 +95,7 @@
 

Props

- + @@ -107,7 +107,7 @@

Content Object

PropTypeDefaultDescription
PropType默认说明
alignOne of 'left', 'center', 'right''left'Text alignment of content.
- + @@ -118,7 +118,7 @@
KeyTypeDefaultDescription
KeyType默认说明
titleString-The display title of this section, which is parsed using Markdown
imageLinkString-Link destination from clicking the image
-

Example

+

示例

<GridBlock
   align="center"
   layout="threeColumn"
diff --git a/docs/zh-CN/1.0.11/api-pages/index.html b/docs/zh-CN/1.0.11/api-pages/index.html
index 4337954fa8..f2e9cbb377 100644
--- a/docs/zh-CN/1.0.11/api-pages/index.html
+++ b/docs/zh-CN/1.0.11/api-pages/index.html
@@ -74,7 +74,7 @@
 

Props

- + @@ -82,7 +82,7 @@
PropTypeDefaultDescription
PropType默认说明
paddingArray of 'all', 'bottom', 'left', 'right', 'top'[]Positions of the padding.
classNameString-Custom class to add to the element.
-

Example

+

示例

<Container
   padding={['bottom', 'top']}
   background="light"
@@ -95,7 +95,7 @@
 

Props

- + @@ -107,7 +107,7 @@

Content Object

PropTypeDefaultDescription
PropType默认说明
alignOne of 'left', 'center', 'right''left'Text alignment of content.
- + @@ -118,7 +118,7 @@
KeyTypeDefaultDescription
KeyType默认说明
titleString-The display title of this section, which is parsed using Markdown
imageLinkString-Link destination from clicking the image
-

Example

+

示例

<GridBlock
   align="center"
   layout="threeColumn"
diff --git a/docs/zh-CN/1.0.11/commands.html b/docs/zh-CN/1.0.11/commands.html
index 1361335cbb..a74ab01149 100644
--- a/docs/zh-CN/1.0.11/commands.html
+++ b/docs/zh-CN/1.0.11/commands.html
@@ -82,19 +82,19 @@
 

参考

docusaurus-build

别名︰ build

-

Generates the static website, applying translations if necessary. Useful for building the website prior to deployment.

+

生成静态站点,必要时会应用翻译。 适用于部署前构建站点。

See also docusaurus-start.


docusaurus-examples [feature]

别名:examples

-

When no feature is specified, sets up a minimally configured example website in your project. This command is covered in depth in the Site Preparation guide. Specify a feature translations or versions to generate the extra example files for that feature.

+

如果没有指定附加功能,则会在你的项目中设置一个最小化配置的示例站点。 Site Preparation guide 中会深入介绍此命令。 指定附加功能 translationsversions,以生成附加功能的额外文件。


-

docusaurus-发布

-

Alias: publish-gh-pages

-

Builds, then deploys the static website to GitHub Pages. This command is meant to be run during the deployment step in Circle CI, and therefore expects a few environment variables to be defined:

-

The following environment variables are generally set manually by the user in the CircleCI config.yml file.

+

docusaurus-publish

+

别名: publish-gh-pages

+

Builds,然后在 GitHub Pages 上部署静态网站。 此命令会在 Circle CI 部署步骤中运行,因此需要定义一些环境变量:

+

以下环境变量通常由用户在 CircleCI 的 config.yml 文件中手动设置。

    -
  • GIT_USER: 与部署提交联系的 GIT 用户。

  • +
  • GIT_USER:与部署相关的 GIT 用户。

  • USE_SSH: Whether to use SSH instead of HTTPS for your connection to the GitHub repo.

    e.g.,

    GIT_USER=docusaurus-bot USE_SSH=true yarn run publish-gh-pages
    @@ -102,7 +102,7 @@
     

The following environment variables are set by CircleCI during the build process.

    -
  • CIRCLE_BRANCH: 与触发 CI 运行的提交关联的 git 分支。
  • +
  • CIRCLE_BRANCH:与触发 CI 运行的 commit 相关联的 git 分支。
  • CI_PULL_REQUEST: 如果当前 CI 运行是通过请求中的提交触发的, 则认定为真。

The following should be set by you in siteConfig.js as organizationName and projectName, respectively. If they are not set in your site configuration, they fall back to the CircleCI environment.

@@ -129,7 +129,7 @@

docusaurus-书写-翻译

Alias: write-translations

Writes the English for any strings that need to be translated into an website/i18n/en.json file. The script will go through every file in website/pages/en and through the siteConfig.js file and other config files to fetch English strings that will then be translated on Crowdin. See the Translation guide to learn more.

-