Skip to content

Commit

Permalink
Merge branch 'neoforged:main' into docusaurus-frontmatter
Browse files Browse the repository at this point in the history
  • Loading branch information
Mysterious-Dev authored Nov 24, 2023
2 parents 1564b42 + d7d7f72 commit 3f1bf8c
Show file tree
Hide file tree
Showing 3 changed files with 14,087 additions and 10,609 deletions.
10 changes: 5 additions & 5 deletions 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 {themes} = require('prism-react-renderer');
const lightTheme = themes.github;
const darkTheme = themes.dracula;

/** @type {import('@docusaurus/types').Config} */
const config = {
Expand Down Expand Up @@ -171,8 +171,8 @@ const config = {
copyright: `Copyright © 2016, under the MIT license. Built with Docusaurus.`,
},
prism: {
theme: lightCodeTheme,
darkTheme: darkCodeTheme,
theme: lightTheme,
darkTheme: darkTheme,
additionalLanguages: ["java", "gradle", "toml", "groovy", "kotlin"],
},
algolia: {
Expand Down
Loading

1 comment on commit 3f1bf8c

@neoforged-pages-deployments
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deploying with Cloudflare Pages

Name Result
Last commit: 3f1bf8c1e3ebed54753ecb3ca5269206513e8b4d
Status: ✅ Deploy successful!
Preview URL: https://7413a5f1.neoforged-docs-previews.pages.dev
PR Preview URL: https://pr-9.neoforged-docs-previews.pages.dev

Please sign in to comment.