diff --git a/docusaurus.config.js b/docusaurus.config.js index ab79c11..bf0826b 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -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', diff --git a/package.json b/package.json index adcd5be..d29aa2c 100644 --- a/package.json +++ b/package.json @@ -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",