Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

📦 Upgrade to Docusaurus v3 #15

Merged
merged 7 commits into from
May 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Visit the CMS at [http://localhost:3000/admin](http://localhost:3000/admin) to s

## About

This website is built using [Docusaurus 2](https://docusaurus.io/) and [TinaCMS](https://tina.io/).
This website is built using [Docusaurus 3](https://docusaurus.io/) and [TinaCMS](https://tina.io/).

[Watch an overview of this project on YouTube](https://www.youtube.com/watch?v=2bHBwM54UB8).

Expand Down
4 changes: 2 additions & 2 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const docusaurusData = require("./config/docusaurus/index.json");

const lightCodeTheme = require("prism-react-renderer/themes/github");
const darkCodeTheme = require("prism-react-renderer/themes/dracula");
const lightCodeTheme = require("prism-react-renderer").themes.github;
const darkCodeTheme = require("prism-react-renderer").themes.dracula;

const getDocId = (doc) => {
return doc
Expand Down
Loading