Skip to content

Commit

Permalink
Fix dependencies (mermaidjs issue)
Browse files Browse the repository at this point in the history
  • Loading branch information
ApplebaumIan committed Feb 12, 2024
1 parent fb79fb0 commit ce8bfbc
Show file tree
Hide file tree
Showing 3 changed files with 218 additions and 234 deletions.
14 changes: 7 additions & 7 deletions documentation/docusaurus.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// @ts-check
// Note: type annotations allow type checking and IDEs autocompletion

const lightCodeTheme = require('prism-react-renderer/themes/github');
const darkCodeTheme = require('prism-react-renderer/themes/dracula');
// const lightCodeTheme = require('prism-react-renderer/themes/github');
// const darkCodeTheme = require('prism-react-renderer/themes/dracula');

/**
* The URL or reference to your projects logo!
Expand Down Expand Up @@ -33,7 +33,7 @@ const config = {
url: 'https://'+process.env.ORG_NAME+'.github.io/',
baseUrl: '/'+process.env.PROJECT_NAME+'/',
trailingSlash: false,
onBrokenLinks: 'throw',
onBrokenLinks: 'warn',
onBrokenMarkdownLinks: 'warn',
favicon: 'img/favicon.ico',

Expand Down Expand Up @@ -175,10 +175,10 @@ const config = {
],
copyright: `Copyright © ${new Date().getFullYear()} ${title}, Inc. Built with Docusaurus.`,
},
prism: {
theme: lightCodeTheme,
darkTheme: darkCodeTheme,
},
// prism: {
// theme: lightCodeTheme,
// darkTheme: darkCodeTheme,
// },
imageZoom: {
// CSS selector to apply the plugin to, defaults to '.markdown img'
selector: '.markdown img',
Expand Down
17 changes: 9 additions & 8 deletions documentation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,22 @@
},
"bin": "./.bin/bin.js",
"dependencies": {
"@docusaurus/core": "^3.1.0",
"@docusaurus/preset-classic": "^3.1.0",
"@docusaurus/theme-live-codeblock": "^3.1.0",
"@docusaurus/theme-mermaid": "^3.1.0",
"@mdx-js/react": "^3.0.1",
"clsx": "^2.1.0",
"@docusaurus/core": "3.1.1",
"@docusaurus/preset-classic": "3.1.1",
"@docusaurus/theme-live-codeblock": "^3.1.1",
"@docusaurus/theme-mermaid": "^3.1.1",
"@mdx-js/react": "^3.0.0",
"clsx": "^2.0.0",
"docusaurus2-dotenv-2": "^1.4.1",
"plugin-image-zoom": "flexanalytics/plugin-image-zoom",
"prism-react-renderer": "^1.3.3",
"prism-react-renderer": "^2.3.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"redocusaurus": "^1.3.0"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "^3.1.0"
"@docusaurus/module-type-aliases": "^3.1.1",
"@docusaurus/types": "3.1.1"
},
"browserslist": {
"production": [
Expand Down
Loading

0 comments on commit ce8bfbc

Please sign in to comment.