Skip to content

Commit 3d7dfeb

Browse files
authored
Always add scala to additional languages (#187)
1 parent ab78fbc commit 3d7dfeb

File tree

7 files changed

+2229
-2218
lines changed

7 files changed

+2229
-2218
lines changed

.changeset/healthy-phones-chew.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'docusaurus-theme-redoc': patch
3+
---
4+
5+
Fix error due to missing prism language

.yarn/releases/yarn-3.2.0.cjs

-785
This file was deleted.

.yarn/releases/yarn-3.2.1.cjs

+786
Large diffs are not rendered by default.

.yarnrc.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ plugins:
88
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
99
spec: "@yarnpkg/plugin-interactive-tools"
1010

11-
yarnPath: .yarn/releases/yarn-3.2.0.cjs
11+
yarnPath: .yarn/releases/yarn-3.2.1.cjs

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,5 +79,5 @@
7979
"printWidth": 80,
8080
"tabWidth": 2
8181
},
82-
"packageManager": "yarn@3.2.0"
82+
"packageManager": "yarn@3.2.1"
8383
}

packages/docusaurus-theme-redoc/src/redocData.ts

+5
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ const getDefaultTheme = (
2121
main: primaryColor || '#25c2a0',
2222
},
2323
},
24+
theme: {
25+
prism: {
26+
additionalLanguages: ['scala'],
27+
},
28+
},
2429
},
2530
customTheme,
2631
);

yarn.lock

+1,431-1,431
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)