diff --git a/about-slash.html b/about-slash.html index e4aed23709..57bbb86928 100644 --- a/about-slash.html +++ b/about-slash.html @@ -28,7 +28,7 @@ /docs/en/installation">Getting StartedVersioningLocalizationAdding Search
Community
HelpUser ShowcaseAbout
Social
Docusaurus
Facebook Open Source
Translate

CLI Commands

Docusaurus 提供了一组脚本来帮助您生成、服务和配置您的网站。 使用 Yarn 或 npm 时, 可以使用 run 命令调用这些脚本。 一些常见的命令如下:

从命令行运行

@@ -170,7 +170,7 @@ /docs/zh-CN/installation">Getting StartedVersioningLocalizationAdding Search
Facebook Open Source
Translate

CLI Commands

Docusaurus 提供了一组脚本来帮助您生成、服务和配置您的网站。 使用 Yarn 或 npm 时, 可以使用 run 命令调用这些脚本。 一些常见的命令如下:

从命令行运行

@@ -170,7 +170,7 @@ /docs/zh-CN/installation">Getting StartedVersioningLocalizationAdding Search
Facebook Open Source
Translate

CLI Commands

Docusaurus 提供了一组脚本来帮助您生成、服务和配置您的网站。 使用 Yarn 或 npm 时, 可以使用 run 命令调用这些脚本。 一些常见的命令如下:

从命令行运行

@@ -209,7 +209,7 @@ /docs/zh-CN/installation">Getting StartedVersioningLocalizationAdding Search
Facebook Open Source
Translate

CLI Commands

Docusaurus 提供了一组脚本来帮助您生成、服务和配置您的网站。 使用 Yarn 或 npm 时, 可以使用 run 命令调用这些脚本。 一些常见的命令如下:

从命令行运行

@@ -209,7 +209,7 @@ /docs/zh-CN/installation">Getting StartedVersioningLocalizationAdding Search
Facebook Open Source
Translate

Pages and Styles

Docusaurus provides support for writing pages as React components inside the website/pages directory which will share the same header, footer, and styles as the rest of the site.

+
Translate

Pages and Styles

Docusaurus支持在website/pages文件夹内将页面编写为React组件,该文件夹将会和网站的其他部分共享相同的页眉,页脚和样式。

Provided Props

Docusaurus provides your siteConfig.js as a config props. Hence, you can access baseUrl or title through this props.

示例

@@ -253,7 +253,7 @@ MyPage.description = 'My Custom Description'; /docs/zh-CN/installation">Getting StartedVersioningLocalizationAdding Search
Facebook Open Source
Translate

Pages and Styles

Docusaurus provides support for writing pages as React components inside the website/pages directory which will share the same header, footer, and styles as the rest of the site.

+
Translate

Pages and Styles

Docusaurus支持在website/pages文件夹内将页面编写为React组件,该文件夹将会和网站的其他部分共享相同的页眉,页脚和样式。

Provided Props

Docusaurus provides your siteConfig.js as a config props. Hence, you can access baseUrl or title through this props.

示例

@@ -253,7 +253,7 @@ MyPage.description = 'My Custom Description'; /docs/zh-CN/installation">Getting StartedVersioningLocalizationAdding Search
Facebook Open Source
Translate

CLI Commands

Docusaurus 提供了一组脚本来帮助您生成、服务和配置您的网站。 使用 Yarn 或 npm 时, 可以使用 run 命令调用这些脚本。 一些常见的命令如下:

从命令行运行

@@ -215,7 +215,7 @@ /docs/zh-CN/installation">Getting StartedVersioningLocalizationAdding Search
Facebook Open Source
Translate

CLI Commands

Docusaurus 提供了一组脚本来帮助您生成、服务和配置您的网站。 使用 Yarn 或 npm 时, 可以使用 run 命令调用这些脚本。 一些常见的命令如下:

从命令行运行

