diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index a86134d0..d2ee82f9 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -287,6 +287,7 @@ module.exports = { { hostname: "https://starship.rs" } - ] + ], + ['vuepress-plugin-code-copy', true] ] }; diff --git a/docs/package-lock.json b/docs/package-lock.json index b328f531..f7b9ba6b 100644 --- a/docs/package-lock.json +++ b/docs/package-lock.json @@ -7,6 +7,7 @@ "devDependencies": { "@vuepress/plugin-google-analytics": "^1.8.2", "vuepress": "^1.8.2", + "vuepress-plugin-code-copy": "^1.0.6", "vuepress-plugin-sitemap": "^2.3.1", "vuepress-theme-default-prefers-color-scheme": "^2.0.0" } @@ -11966,6 +11967,12 @@ "object.getownpropertydescriptors": "^2.0.3" } }, + "node_modules/vuepress-plugin-code-copy": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/vuepress-plugin-code-copy/-/vuepress-plugin-code-copy-1.0.6.tgz", + "integrity": "sha512-FiqwMtlb4rEsOI56O6sSkekcd3SlESxbkR2IaTIQxsMOMoalKfW5R9WlR1Pjm10v6jmU661Ex8MR11k9IzrNUg==", + "dev": true + }, "node_modules/vuepress-plugin-container": { "version": "2.1.5", "resolved": "https://registry.npmjs.org/vuepress-plugin-container/-/vuepress-plugin-container-2.1.5.tgz", @@ -23120,6 +23127,12 @@ } } }, + "vuepress-plugin-code-copy": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/vuepress-plugin-code-copy/-/vuepress-plugin-code-copy-1.0.6.tgz", + "integrity": "sha512-FiqwMtlb4rEsOI56O6sSkekcd3SlESxbkR2IaTIQxsMOMoalKfW5R9WlR1Pjm10v6jmU661Ex8MR11k9IzrNUg==", + "dev": true + }, "vuepress-plugin-container": { "version": "2.1.5", "resolved": "https://registry.npmjs.org/vuepress-plugin-container/-/vuepress-plugin-container-2.1.5.tgz", diff --git a/docs/package.json b/docs/package.json index 2c58adec..11bd083c 100644 --- a/docs/package.json +++ b/docs/package.json @@ -6,6 +6,7 @@ "devDependencies": { "@vuepress/plugin-google-analytics": "^1.8.2", "vuepress": "^1.8.2", + "vuepress-plugin-code-copy": "^1.0.6", "vuepress-plugin-sitemap": "^2.3.1", "vuepress-theme-default-prefers-color-scheme": "^2.0.0" }