From 62b3c28694f221b77a0e9074cb2802e24a598969 Mon Sep 17 00:00:00 2001 From: srdtrk Date: Thu, 29 Feb 2024 15:48:30 +0700 Subject: [PATCH 1/2] docs(deps): ran 'npm install docusaurus-pushfeedback' --- docs/package-lock.json | 9 +++++++++ docs/package.json | 1 + 2 files changed, 10 insertions(+) diff --git a/docs/package-lock.json b/docs/package-lock.json index 10cd7acaa03..6a18c6c6e7d 100644 --- a/docs/package-lock.json +++ b/docs/package-lock.json @@ -19,6 +19,7 @@ "@mdx-js/react": "^3.0.0", "autoprefixer": "^10.4.16", "clsx": "^2.1.0", + "docusaurus-pushfeedback": "^1.0.0", "docusaurus-theme-github-codeblock": "^2.0.1", "postcss": "^8.4.32", "postcss-import": "^16.0.0", @@ -6022,6 +6023,14 @@ "node": ">=6" } }, + "node_modules/docusaurus-pushfeedback": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/docusaurus-pushfeedback/-/docusaurus-pushfeedback-1.0.0.tgz", + "integrity": "sha512-caf9C8bRpGhzd7foJ0WqSLTSZonPgAFLPEN0U+lKYpiFLVJOHnEK3gOn26kibhhqrVx7FrF2fRBHLO5kJbnkhg==", + "peerDependencies": { + "@docusaurus/core": "3.x" + } + }, "node_modules/docusaurus-theme-github-codeblock": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/docusaurus-theme-github-codeblock/-/docusaurus-theme-github-codeblock-2.0.1.tgz", diff --git a/docs/package.json b/docs/package.json index 85f9307e659..fe5f9616287 100644 --- a/docs/package.json +++ b/docs/package.json @@ -26,6 +26,7 @@ "@mdx-js/react": "^3.0.0", "autoprefixer": "^10.4.16", "clsx": "^2.1.0", + "docusaurus-pushfeedback": "^1.0.0", "docusaurus-theme-github-codeblock": "^2.0.1", "postcss": "^8.4.32", "postcss-import": "^16.0.0", From 6bb940b4c921c17b169de634aba6db03a9531e5d Mon Sep 17 00:00:00 2001 From: srdtrk Date: Thu, 29 Feb 2024 16:07:12 +0700 Subject: [PATCH 2/2] docs: added feedback --- docs/docusaurus.config.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js index b1adb0ba977..0ff15209400 100644 --- a/docs/docusaurus.config.js +++ b/docs/docusaurus.config.js @@ -257,6 +257,14 @@ const config = { }), themes: ["docusaurus-theme-github-codeblock"], plugins: [ + [ + 'docusaurus-pushfeedback',{ + project: 'ewpg8ls3n5', + buttonPosition: 'center-right', + modalPosition: 'sidebar-right', + buttonStyle: 'dark', + } + ], [ "@docusaurus/plugin-content-docs", {