@@ -215,7 +215,7 @@ /docs/zh-CN/installation">Getting StartedVersioningLocalizationAdding Search
Facebook Open Source
Translate

Pages and Styles

Docusaurus provides support for writing pages as React components inside the website/pages directory which will share the same header, footer, and styles as the rest of the site.

+
Translate

Pages and Styles

Docusaurus支持在website/pages文件夹内将页面编写为React组件,该文件夹将会和网站的其他部分共享相同的页眉,页脚和样式。

Provided Props

Docusaurus provides your siteConfig.js as a config props. Hence, you can access baseUrl or title through this props.

示例

@@ -253,7 +253,7 @@ MyPage.description = 'My Custom Description'; /docs/zh-CN/installation">Getting StartedVersioningLocalizationAdding Search
Facebook Open Source
Translate

Pages and Styles

Docusaurus provides support for writing pages as React components inside the website/pages directory which will share the same header, footer, and styles as the rest of the site.

+
Translate

Pages and Styles

Docusaurus支持在website/pages文件夹内将页面编写为React组件,该文件夹将会和网站的其他部分共享相同的页眉,页脚和样式。

Provided Props

Docusaurus provides your siteConfig.js as a config props. Hence, you can access baseUrl or title through this props.

示例

@@ -253,7 +253,7 @@ MyPage.description = 'My Custom Description'; /docs/zh-CN/installation">Getting StartedVersioningLocalizationAdding Search
Facebook Open Source
Translate

CLI Commands

Docusaurus 提供了一组脚本来帮助您生成、服务和配置您的网站。 使用 Yarn 或 npm 时, 可以使用 run 命令调用这些脚本。 一些常见的命令如下:

从命令行运行

@@ -215,7 +215,7 @@ /docs/zh-CN/installation">Getting StartedVersioningLocalizationAdding Search
Facebook Open Source
Translate

CLI Commands

Docusaurus 提供了一组脚本来帮助您生成、服务和配置您的网站。 使用 Yarn 或 npm 时, 可以使用 run 命令调用这些脚本。 一些常见的命令如下:

从命令行运行

@@ -215,7 +215,7 @@ /docs/zh-CN/installation">Getting StartedVersioningLocalizationAdding Search
Facebook Open Source
Translate

Pages and Styles

Docusaurus provides support for writing pages as React components inside the website/pages directory which will share the same header, footer, and styles as the rest of the site.

+
Translate

Pages and Styles

Docusaurus支持在website/pages文件夹内将页面编写为React组件,该文件夹将会和网站的其他部分共享相同的页眉,页脚和样式。

URLs for Pages

Any .js files in website/pages will be rendered to static HTML using the path of the file after pages. website/pages/en中的文件也将会被复制到pages中并且会覆盖pages中的任何同名文件。 For example, the page for the website/pages/en/help.js file will be found at the URL ${baseUrl}en/help.js as well as the URL ${baseUrl}help.js, where ${baseUrl} is the baseUrl field set in your siteConfig.js file.

Titles for Pages

@@ -238,7 +238,7 @@ MyPage.description = 'My Custom Description'; /docs/zh-CN/installation">Getting StartedVersioningLocalizationAdding Search
Facebook Open Source
Translate

Pages and Styles

Docusaurus provides support for writing pages as React components inside the website/pages directory which will share the same header, footer, and styles as the rest of the site.

+
Translate

Pages and Styles

Docusaurus支持在website/pages文件夹内将页面编写为React组件,该文件夹将会和网站的其他部分共享相同的页眉,页脚和样式。

URLs for Pages

Any .js files in website/pages will be rendered to static HTML using the path of the file after pages. website/pages/en中的文件也将会被复制到pages中并且会覆盖pages中的任何同名文件。 For example, the page for the website/pages/en/help.js file will be found at the URL ${baseUrl}en/help.js as well as the URL ${baseUrl}help.js, where ${baseUrl} is the baseUrl field set in your siteConfig.js file.

Titles for Pages

