Skip to content

Commit

Permalink
Always add scala to additional languages (#187)
Browse files Browse the repository at this point in the history
  • Loading branch information
rohit-gohri authored May 31, 2022
1 parent ab78fbc commit 3d7dfeb
Show file tree
Hide file tree
Showing 7 changed files with 2,229 additions and 2,218 deletions.
5 changes: 5 additions & 0 deletions .changeset/healthy-phones-chew.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'docusaurus-theme-redoc': patch
---

Fix error due to missing prism language
785 changes: 0 additions & 785 deletions .yarn/releases/yarn-3.2.0.cjs

This file was deleted.

786 changes: 786 additions & 0 deletions .yarn/releases/yarn-3.2.1.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ plugins:
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
spec: "@yarnpkg/plugin-interactive-tools"

yarnPath: .yarn/releases/yarn-3.2.0.cjs
yarnPath: .yarn/releases/yarn-3.2.1.cjs
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,5 +79,5 @@
"printWidth": 80,
"tabWidth": 2
},
"packageManager": "[email protected].0"
"packageManager": "[email protected].1"
}
5 changes: 5 additions & 0 deletions packages/docusaurus-theme-redoc/src/redocData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ const getDefaultTheme = (
main: primaryColor || '#25c2a0',
},
},
theme: {
prism: {
additionalLanguages: ['scala'],
},
},
},
customTheme,
);
Expand Down
2,862 changes: 1,431 additions & 1,431 deletions yarn.lock

Large diffs are not rendered by default.

1 comment on commit 3d7dfeb

@vercel
Copy link

@vercel vercel bot commented on 3d7dfeb May 31, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.