Skip to content

Docusaurus v3 Upgrade: Fix React key warning and update dependencies #550

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/aws_kms.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ The fields `access_key_id` & `secret_access_key` can be set in the environment v

## Importing a key into AWS

The Import command is not available for AWS as there is no support for asymmetric keys in AWS KMS. (Ref: <https://docs.aws.amazon.com/kms/latest/developerguide/importing-keys.html>)
The Import command is not available for AWS as there is no support for asymmetric keys in AWS KMS. (Ref: [importing-keys documentation](https://docs.aws.amazon.com/kms/latest/developerguide/importing-keys.html))

## Key generation in AWS

Expand Down
22 changes: 22 additions & 0 deletions website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,27 @@ module.exports = {
},
themes: ['@docusaurus/theme-mermaid'],
themeConfig: {
mermaid: {
theme: {
light: 'neutral',
dark: 'dark',
},
options: {
themeVariables: {
primaryColor: '#1168bd',
primaryTextColor: '#ffffff',
primaryBorderColor: '#7C0000',
lineColor: '#F8B229',
secondaryColor: '#666',
tertiaryColor: '#fff',
textColor: '#ffffff',
labelColor: '#ffffff',
actorTextColor: '#ffffff',
signalTextColor: '#ffffff',
noteTextColor: '#ffffff',
}
}
},
colorMode: {
defaultMode: 'light',
disableSwitch: true,
Expand Down Expand Up @@ -146,6 +167,7 @@ module.exports = {
require.resolve('./src/css/admonitions.scss'),
require.resolve('./src/css/codeBlock.scss'),
require.resolve('./src/css/tabs.scss'),
require.resolve('./src/css/mermaid.scss'),
],
},
},
Expand Down
23 changes: 23 additions & 0 deletions website/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
module.exports = [
{
ignores: ['build/**', 'node_modules/**'],
},
{
files: ['**/*.{js,jsx,mjs,cjs,ts,tsx}'],
languageOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
parserOptions: {
ecmaFeatures: {
jsx: true,
},
},
},
rules: {
// Basic rules
'no-console': 'warn',
'no-unused-vars': 'warn',
'prefer-const': 'warn',
},
},
];
Loading
Loading