@@ -238,7 +238,7 @@ MyPage.description = 'My Custom Description'; /docs/zh-CN/installation">Getting StartedVersioningLocalizationAdding Search
Facebook Open Source
Translate

CLI Commands

Docusaurus 提供了一组脚本来帮助您生成、服务和配置您的网站。 使用 Yarn 或 npm 时, 可以使用 run 命令调用这些脚本。 一些常见的命令如下:

从命令行运行

@@ -210,7 +210,7 @@ /docs/zh-CN/installation">Getting StartedVersioningLocalizationAdding Search
Facebook Open Source
Translate

CLI Commands

Docusaurus 提供了一组脚本来帮助您生成、服务和配置您的网站。 使用 Yarn 或 npm 时, 可以使用 run 命令调用这些脚本。 一些常见的命令如下:

从命令行运行

@@ -210,7 +210,7 @@ /docs/zh-CN/installation">Getting StartedVersioningLocalizationAdding Search
Facebook Open Source
Translate

Pages and Styles

Docusaurus provides support for writing pages as React components inside the website/pages directory which will share the same header, footer, and styles as the rest of the site.

+
Translate

Pages and Styles

Docusaurus支持在website/pages文件夹内将页面编写为React组件,该文件夹将会和网站的其他部分共享相同的页眉,页脚和样式。

URLs for Pages

Any .js files in website/pages will be rendered to static HTML using the path of the file after pages. website/pages/en中的文件也将会被复制到pages中并且会覆盖pages中的任何同名文件。 For example, the page for the website/pages/en/help.js file will be found at the URL ${baseUrl}en/help.js as well as the URL ${baseUrl}help.js, where ${baseUrl} is the baseUrl field set in your siteConfig.js file.

Titles for Pages

@@ -238,7 +238,7 @@ MyPage.description = 'My Custom Description'; /docs/zh-CN/installation">Getting StartedVersioningLocalizationAdding Search
Facebook Open Source
Translate

Pages and Styles

Docusaurus provides support for writing pages as React components inside the website/pages directory which will share the same header, footer, and styles as the rest of the site.

+
Translate

Pages and Styles

Docusaurus支持在website/pages文件夹内将页面编写为React组件,该文件夹将会和网站的其他部分共享相同的页眉,页脚和样式。

URLs for Pages

Any .js files in website/pages will be rendered to static HTML using the path of the file after pages. website/pages/en中的文件也将会被复制到pages中并且会覆盖pages中的任何同名文件。 For example, the page for the website/pages/en/help.js file will be found at the URL ${baseUrl}en/help.js as well as the URL ${baseUrl}help.js, where ${baseUrl} is the baseUrl field set in your siteConfig.js file.

Titles for Pages

@@ -238,7 +238,7 @@ MyPage.description = 'My Custom Description'; /docs/zh-CN/installation">Getting StartedVersioningLocalizationAdding Search
Facebook Open Source
Translate

CLI Commands

Docusaurus 提供了一组脚本来帮助您生成、服务和配置您的网站。 使用 Yarn 或 npm 时, 可以使用 run 命令调用这些脚本。 一些常见的命令如下:

从命令行运行

@@ -210,7 +210,7 @@ /docs/zh-CN/installation">Getting StartedVersioningLocalizationAdding Search
Facebook Open Source
Translate

CLI Commands

Docusaurus 提供了一组脚本来帮助您生成、服务和配置您的网站。 使用 Yarn 或 npm 时, 可以使用 run 命令调用这些脚本。 一些常见的命令如下:

从命令行运行

@@ -210,7 +210,7 @@ /docs/zh-CN/installation">Getting StartedVersioningLocalizationAdding Search
Facebook Open Source
Translate

Pages and Styles

Docusaurus provides support for writing pages as React components inside the website/pages directory which will share the same header, footer, and styles as the rest of the site.

+
Translate

Pages and Styles

Docusaurus支持在website/pages文件夹内将页面编写为React组件,该文件夹将会和网站的其他部分共享相同的页眉,页脚和样式。

