Skip to content

Commit

Permalink
Bump Docusaurus to 3.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin-lee committed Mar 8, 2024
1 parent ab06c0b commit 92f4bc0
Show file tree
Hide file tree
Showing 3 changed files with 7,763 additions and 14,533 deletions.
9 changes: 7 additions & 2 deletions website/docusaurus.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
import {themes as prismThemes} from 'prism-react-renderer';

const algoliaConfig = require('./algolia.config.json');
const googleAnalyticsConfig = require('./google-analytics.config.json');

const lightCodeTheme = prismThemes.nightOwlLight;
const darkCodeTheme = prismThemes.nightOwl;

const isEmptyObject = obj => {
for (field in obj) return false;
return true;
Expand All @@ -20,8 +25,8 @@ const websiteConfig = {
projectName: 'sbt-github-pages', // Usually your repo name.
themeConfig: {
prism: {
theme: require('prism-react-renderer/themes/nightOwl'),
darkTheme: require('prism-react-renderer/themes/nightOwl'),
theme: lightCodeTheme,
darkTheme: darkCodeTheme,
additionalLanguages: ['java', 'scala'],
},
navbar: {
Expand Down
Loading

0 comments on commit 92f4bc0

Please sign in to comment.