Skip to content

Commit

Permalink
Merge pull request #62 from ching-kuo/upgrade_docusaurus
Browse files Browse the repository at this point in the history
Upgrade docusaurus to 3.0.1
  • Loading branch information
tico88612 authored Jan 23, 2024
2 parents b027913 + 461f90a commit c8bde69
Show file tree
Hide file tree
Showing 5 changed files with 3,883 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.1.0",
"@docusaurus/preset-classic": "^3.1.0",
"@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.1.0",
"@docusaurus/types": "^3.1.0",
"typescript": "^4.7.4"
},
"browserslist": {
Expand All @@ -42,6 +45,6 @@
]
},
"engines": {
"node": ">=16.14"
"node": ">=18.0"
}
}
Loading

0 comments on commit c8bde69

Please sign in to comment.