Skip to content

Commit

Permalink
Add plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
jlvandenhout committed Feb 25, 2022
1 parent 36e83cd commit bd6a676
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,16 @@ const config = {
organizationName: 'jlvandenhout', // Usually your GitHub org/user name.
projectName: 'docusaurus-plugin-docs-editor-preview', // Usually your repo name.

plugins: [
[
'@jlvandenhout/docusaurus-plugin-docs-editor',
{
authorizationClientId: process.env.OAUTH_CLIENT_ID,
authorizationTokenUrl: process.env.OAUTH_TOKEN_URL,
},
],
],

presets: [
[
'classic',
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"dependencies": {
"@docusaurus/core": "2.0.0-beta.16",
"@docusaurus/preset-classic": "2.0.0-beta.16",
"@jlvandenhout/docusaurus-plugin-docs-editor": "workspace:^",
"@mdx-js/react": "^1.6.22",
"clsx": "^1.1.1",
"prism-react-renderer": "^1.2.1",
Expand Down

0 comments on commit bd6a676

Please sign in to comment.