URLs for Pages

Any .js files in website/pages will be rendered to static HTML using the path of the file after pages. website/pages/en中的文件也将会被复制到pages中并且会覆盖pages中的任何同名文件。 For example, the page for the website/pages/en/help.js file will be found at the URL ${baseUrl}en/help.js as well as the URL ${baseUrl}help.js, where ${baseUrl} is the baseUrl field set in your siteConfig.js file.

Titles for Pages

@@ -238,7 +238,7 @@ MyPage.description = 'My Custom Description'; /docs/zh-CN/installation">Getting StartedVersioningLocalizationAdding Search
Facebook Open Source
Translate

Pages and Styles

Docusaurus provides support for writing pages as React components inside the website/pages directory which will share the same header, footer, and styles as the rest of the site.

+
Translate

Pages and Styles

Docusaurus支持在website/pages文件夹内将页面编写为React组件,该文件夹将会和网站的其他部分共享相同的页眉,页脚和样式。

URLs for Pages

Any .js files in website/pages will be rendered to static HTML using the path of the file after pages. website/pages/en中的文件也将会被复制到pages中并且会覆盖pages中的任何同名文件。 For example, the page for the website/pages/en/help.js file will be found at the URL ${baseUrl}en/help.js as well as the URL ${baseUrl}help.js, where ${baseUrl} is the baseUrl field set in your siteConfig.js file.

Titles for Pages

@@ -238,7 +238,7 @@ MyPage.description = 'My Custom Description'; /docs/zh-CN/installation">Getting StartedVersioningLocalizationAdding Search
Facebook Open Source
Translate

CLI Commands

Docusaurus 提供了一组脚本来帮助您生成、服务和配置您的网站。 使用 Yarn 或 npm 时, 可以使用 run 命令调用这些脚本。 一些常见的命令如下:

从命令行运行

@@ -210,7 +210,7 @@ /docs/zh-CN/installation">Getting StartedVersioningLocalizationAdding Search
Facebook Open Source
Translate

CLI Commands

Docusaurus 提供了一组脚本来帮助您生成、服务和配置您的网站。 使用 Yarn 或 npm 时, 可以使用 run 命令调用这些脚本。 一些常见的命令如下:

从命令行运行

@@ -210,7 +210,7 @@ /docs/zh-CN/installation">Getting StartedVersioningLocalizationAdding Search
Facebook Open Source
Translate

Pages and Styles

Docusaurus provides support for writing pages as React components inside the website/pages directory which will share the same header, footer, and styles as the rest of the site.

+
Translate

Pages and Styles

Docusaurus支持在website/pages文件夹内将页面编写为React组件,该文件夹将会和网站的其他部分共享相同的页眉,页脚和样式。

URLs for Pages

Any .js files in website/pages will be rendered to static HTML using the path of the file after pages. website/pages/en中的文件也将会被复制到pages中并且会覆盖pages中的任何同名文件。 For example, the page for the website/pages/en/help.js file will be found at the URL ${baseUrl}en/help.js as well as the URL ${baseUrl}help.js, where ${baseUrl} is the baseUrl field set in your siteConfig.js file.

Titles for Pages

@@ -238,7 +238,7 @@ MyPage.description = 'My Custom Description'; /docs/zh-CN/installation">Getting StartedVersioningLocalizationAdding Search
Facebook Open Source
Translate

Pages and Styles

Docusaurus provides support for writing pages as React components inside the website/pages directory which will share the same header, footer, and styles as the rest of the site.

+
Translate

Pages and Styles

Docusaurus支持在website/pages文件夹内将页面编写为React组件,该文件夹将会和网站的其他部分共享相同的页眉,页脚和样式。

URLs for Pages

Any .js files in website/pages will be rendered to static HTML using the path of the file after pages. website/pages/en中的文件也将会被复制到pages中并且会覆盖pages中的任何同名文件。 For example, the page for the website/pages/en/help.js file will be found at the URL ${baseUrl}en/help.js as well as the URL ${baseUrl}help.js, where ${baseUrl} is the baseUrl field set in your siteConfig.js file.

