Skip to content

Commit

Permalink
docusaurus v3 (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacoobes authored Mar 15, 2024
1 parent 71735a7 commit 2080610
Show file tree
Hide file tree
Showing 5 changed files with 24,627 additions and 11,440 deletions.
7 changes: 5 additions & 2 deletions docgen.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/nightOwlLight');
const darkCodeTheme = require('prism-react-renderer/themes/oceanicNext');
const lightCodeTheme = require('prism-react-renderer').themes.nightOwlLight;
const darkCodeTheme = require('prism-react-renderer').themes.oceanicNext;

/** @type {import('@docusaurus/types').Config} */
const config = {
Expand All @@ -27,6 +27,9 @@ const config = {
i18n: {
defaultLocale: 'en',
locales: ['en']
},
markdown: {
format: 'detect'
},
presets: [
[
Expand Down
8 changes: 5 additions & 3 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@

// WARNING: When changing things in this file, please also change them on the other docgen.docusaurus.config.js file!

const lightCodeTheme = require('prism-react-renderer/themes/nightOwlLight');
const darkCodeTheme = require('prism-react-renderer/themes/oceanicNext');

const lightCodeTheme = require('prism-react-renderer').themes.nightOwlLight;
const darkCodeTheme = require('prism-react-renderer').themes.oceanicNext;
/** @type {import('@docusaurus/types').Config} */
const config = {
title: 'sern - Handlers. Redefined.',
Expand All @@ -30,6 +29,9 @@ const config = {
defaultLocale: 'en',
locales: ['en']
},
markdown: {
format: 'detect'
},
presets: [
[
'classic',
Expand Down
Loading

0 comments on commit 2080610

Please sign in to comment.