Skip to content

Commit

Permalink
Merge pull request #569 from toonvanstrijp/fix/docs
Browse files Browse the repository at this point in the history
  • Loading branch information
rubiin committed Sep 20, 2023
2 parents 8a46b18 + aec318a commit 7f0d0a2
Show file tree
Hide file tree
Showing 3 changed files with 2,424 additions and 17,113 deletions.
12 changes: 5 additions & 7 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
/* eslint-disable @typescript-eslint/no-var-requires */
// @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');

/** @type {import('@docusaurus/types').Config} */
const config = {
title: 'nestjs-i18n',
Expand Down Expand Up @@ -55,6 +53,10 @@ const config = {
},
],
},
prism: {
darkTheme: require('prism-react-renderer/themes/dracula'),
theme: require('prism-react-renderer/themes/github'),
},
footer: {
style: 'dark',
logo: {
Expand All @@ -75,10 +77,6 @@ const config = {
},
],
},
prism: {
theme: lightCodeTheme,
darkTheme: darkCodeTheme,
},
algolia: {
appId: 'OY3TO41FL5',
apiKey: '5386b9f525ec76279a8fdf64c38ab950',
Expand Down
Loading

0 comments on commit 7f0d0a2

Please sign in to comment.