Titles for Pages

@@ -238,7 +238,7 @@ MyPage.description = 'My Custom Description'; /docs/zh-CN/installation">Getting StartedVersioningLocalizationAdding Search
Facebook Open Source
Translate

CLI Commands

Docusaurus 提供了一组脚本来帮助您生成、服务和配置您的网站。 使用 Yarn 或 npm 时, 可以使用 run 命令调用这些脚本。 一些常见的命令如下:

从命令行运行

@@ -213,7 +213,7 @@ /docs/zh-CN/installation">Getting StartedVersioningLocalizationAdding Search
Facebook Open Source
Translate

CLI Commands

Docusaurus 提供了一组脚本来帮助您生成、服务和配置您的网站。 使用 Yarn 或 npm 时, 可以使用 run 命令调用这些脚本。 一些常见的命令如下:

从命令行运行

@@ -213,7 +213,7 @@ /docs/zh-CN/installation">Getting StartedVersioningLocalizationAdding Search
Facebook Open Source
Translate

Pages and Styles

Docusaurus provides support for writing pages as React components inside the website/pages directory which will share the same header, footer, and styles as the rest of the site.

+
Translate

Pages and Styles

Docusaurus支持在website/pages文件夹内将页面编写为React组件,该文件夹将会和网站的其他部分共享相同的页眉,页脚和样式。

Provided Props

Docusaurus provides your siteConfig.js as a config props. Hence, you can access baseUrl or title through this props.

示例

@@ -252,7 +252,7 @@ MyPage.description = 'My Custom Description'; /docs/zh-CN/installation">Getting StartedVersioningLocalizationAdding Search
Facebook Open Source
Translate

Pages and Styles

Docusaurus provides support for writing pages as React components inside the website/pages directory which will share the same header, footer, and styles as the rest of the site.

+
Translate

Pages and Styles

Docusaurus支持在website/pages文件夹内将页面编写为React组件,该文件夹将会和网站的其他部分共享相同的页眉,页脚和样式。

Provided Props

Docusaurus provides your siteConfig.js as a config props. Hence, you can access baseUrl or title through this props.

示例

@@ -252,7 +252,7 @@ MyPage.description = 'My Custom Description'; /docs/zh-CN/installation">Getting StartedVersioningLocalizationAdding Search
Facebook Open Source
Translate

CLI Commands

Docusaurus 提供了一组脚本来帮助您生成、服务和配置您的网站。 使用 Yarn 或 npm 时, 可以使用 run 命令调用这些脚本。 一些常见的命令如下:

从命令行运行

@@ -213,7 +213,7 @@ /docs/zh-CN/installation">Getting StartedVersioningLocalizationAdding Search
Facebook Open Source
Translate

CLI Commands

Docusaurus 提供了一组脚本来帮助您生成、服务和配置您的网站。 使用 Yarn 或 npm 时, 可以使用 run 命令调用这些脚本。 一些常见的命令如下:

从命令行运行

@@ -213,7 +213,7 @@ /docs/zh-CN/installation">Getting StartedVersioningLocalizationAdding Search
Facebook Open Source
Translate

Pages and Styles

Docusaurus provides support for writing pages as React components inside the website/pages directory which will share the same header, footer, and styles as the rest of the site.

+
Translate

Pages and Styles

Docusaurus支持在website/pages文件夹内将页面编写为React组件,该文件夹将会和网站的其他部分共享相同的页眉,页脚和样式。

Provided Props

Docusaurus provides your siteConfig.js as a config props. Hence, you can access baseUrl or title through this props.

示例

@@ -252,7 +252,7 @@ MyPage.description = 'My Custom Description'; /docs/zh-CN/installation">Getting StartedVersioningLocalizationAdding Search
Facebook Open Source
Translate

Pages and Styles

