Skip to content

Commit 6c71f85

Browse files
authored
Merge pull request #18 from aws-samples/upgrade-website
Upgrade Docusaurus to version 3.0
2 parents 3d716cb + b864c20 commit 6c71f85

File tree

4 files changed

+4710
-2493
lines changed

4 files changed

+4710
-2493
lines changed

docs/setup-cloud9.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ npm install -g aws-cdk
102102
cdk --version
103103
```
104104

105-
Install Session Manager plugin for AWS CLI <https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager-working-with-install-plugin.html>
105+
Install [Session Manager plugin for AWS CLI](https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager-working-with-install-plugin.html)
106106

107107
```bash
108108
curl "https://s3.amazonaws.com/session-manager-downloads/plugin/latest/linux_64bit/session-manager-plugin.rpm" -o "session-manager-plugin.rpm"

website/docusaurus.config.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
// @ts-check
22
// Note: type annotations allow type checking and IDEs autocompletion
33

4-
const lightCodeTheme = require('prism-react-renderer/themes/github');
5-
const darkCodeTheme = require('prism-react-renderer/themes/dracula');
4+
const {themes} = require('prism-react-renderer');
5+
const lightCodeTheme = themes.github;
6+
const darkCodeTheme = themes.dracula;
67

78
/** @type {import('@docusaurus/types').Config} */
89
const config = {
@@ -109,6 +110,7 @@ const config = {
109110
prism: {
110111
theme: lightCodeTheme,
111112
darkTheme: darkCodeTheme,
113+
additionalLanguages: ['bash', 'diff', 'json'],
112114
},
113115
}),
114116
};

0 commit comments

Comments
 (0)