Skip to content

Commit

Permalink
Merge pull request #504 from trilitech/docusaurus-370
Browse files Browse the repository at this point in the history
Dependencies for Docusaurus 3.7.0
  • Loading branch information
timothymcmackin authored Jan 16, 2025
2 parents 781d6d8 + 25170ad commit f696ac2
Show file tree
Hide file tree
Showing 3 changed files with 5,777 additions and 2,949 deletions.
4 changes: 3 additions & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// @ts-nocheck
// Note: type annotations allow type checking and IDEs autocompletion

const { themes } = require('prism-react-renderer');

// script-src causes development builds to fail
// But unsafe-eval should NOT be in production builds
// Also, put GTM first because sometimes the ';' in the escaped single quotes causes the browser to think it's the end
Expand Down Expand Up @@ -125,7 +127,7 @@ module.exports = async function createConfigAsync() {
],
},
prism: {
theme: require('prism-react-renderer/themes/github'),
theme: themes.github,
additionalLanguages: ['csharp', 'toml', 'ocaml'],
},
// https://github.com/flexanalytics/plugin-image-zoom
Expand Down
Loading

0 comments on commit f696ac2

Please sign in to comment.