Docusaurus provides support for writing pages as React components inside the website/pages directory which will share the same header, footer, and styles as the rest of the site.

+
Translate

Pages and Styles

Docusaurus支持在website/pages文件夹内将页面编写为React组件,该文件夹将会和网站的其他部分共享相同的页眉,页脚和样式。

Provided Props

Docusaurus provides your siteConfig.js as a config props. Hence, you can access baseUrl or title through this props.

示例

@@ -252,7 +252,7 @@ MyPage.description = 'My Custom Description'; /docs/zh-CN/installation">Getting StartedVersioningLocalizationAdding Search
Facebook Open Source
Translate

CLI Commands

Docusaurus 提供了一组脚本来帮助您生成、服务和配置您的网站。 使用 Yarn 或 npm 时, 可以使用 run 命令调用这些脚本。 一些常见的命令如下:

从命令行运行

@@ -213,7 +213,7 @@ /docs/zh-CN/installation">Getting StartedVersioningLocalizationAdding Search
Facebook Open Source
Translate

CLI Commands

Docusaurus 提供了一组脚本来帮助您生成、服务和配置您的网站。 使用 Yarn 或 npm 时, 可以使用 run 命令调用这些脚本。 一些常见的命令如下:

从命令行运行

@@ -213,7 +213,7 @@ /docs/zh-CN/installation">Getting StartedVersioningLocalizationAdding Search
Facebook Open Source
Translate

Pages and Styles

Docusaurus provides support for writing pages as React components inside the website/pages directory which will share the same header, footer, and styles as the rest of the site.

+
Translate

Pages and Styles

Docusaurus支持在website/pages文件夹内将页面编写为React组件,该文件夹将会和网站的其他部分共享相同的页眉,页脚和样式。

Provided Props

Docusaurus provides your siteConfig.js as a config props. Hence, you can access baseUrl or title through this props.

示例

@@ -253,7 +253,7 @@ MyPage.description = 'My Custom Description'; /docs/zh-CN/installation">Getting StartedVersioningLocalizationAdding Search
Facebook Open Source
Translate

Pages and Styles

Docusaurus provides support for writing pages as React components inside the website/pages directory which will share the same header, footer, and styles as the rest of the site.

+
Translate

Pages and Styles

Docusaurus支持在website/pages文件夹内将页面编写为React组件,该文件夹将会和网站的其他部分共享相同的页眉,页脚和样式。

Provided Props

Docusaurus provides your siteConfig.js as a config props. Hence, you can access baseUrl or title through this props.

示例

@@ -253,7 +253,7 @@ MyPage.description = 'My Custom Description'; /docs/zh-CN/installation">Getting StartedVersioningLocalizationAdding Search
Facebook Open Source
Translate

CLI Commands

Docusaurus 提供了一组脚本来帮助您生成、服务和配置您的网站。 使用 Yarn 或 npm 时, 可以使用 run 命令调用这些脚本。 一些常见的命令如下:

从命令行运行

@@ -214,7 +214,7 @@ /docs/zh-CN/installation">Getting StartedVersioningLocalizationAdding Search
Facebook Open Source
Translate

CLI Commands

Docusaurus 提供了一组脚本来帮助您生成、服务和配置您的网站。 使用 Yarn 或 npm 时, 可以使用 run 命令调用这些脚本。 一些常见的命令如下:

从命令行运行

@@ -214,7 +214,7 @@ /docs/zh-CN/installation">Getting StartedVersioningLocalizationAdding Search
Facebook Open Source
Translate

Pages and Styles

Docusaurus provides support for writing pages as React components inside the website/pages directory which will share the same header, footer, and styles as the rest of the site.

+
Translate

Pages and Styles

Docusaurus支持在website/pages文件夹内将页面编写为React组件,该文件夹将会和网站的其他部分共享相同的页眉,页脚和样式。

Provided Props

Docusaurus provides your siteConfig.js as a config props. Hence, you can access baseUrl or title through this props.

