update docusaurus (#771)

Signed-off-by: Arhell <arhell333@gmail.com>
This commit is contained in:
Ihor Sychevskyi 2022-06-26 11:34:19 +03:00 committed by GitHub
parent 224a885aed
commit 5cf52c52f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
23 changed files with 3416 additions and 3936 deletions

View File

@ -22,7 +22,7 @@ jobs:
check-sort: check-sort:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v3
- uses: actions/setup-go@v1 - uses: actions/setup-go@v1
with: with:
go-version: "1.16.6" go-version: "1.16.6"
@ -33,10 +33,10 @@ jobs:
if: github.event_name != 'push' if: github.event_name != 'push'
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v3
- uses: actions/setup-node@v1 - uses: actions/setup-node@v3
with: with:
node-version: "14.x" node-version: "16.x"
- name: Test Build - name: Test Build
run: | run: |
yarn install --frozen-lockfile --production=false yarn install --frozen-lockfile --production=false
@ -45,10 +45,10 @@ jobs:
if: github.event_name != 'pull_request' if: github.event_name != 'pull_request'
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v3
- uses: actions/setup-node@v1 - uses: actions/setup-node@v3
with: with:
node-version: "14.x" node-version: "16.x"
- name: Build Static Files - name: Build Static Files
env: env:
USE_SSH: true USE_SSH: true

View File

@ -1,5 +1,6 @@
--- ---
title: Addon management title: Addon management
slug: /how-to/cli/addon/addon
--- ---
The docs are migrated to [user guide](../../../end-user/components/more). The docs are migrated to [user guide](../../../end-user/components/more).

View File

@ -1,5 +1,6 @@
--- ---
title: Workflow Step Definition title: Workflow Step Definition
slug: /platform-engineers/workflow/workflow
--- ---
## Overview ## Overview

View File

@ -28,6 +28,7 @@ module.exports = {
'⭐️ If you like KubeVela, give it a star on <a target="_blank" rel="noopener noreferrer" href="https://github.com/kubevela/kubevela">GitHub</a>! ⭐️', '⭐️ If you like KubeVela, give it a star on <a target="_blank" rel="noopener noreferrer" href="https://github.com/kubevela/kubevela">GitHub</a>! ⭐️',
}, },
algolia: { algolia: {
appId: 'PXMFHFWUGZ',
apiKey: 'f19c90b8ffe16ed118dae930cd070507', apiKey: 'f19c90b8ffe16ed118dae930cd070507',
indexName: 'kubevela', indexName: 'kubevela',
}, },
@ -66,7 +67,7 @@ module.exports = {
position: "left", position: "left",
}, },
{ {
to: "https://github.com/kubevela/samples", href: "https://github.com/kubevela/samples",
label: "Examples", label: "Examples",
position: "left", position: "left",
}, },
@ -150,10 +151,6 @@ module.exports = {
prism: { prism: {
theme: require('prism-react-renderer/themes/dracula'), theme: require('prism-react-renderer/themes/dracula'),
}, },
gtag: {
trackingID: 'G-5GLR1Y52M7',
anonymizeIP: false,
},
zoom: { zoom: {
selector: '.markdown :not(em) > img', selector: '.markdown :not(em) > img',
config: { config: {
@ -178,6 +175,10 @@ module.exports = {
includeCurrentVersion: true, includeCurrentVersion: true,
remarkPlugins: [require('mdx-mermaid')], remarkPlugins: [require('mdx-mermaid')],
}, },
gtag: {
trackingID: 'G-5GLR1Y52M7',
anonymizeIP: false,
},
blog: { blog: {
blogSidebarTitle: "All posts", blogSidebarTitle: "All posts",
blogSidebarCount: "ALL", blogSidebarCount: "ALL",

View File

@ -1,5 +1,6 @@
--- ---
title: 插件管理 title: 插件管理
slug: /how-to/cli/addon/addon
--- ---
文档已迁移到[这里](../../../end-user/components/more)。 文档已迁移到[这里](../../../end-user/components/more)。

View File

@ -1,5 +1,6 @@
--- ---
title: 自定义工作流 title: 自定义工作流
slug: /platform-engineers/workflow/workflow
--- ---
## 总览 ## 总览

View File

@ -1,5 +1,6 @@
--- ---
title: 自定义工作流 title: 自定义工作流
slug: /platform-engineers/workflow/workflow
--- ---
## 总览 ## 总览

View File

@ -1,5 +1,6 @@
--- ---
title: 安装插件包 title: 安装插件包
slug: /how-to/cli/addon/addon
--- ---
你可以通过安装 KubeVela 的插件包Addon获取更多的系统功能。 你可以通过安装 KubeVela 的插件包Addon获取更多的系统功能。

View File

@ -1,5 +1,6 @@
--- ---
title: 自定义工作流 title: 自定义工作流
slug: /platform-engineers/workflow/workflow
--- ---
## 总览 ## 总览

View File

@ -1,5 +1,6 @@
--- ---
title: 插件管理 title: 插件管理
slug: /how-to/cli/addon/addon
--- ---
你可以通过安装 KubeVela 的插件Addon获取更多的系统功能。 你可以通过安装 KubeVela 的插件Addon获取更多的系统功能。

View File

@ -1,5 +1,6 @@
--- ---
title: 自定义工作流 title: 自定义工作流
slug: /platform-engineers/workflow/workflow
--- ---
## 总览 ## 总览

View File

@ -1,5 +1,6 @@
--- ---
title: 插件管理 title: 插件管理
slug: /how-to/cli/addon/addon
--- ---
文档已迁移到[这里](../../../end-user/components/more)。 文档已迁移到[这里](../../../end-user/components/more)。

View File

@ -1,5 +1,6 @@
--- ---
title: 自定义工作流 title: 自定义工作流
slug: /platform-engineers/workflow/workflow
--- ---
## 总览 ## 总览

View File

@ -5,21 +5,21 @@
"scripts": { "scripts": {
"docusaurus": "docusaurus", "docusaurus": "docusaurus",
"start": "docusaurus start", "start": "docusaurus start",
"build": "NODE_OPTIONS=\"--max-old-space-size=4096\" docusaurus build", "build": "docusaurus build",
"swizzle": "docusaurus swizzle", "swizzle": "docusaurus swizzle",
"deploy": "NODE_OPTIONS=\"--max-old-space-size=4096\" docusaurus deploy", "deploy": "docusaurus deploy",
"clear": "docusaurus clear", "clear": "docusaurus clear",
"serve": "docusaurus serve", "serve": "docusaurus serve",
"write-translations": "docusaurus write-translations", "write-translations": "docusaurus write-translations",
"write-heading-ids": "docusaurus write-heading-ids" "write-heading-ids": "docusaurus write-heading-ids"
}, },
"dependencies": { "dependencies": {
"@docusaurus/core": "2.0.0-alpha.75", "@docusaurus/core": "2.0.0-beta.21",
"@docusaurus/plugin-content-blog": "^2.0.0-alpha.75", "@docusaurus/plugin-content-blog": "2.0.0-beta.21",
"@docusaurus/plugin-content-docs": "^2.0.0-alpha.75", "@docusaurus/plugin-content-docs": "2.0.0-beta.21",
"@docusaurus/plugin-content-pages": "^2.0.0-alpha.75", "@docusaurus/plugin-content-pages": "2.0.0-beta.21",
"@docusaurus/plugin-sitemap": "^2.0.0-alpha.75", "@docusaurus/plugin-sitemap": "2.0.0-beta.21",
"@docusaurus/preset-classic": "2.0.0-alpha.75", "@docusaurus/preset-classic": "2.0.0-beta.21",
"@mdx-js/react": "^1.6.21", "@mdx-js/react": "^1.6.21",
"asciinema-player": "^2.6.1", "asciinema-player": "^2.6.1",
"clsx": "^1.1.1", "clsx": "^1.1.1",

View File

@ -1,5 +1,6 @@
--- ---
title: Designing Workflow Steps title: Designing Workflow Steps
slug: /platform-engineers/workflow/workflow
--- ---
## Overview ## Overview

View File

@ -1,5 +1,6 @@
--- ---
title: Install Addon title: Install Addon
slug: /how-to/cli/addon/addon
--- ---
You can get more capabilities from KubeVela ecosystem by installing addons. You can get more capabilities from KubeVela ecosystem by installing addons.

View File

@ -1,5 +1,6 @@
--- ---
title: Designing Workflow Steps title: Designing Workflow Steps
slug: /platform-engineers/workflow/workflow
--- ---
## Overview ## Overview

View File

@ -1,5 +1,6 @@
--- ---
title: Addon management title: Addon management
slug: /how-to/cli/addon/addon
--- ---
You can get more capabilities from KubeVela ecosystem by installing addons. You can get more capabilities from KubeVela ecosystem by installing addons.

View File

@ -150,4 +150,4 @@ Kubectl will discover it from your system path automatically.
</TabItem> </TabItem>
</Tabs> </Tabs>
For more usage please reference [kubectl plugin](../kubectlplugin). For more usage please reference kubectl plugin.

View File

@ -1,5 +1,6 @@
--- ---
title: Designing Workflow Steps title: Designing Workflow Steps
slug: /platform-engineers/workflow/workflow
--- ---
## Overview ## Overview

View File

@ -1,5 +1,6 @@
--- ---
title: Addon management title: Addon management
slug: /how-to/cli/addon/addon
--- ---
The docs are migrated to [user guide](../../../end-user/components/more). The docs are migrated to [user guide](../../../end-user/components/more).

View File

@ -1,5 +1,6 @@
--- ---
title: Workflow Step Definition title: Workflow Step Definition
slug: /platform-engineers/workflow/workflow
--- ---
## Overview ## Overview

7291
yarn.lock

File diff suppressed because it is too large Load Diff