Skip to content

Commit

Permalink
upgrade docusaurus
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardo-devis-agullo committed May 4, 2024
1 parent 395c1fe commit 9b52134
Show file tree
Hide file tree
Showing 4 changed files with 11,871 additions and 7,645 deletions.
2 changes: 1 addition & 1 deletion website/docs/components/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export const data = (context, callback) => {
};
```

[Advanced server.js operations](The-server.js).
[Advanced server.js operations](the-server.js).

# Editing, debugging, testing

Expand Down
11 changes: 6 additions & 5 deletions website/docusaurus.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
// @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 lightCodeTheme = themes.github;
const darkCodeTheme = themes.dracula;

/** @type {import('@docusaurus/types').Config} */
const config = {
Expand Down Expand Up @@ -101,10 +102,10 @@ const config = {
darkTheme: darkCodeTheme,
},
algolia: {
appId: 'YKTLKDBBGV',
appId: "YKTLKDBBGV",
// Public API key: it is safe to commit it
apiKey: 'b75f1257f754f7f15e79a16b81bef105',
indexName: 'opencomponents'
apiKey: "b75f1257f754f7f15e79a16b81bef105",
indexName: "opencomponents",
},
}),
};
Expand Down
Loading

0 comments on commit 9b52134

Please sign in to comment.