示例

@@ -253,7 +253,7 @@ MyPage.description = 'My Custom Description'; /docs/zh-CN/installation">Getting StartedVersioningLocalizationAdding Search
Facebook Open Source
Translate

Pages and Styles

Docusaurus provides support for writing pages as React components inside the website/pages directory which will share the same header, footer, and styles as the rest of the site.

+
Translate

Pages and Styles

Docusaurus支持在website/pages文件夹内将页面编写为React组件,该文件夹将会和网站的其他部分共享相同的页眉,页脚和样式。

Provided Props

Docusaurus provides your siteConfig.js as a config props. Hence, you can access baseUrl or title through this props.

示例

@@ -253,7 +253,7 @@ MyPage.description = 'My Custom Description'; /docs/zh-CN/installation">Getting StartedVersioningLocalizationAdding Search
Facebook Open Source
Translate

CLI Commands

Docusaurus 提供了一组脚本来帮助您生成、服务和配置您的网站。 使用 Yarn 或 npm 时, 可以使用 run 命令调用这些脚本。 一些常见的命令如下:

从命令行运行

@@ -214,7 +214,7 @@ /docs/zh-CN/installation">Getting StartedVersioningLocalizationAdding Search
Facebook Open Source
Translate

CLI Commands

Docusaurus 提供了一组脚本来帮助您生成、服务和配置您的网站。 使用 Yarn 或 npm 时, 可以使用 run 命令调用这些脚本。 一些常见的命令如下:

从命令行运行

@@ -214,7 +214,7 @@ /docs/zh-CN/installation">Getting StartedVersioningLocalizationAdding Search
Facebook Open Source
Translate

Pages and Styles

Docusaurus provides support for writing pages as React components inside the website/pages directory which will share the same header, footer, and styles as the rest of the site.

+
Translate

Pages and Styles

Docusaurus支持在website/pages文件夹内将页面编写为React组件,该文件夹将会和网站的其他部分共享相同的页眉,页脚和样式。

Provided Props

Docusaurus provides your siteConfig.js as a config props. Hence, you can access baseUrl or title through this props.

示例

@@ -253,7 +253,7 @@ MyPage.description = 'My Custom Description'; /docs/zh-CN/installation">Getting StartedVersioningLocalizationAdding Search
Facebook Open Source
Translate

Pages and Styles

Docusaurus provides support for writing pages as React components inside the website/pages directory which will share the same header, footer, and styles as the rest of the site.

+
Translate

Pages and Styles

Docusaurus支持在website/pages文件夹内将页面编写为React组件,该文件夹将会和网站的其他部分共享相同的页眉,页脚和样式。

Provided Props

Docusaurus provides your siteConfig.js as a config props. Hence, you can access baseUrl or title through this props.

示例

@@ -253,7 +253,7 @@ MyPage.description = 'My Custom Description'; /docs/zh-CN/installation">Getting StartedVersioningLocalizationAdding Search
Facebook Open Source
Translate

CLI Commands

Docusaurus 提供了一组脚本来帮助您生成、服务和配置您的网站。 使用 Yarn 或 npm 时, 可以使用 run 命令调用这些脚本。 一些常见的命令如下:

从命令行运行

@@ -214,7 +214,7 @@ /docs/zh-CN/installation">Getting StartedVersioningLocalizationAdding Search
Facebook Open Source
Translate

CLI Commands

Docusaurus 提供了一组脚本来帮助您生成、服务和配置您的网站。 使用 Yarn 或 npm 时, 可以使用 run 命令调用这些脚本。 一些常见的命令如下:

从命令行运行

@@ -214,7 +214,7 @@ /docs/zh-CN/installation">Getting StartedVersioningLocalizationAdding Search
Facebook Open Source
Translate

Pages and Styles

Docusaurus provides support for writing pages as React components inside the website/pages directory which will share the same header, footer, and styles as the rest of the site.

+
Translate

Pages and Styles

