Skip to content

Commit

Permalink
Upgrade docusaurus to 3.0.1
Browse files Browse the repository at this point in the history
Upgrade docusaurus and related package with yarn upgrade command.
  • Loading branch information
ching-kuo committed Jan 4, 2024
1 parent 6750743 commit 92ba5f1
Show file tree
Hide file tree
Showing 5 changed files with 3,882 additions and 7,742 deletions.
2 changes: 1 addition & 1 deletion docs/self-paced-labs/kops/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ export KOPS_STATE_STORE=swift://kops

> **Note**
>
> 請替換指令中 <cluster_name> 跟 <ssh_key_path>
> 請替換指令中 `<cluster_name>``<ssh_key_path>`
```bash
kops create cluster \
Expand Down
4 changes: 2 additions & 2 deletions docs/tutorial-basics/create-vm.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
- Key Pair
- 選擇需要 Access VM 的 SSH Key。

建立 VM 後,會自動建立 <VM 名稱>.<專案名稱>.infra.cloudnative.tw 的 DNS record 指至此 VM。
建立 VM 後,會自動建立 `<VM 名稱>.<專案名稱>.infra.cloudnative.tw` 的 DNS record 指至此 VM。

預設登入帳號:

- Ubuntu: ubuntu
- Debian: debian
- Debian: debian
4 changes: 2 additions & 2 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// @ts-check
// Note: type annotations allow type checking and IDEs autocompletion

const lightCodeTheme = require('prism-react-renderer/themes/github');
const darkCodeTheme = require('prism-react-renderer/themes/dracula');
const lightCodeTheme = require('prism-react-renderer').themes.github;
const darkCodeTheme = require('prism-react-renderer').themes.dracula;

/** @type {import('@docusaurus/types').Config} */
const config = {
Expand Down
25 changes: 14 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,21 @@
"typecheck": "tsc"
},
"dependencies": {
"@docusaurus/core": "2.2.0",
"@docusaurus/preset-classic": "2.2.0",
"@mdx-js/react": "^1.6.22",
"clsx": "^1.2.1",
"docusaurus": "^1.14.7",
"prism-react-renderer": "^1.3.5",
"react": "^17.0.2",
"react-dom": "^17.0.2"
"@algolia/client-search": "^4.22.0",
"@docusaurus/core": "3.0.1",
"@docusaurus/preset-classic": "3.0.1",
"@mdx-js/react": "^3.0.0",
"@types/react": "^18.2.46",
"clsx": "^2.0.0",
"prism-react-renderer": "^2.3.0",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-loadable": "^5.5.0",
"search-insights": "^2.13.0"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "2.2.0",
"@tsconfig/docusaurus": "^1.0.5",
"@docusaurus/module-type-aliases": "3.0.1",
"@docusaurus/types": "3.0.1",
"typescript": "^4.7.4"
},
"browserslist": {
Expand All @@ -42,6 +45,6 @@
]
},
"engines": {
"node": ">=16.14"
"node": ">=18.0"
}
}
Loading

0 comments on commit 92ba5f1

Please sign in to comment.