Skip to content

Commit

Permalink
Merge pull request tecladocode#156 from tecladocode/jose/fix-js-deps
Browse files Browse the repository at this point in the history
📦️ dep-up(JS): Update JS dependencies for Docusaurus 3.2
  • Loading branch information
jslvtr authored Apr 4, 2024
2 parents a3b2d2f + 69a5e36 commit 2fd689b
Show file tree
Hide file tree
Showing 3 changed files with 8,725 additions and 21,286 deletions.
9 changes: 4 additions & 5 deletions docs/docusaurus.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// @ts-check
// Note: type annotations allow type checking and IDEs autocompletion

const lightCodeTheme = require("prism-react-renderer/themes/okaidia");
const darkCodeTheme = require("prism-react-renderer/themes/dracula");
import { Highlight, themes } from "prism-react-renderer";

/** @type {import('@docusaurus/types').Config} */
const config = {
Expand Down Expand Up @@ -145,11 +144,11 @@ const config = {
copyright: `Copyright © ${new Date().getFullYear()} Teclado Ltd. Built with Docusaurus.`,
},
prism: {
theme: lightCodeTheme,
darkTheme: darkCodeTheme,
theme: themes.okaidia,
darkTheme: themes.dracula,
additionalLanguages: ["docker"],
},
}),
};

module.exports = config;
export default config;
Loading

0 comments on commit 2fd689b

Please sign in to comment.