Docusaurus支持在website/pages文件夹内将页面编写为React组件,该文件夹将会和网站的其他部分共享相同的页眉,页脚和样式。

Provided Props

Docusaurus provides your siteConfig.js as a config props. Hence, you can access baseUrl or title through this props.

示例

@@ -253,7 +253,7 @@ MyPage.description = 'My Custom Description'; /docs/zh-CN/installation">Getting StartedVersioningLocalizationAdding Search
Facebook Open Source
Translate

Pages and Styles

Docusaurus provides support for writing pages as React components inside the website/pages directory which will share the same header, footer, and styles as the rest of the site.

+
Translate

Pages and Styles

Docusaurus支持在website/pages文件夹内将页面编写为React组件,该文件夹将会和网站的其他部分共享相同的页眉,页脚和样式。

Provided Props

Docusaurus provides your siteConfig.js as a config props. Hence, you can access baseUrl or title through this props.

示例

@@ -253,7 +253,7 @@ MyPage.description = 'My Custom Description'; /docs/zh-CN/installation">Getting StartedVersioningLocalizationAdding Search
Facebook Open Source
Translate

CLI Commands

Docusaurus 提供了一组脚本来帮助您生成、服务和配置您的网站。 使用 Yarn 或 npm 时, 可以使用 run 命令调用这些脚本。 一些常见的命令如下:

从命令行运行

@@ -215,7 +215,7 @@ /docs/zh-CN/installation">Getting StartedVersioningLocalizationAdding Search
Facebook Open Source
Translate

CLI Commands

Docusaurus 提供了一组脚本来帮助您生成、服务和配置您的网站。 使用 Yarn 或 npm 时, 可以使用 run 命令调用这些脚本。 一些常见的命令如下:

从命令行运行

@@ -215,7 +215,7 @@ /docs/zh-CN/installation">Getting StartedVersioningLocalizationAdding Search
Facebook Open Source
Translate

页面和样式

Docusaurus provides support for writing pages as React components inside the website/pages directory which will share the same header, footer, and styles as the rest of the site.

+
Translate

页面和样式

Docusaurus支持在website/pages文件夹内将页面编写为React组件,该文件夹将会和网站的其他部分共享相同的页眉,页脚和样式。

Provided Props

Docusaurus provides your siteConfig.js as a config props. Hence, you can access baseUrl or title through this props.

示例

@@ -253,7 +253,7 @@ MyPage.description = 'My Custom Description'; /docs/zh-CN/installation">Getting StartedVersioningLocalizationAdding Search
Facebook Open Source
Translate

页面和样式

Docusaurus provides support for writing pages as React components inside the website/pages directory which will share the same header, footer, and styles as the rest of the site.

+
Translate

页面和样式

Docusaurus支持在website/pages文件夹内将页面编写为React组件,该文件夹将会和网站的其他部分共享相同的页眉,页脚和样式。

Provided Props

Docusaurus provides your siteConfig.js as a config props. Hence, you can access baseUrl or title through this props.

示例

@@ -253,7 +253,7 @@ MyPage.description = 'My Custom Description'; /docs/zh-CN/installation">Getting StartedVersioningLocalizationAdding Search
Facebook Open Source
Translate

CLI 命令

Docusaurus 提供了一组脚本来帮助您生成、服务和配置您的网站。 使用 Yarn 或 npm 时, 可以使用 run 命令调用这些脚本。 一些常见的命令如下:

从命令行运行

@@ -215,7 +215,7 @@ /docs/zh-CN/installation">Getting StartedVersioningLocalizationAdding Search
Facebook Open Source
Translate

CLI 命令

Docusaurus 提供了一组脚本来帮助您生成、服务和配置您的网站。 使用 Yarn 或 npm 时, 可以使用 run 命令调用这些脚本。 一些常见的命令如下:

从命令行运行

@@ -215,7 +215,7 @@ /docs/zh-CN/installation">Getting StartedVersioningLocalizationAdding Search
Facebook Open Source