Skip to content

Conversation

@slorber
Copy link
Collaborator

@slorber slorber commented Sep 23, 2025

Motivation

This library is now useless (sindresorhus/copy-text-to-clipboard#35) since the clipboard API is now widely supported: https://caniuse.com/mdn-api_clipboard_writetext

Some Docusaurus sites have already switched and never looked back: hasura/ddn-docs#489

So this is reasonable to remove it entirely in the next minor, no need to wait for v4. If anyone complains, we can still restore it.

Also fix bug in the lib's latest version: #11414

Test Plan

CI + preview

Works fine in Chrome, Safari, Firefox

Test links

https://deploy-preview-11422--docusaurus-2.netlify.app/

@slorber slorber requested a review from Josh-Cena as a code owner September 23, 2025 10:26
@slorber slorber added the pr: bug fix This PR fixes a bug in a past release. label Sep 23, 2025
@meta-cla meta-cla bot added the CLA Signed Signed Facebook CLA label Sep 23, 2025
@slorber slorber linked an issue Sep 23, 2025 that may be closed by this pull request
7 tasks
@netlify
Copy link

netlify bot commented Sep 23, 2025

[V2]

Name Link
🔨 Latest commit dbe88fb
🔍 Latest deploy log https://app.netlify.com/projects/docusaurus-2/deploys/68d2792a51cd360008368067
😎 Deploy Preview https://deploy-preview-11422--docusaurus-2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions
Copy link

github-actions bot commented Sep 23, 2025

Size Change: +284 B (0%)

Total Size: 12.1 MB

ℹ️ View Unchanged
Filename Size Change
website/.docusaurus/codeTranslations.json 2 B 0 B
website/.docusaurus/docusaurus.config.mjs 28.8 kB 0 B
website/.docusaurus/globalData.json 37.2 kB 0 B
website/.docusaurus/i18n.json 1.36 kB 0 B
website/.docusaurus/registry.js 172 kB 0 B
website/.docusaurus/routes.js 85.3 kB 0 B
website/.docusaurus/routesChunkNames.json 89.4 kB 0 B
website/.docusaurus/site-metadata.json 2.54 kB 0 B
website/build/assets/css/styles.********.css 140 kB 0 B
website/build/assets/js/main.********.js 1.15 MB 0 B
website/build/assets/js/runtime~main.********.js 38.1 kB 0 B
website/build/blog.html 76.4 kB 0 B
website/build/blog/2017/12/14/introducing-docusaurus.html 64.9 kB 0 B
website/build/blog/2018/04/30/How-I-Converted-Profilo-To-Docusaurus.html 44.4 kB +12 B (+0.03%)
website/build/blog/2018/09/11/Towards-Docusaurus-2.html 48.8 kB 0 B
website/build/blog/2018/12/14/Happy-First-Birthday-Slash.html 28.9 kB 0 B
website/build/blog/2019/12/30/docusaurus-2019-recap.html 39.5 kB -1 B (0%)
website/build/blog/2020/01/07/tribute-to-endi.html 32.4 kB 0 B
website/build/blog/2021/01/19/docusaurus-2020-recap.html 50.4 kB 0 B
website/build/blog/2021/03/09/releasing-docusaurus-i18n.html 46.7 kB -1 B (0%)
website/build/blog/2021/05/12/announcing-docusaurus-two-beta.html 47.5 kB 0 B
website/build/blog/2021/11/21/algolia-docsearch-migration.html 53.8 kB +12 B (+0.02%)
website/build/blog/2022/01/24/docusaurus-2021-recap.html 42.7 kB 0 B
website/build/blog/2022/08/01/announcing-docusaurus-2.0.html 131 kB 0 B
website/build/blog/2022/09/01/docusaurus-2.1.html 49.9 kB -1 B (0%)
website/build/blog/archive.html 23.4 kB 0 B
website/build/blog/authors.html 50.1 kB 0 B
website/build/blog/authors/j-marcey.html 69.8 kB 0 B
website/build/blog/authors/josh-cena.html 46.5 kB 0 B
website/build/blog/authors/lex-111.html 55.3 kB 0 B
website/build/blog/authors/slorber.html 79.8 kB 0 B
website/build/blog/authors/slorber/authors/2.html 82.2 kB 0 B
website/build/blog/authors/slorber/authors/3.html 80.7 kB 0 B
website/build/blog/authors/slorber/authors/4.html 97.4 kB 0 B
website/build/blog/authors/yangshun.html 65.8 kB 0 B
website/build/blog/authors/zpao.html 47 kB 0 B
website/build/blog/page/2.html 79.1 kB 0 B
website/build/blog/page/3.html 77.7 kB 0 B
website/build/blog/page/4.html 88.5 kB 0 B
website/build/blog/page/5.html 53.5 kB 0 B
website/build/blog/page/6.html 34.3 kB 0 B
website/build/blog/preparing-your-site-for-docusaurus-v3.html 125 kB +4 B (0%)
website/build/blog/releases/2.2.html 49.8 kB 0 B
website/build/blog/releases/2.3.html 60.2 kB 0 B
website/build/blog/releases/2.4.html 63.7 kB 0 B
website/build/blog/releases/3.0.html 104 kB 0 B
website/build/blog/releases/3.1.html 52.8 kB +1 B (0%)
website/build/blog/releases/3.2.html 48.5 kB 0 B
website/build/blog/releases/3.3.html 55.6 kB 0 B
website/build/blog/releases/3.4.html 54.8 kB +7 B (+0.01%)
website/build/blog/releases/3.5.html 57.2 kB +1 B (0%)
website/build/blog/releases/3.6.html 75.2 kB +1 B (0%)
website/build/blog/releases/3.7.html 50.3 kB +1 B (0%)
website/build/blog/releases/3.8.html 84.4 kB 0 B
website/build/blog/tags.html 27.1 kB 0 B
website/build/blog/upgrading-frontend-dependencies-with-confidence-using-visual-regression-testing.html 122 kB 0 B
website/build/docs.html 47.7 kB 0 B
website/build/docs/advanced.html 30 kB 0 B
website/build/docs/advanced/architecture.html 29.5 kB +4 B (+0.01%)
website/build/docs/advanced/client.html 68.5 kB 0 B
website/build/docs/advanced/plugins.html 53.9 kB 0 B
website/build/docs/advanced/routing.html 68.9 kB +8 B (+0.01%)
website/build/docs/advanced/ssg.html 73.1 kB 0 B
website/build/docs/api/docusaurus-config.html 203 kB 0 B
website/build/docs/api/misc/@docusaurus/eslint-plugin.html 44 kB +4 B (+0.01%)
website/build/docs/api/misc/@docusaurus/eslint-plugin/no-html-links.html 35.6 kB 0 B
website/build/docs/api/misc/@docusaurus/eslint-plugin/no-untranslated-text.html 34.6 kB 0 B
website/build/docs/api/misc/@docusaurus/eslint-plugin/prefer-docusaurus-heading.html 35.8 kB +4 B (+0.01%)
website/build/docs/api/misc/@docusaurus/eslint-plugin/string-literal-i18n-messages.html 39.4 kB 0 B
website/build/docs/api/misc/@docusaurus/logger.html 37.8 kB 0 B
website/build/docs/api/misc/create-docusaurus.html 33 kB 0 B
website/build/docs/api/misc/docusaurus-init/index.html 361 B 0 B
website/build/docs/api/plugin-methods.html 64.2 kB +4 B (+0.01%)
website/build/docs/api/plugin-methods/extend-infrastructure.html 58.2 kB +4 B (+0.01%)
website/build/docs/api/plugin-methods/i18n-lifecycles.html 56.5 kB +4 B (+0.01%)
website/build/docs/api/plugin-methods/lifecycle-apis.html 158 kB 0 B
website/build/docs/api/plugin-methods/static-methods.html 43.9 kB +4 B (+0.01%)
website/build/docs/api/plugins.html 32.1 kB +4 B (+0.01%)
website/build/docs/api/plugins/@docusaurus/plugin-client-redirects.html 58.9 kB +13 B (+0.02%)
website/build/docs/api/plugins/@docusaurus/plugin-content-blog.html 182 kB +3 B (0%)
website/build/docs/api/plugins/@docusaurus/plugin-content-docs.html 188 kB +1 B (0%)
website/build/docs/api/plugins/@docusaurus/plugin-content-pages.html 73.3 kB 0 B
website/build/docs/api/plugins/@docusaurus/plugin-css-cascade-layers.html 46.6 kB 0 B
website/build/docs/api/plugins/@docusaurus/plugin-debug.html 47.3 kB +12 B (+0.03%)
website/build/docs/api/plugins/@docusaurus/plugin-google-analytics.html 48.8 kB +3 B (+0.01%)
website/build/docs/api/plugins/@docusaurus/plugin-google-gtag.html 48.3 kB -4 B (-0.01%)
website/build/docs/api/plugins/@docusaurus/plugin-google-tag-manager.html 47.2 kB 0 B
website/build/docs/api/plugins/@docusaurus/plugin-ideal-image.html 51 kB 0 B
website/build/docs/api/plugins/@docusaurus/plugin-pwa.html 115 kB +4 B (0%)
website/build/docs/api/plugins/@docusaurus/plugin-rsdoctor.html 40 kB 0 B
website/build/docs/api/plugins/@docusaurus/plugin-sitemap.html 64.6 kB +6 B (+0.01%)
website/build/docs/api/plugins/@docusaurus/plugin-svgr.html 45 kB 0 B
website/build/docs/api/plugins/@docusaurus/plugin-vercel-analytics.html 40.3 kB +12 B (+0.03%)
website/build/docs/api/themes.html 29.3 kB 0 B
website/build/docs/api/themes/@docusaurus/theme-classic.html 42.6 kB +4 B (+0.01%)
website/build/docs/api/themes/@docusaurus/theme-live-codeblock.html 35.8 kB +2 B (+0.01%)
website/build/docs/api/themes/@docusaurus/theme-mermaid.html 34.6 kB +4 B (+0.01%)
website/build/docs/api/themes/@docusaurus/theme-search-algolia.html 32.4 kB 0 B
website/build/docs/api/themes/configuration.html 246 kB 0 B
website/build/docs/blog.html 198 kB +3 B (0%)
website/build/docs/browser-support.html 46.8 kB 0 B
website/build/docs/category/getting-started.html 27 kB 0 B
website/build/docs/category/guides.html 35.6 kB 0 B
website/build/docs/cli.html 58.6 kB 0 B
website/build/docs/configuration.html 90.2 kB +7 B (+0.01%)
website/build/docs/create-doc.html 60.2 kB +3 B (0%)
website/build/docs/creating-pages.html 55.9 kB +1 B (0%)
website/build/docs/deployment.html 209 kB +6 B (0%)
website/build/docs/docs-introduction.html 49.6 kB 0 B
website/build/docs/docs-multi-instance.html 71.9 kB +4 B (+0.01%)
website/build/docs/docusaurus-core.html 219 kB 0 B
website/build/docs/guides/whats-next.html 32 kB 0 B
website/build/docs/i18n/crowdin.html 135 kB +12 B (+0.01%)
website/build/docs/i18n/git.html 75.7 kB +4 B (+0.01%)
website/build/docs/i18n/introduction.html 48 kB 0 B
website/build/docs/i18n/tutorial.html 162 kB 0 B
website/build/docs/installation.html 63 kB 0 B
website/build/docs/introduction/index.html 280 B 0 B
website/build/docs/markdown-features.html 78.4 kB 0 B
website/build/docs/markdown-features/admonitions.html 109 kB +4 B (0%)
website/build/docs/markdown-features/assets.html 84.9 kB +2 B (0%)
website/build/docs/markdown-features/code-blocks.html 215 kB +7 B (0%)
website/build/docs/markdown-features/diagrams.html 53.8 kB +9 B (+0.02%)
website/build/docs/markdown-features/head-metadata.html 50.2 kB 0 B
website/build/docs/markdown-features/links.html 40.2 kB +1 B (0%)
website/build/docs/markdown-features/math-equations.html 88.1 kB +4 B (0%)
website/build/docs/markdown-features/plugins.html 93.8 kB +8 B (+0.01%)
website/build/docs/markdown-features/react.html 130 kB 0 B
website/build/docs/markdown-features/tabs.html 137 kB 0 B
website/build/docs/markdown-features/toc.html 81.7 kB +4 B (0%)
website/build/docs/migration.html 38.1 kB +4 B (+0.01%)
website/build/docs/migration/v2.html 38.8 kB 0 B
website/build/docs/migration/v2/automated.html 39.2 kB 0 B
website/build/docs/migration/v2/manual.html 185 kB 0 B
website/build/docs/migration/v2/translated-sites.html 49.9 kB 0 B
website/build/docs/migration/v2/versioned-sites.html 59.1 kB +8 B (+0.01%)
website/build/docs/migration/v3.html 186 kB +2 B (0%)
website/build/docs/playground.html 31 kB 0 B
website/build/docs/resources/index.html 325 B 0 B
website/build/docs/search.html 120 kB +2 B (0%)
website/build/docs/seo.html 86.2 kB +13 B (+0.02%)
website/build/docs/sidebar.html 133 kB +1 B (0%)
website/build/docs/sidebar/autogenerated.html 142 kB +13 B (+0.01%)
website/build/docs/sidebar/items.html 170 kB +1 B (0%)
website/build/docs/sidebar/multiple-sidebars.html 60.8 kB +4 B (+0.01%)
website/build/docs/static-assets.html 50.8 kB +4 B (+0.01%)
website/build/docs/styling-layout.html 133 kB +1 B (0%)
website/build/docs/support/index.html 319 B 0 B
website/build/docs/swizzling.html 108 kB +14 B (+0.01%)
website/build/docs/team/index.html 310 B 0 B
website/build/docs/typescript-support.html 59 kB +4 B (+0.01%)
website/build/docs/using-plugins.html 104 kB 0 B
website/build/docs/versioning.html 89.6 kB -2 B (0%)
website/build/index.html 35.3 kB 0 B

compressed-size-action::DOCUSAURUS_INFRA_FASTER

@github-actions
Copy link

github-actions bot commented Sep 23, 2025

⚡️ Lighthouse report for the deploy preview of this PR

URL Performance Accessibility Best Practices SEO Report
/ 🟠 57 🟢 98 🟢 100 🟢 100 Report
/docs/installation 🟠 56 🟢 97 🟢 100 🟢 100 Report
/docs/category/getting-started 🟠 64 🟢 100 🟢 100 🟠 86 Report
/blog 🟠 55 🟢 96 🟢 100 🟠 86 Report
/blog/preparing-your-site-for-docusaurus-v3 🟠 54 🟢 92 🟢 100 🟢 100 Report
/blog/tags/release 🟠 55 🟢 96 🟢 100 🟠 86 Report
/blog/tags 🟠 64 🟢 100 🟢 100 🟠 86 Report

@github-actions
Copy link

github-actions bot commented Sep 23, 2025

Size Change: +274 B (0%)

Total Size: 12.5 MB

ℹ️ View Unchanged
Filename Size Change
website/.docusaurus/codeTranslations.json 2 B 0 B
website/.docusaurus/docusaurus.config.mjs 28.8 kB 0 B
website/.docusaurus/globalData.json 37.2 kB 0 B
website/.docusaurus/i18n.json 1.36 kB 0 B
website/.docusaurus/registry.js 172 kB 0 B
website/.docusaurus/routes.js 85.3 kB 0 B
website/.docusaurus/routesChunkNames.json 89.4 kB 0 B
website/.docusaurus/site-metadata.json 2.38 kB 0 B
website/build/assets/css/styles.********.css 133 kB 0 B
website/build/assets/js/main.********.js 1.17 MB 0 B
website/build/assets/js/runtime~main.********.js 38 kB 0 B
website/build/blog.html 79.1 kB 0 B
website/build/blog/2017/12/14/introducing-docusaurus.html 67 kB 0 B
website/build/blog/2018/04/30/How-I-Converted-Profilo-To-Docusaurus.html 46.3 kB +12 B (+0.03%)
website/build/blog/2018/09/11/Towards-Docusaurus-2.html 50.8 kB 0 B
website/build/blog/2018/12/14/Happy-First-Birthday-Slash.html 30.5 kB 0 B
website/build/blog/2019/12/30/docusaurus-2019-recap.html 41.4 kB -1 B (0%)
website/build/blog/2020/01/07/tribute-to-endi.html 34 kB 0 B
website/build/blog/2021/01/19/docusaurus-2020-recap.html 52.5 kB 0 B
website/build/blog/2021/03/09/releasing-docusaurus-i18n.html 48.8 kB -1 B (0%)
website/build/blog/2021/05/12/announcing-docusaurus-two-beta.html 49.6 kB 0 B
website/build/blog/2021/11/21/algolia-docsearch-migration.html 56.1 kB +12 B (+0.02%)
website/build/blog/2022/01/24/docusaurus-2021-recap.html 44.7 kB 0 B
website/build/blog/2022/08/01/announcing-docusaurus-2.0.html 136 kB 0 B
website/build/blog/2022/09/01/docusaurus-2.1.html 52.2 kB -1 B (0%)
website/build/blog/archive.html 24.8 kB 0 B
website/build/blog/authors.html 52.3 kB 0 B
website/build/blog/authors/j-marcey.html 72.5 kB 0 B
website/build/blog/authors/josh-cena.html 48.6 kB 0 B
website/build/blog/authors/lex-111.html 57.6 kB 0 B
website/build/blog/authors/slorber.html 82.7 kB 0 B
website/build/blog/authors/slorber/authors/2.html 85.1 kB 0 B
website/build/blog/authors/slorber/authors/3.html 83.6 kB 0 B
website/build/blog/authors/slorber/authors/4.html 101 kB 0 B
website/build/blog/authors/yangshun.html 68.4 kB 0 B
website/build/blog/authors/zpao.html 49.1 kB 0 B
website/build/blog/page/2.html 81.8 kB 0 B
website/build/blog/page/3.html 80.4 kB 0 B
website/build/blog/page/4.html 91.5 kB 0 B
website/build/blog/page/5.html 55.7 kB 0 B
website/build/blog/page/6.html 36 kB 0 B
website/build/blog/preparing-your-site-for-docusaurus-v3.html 129 kB -1 B (0%)
website/build/blog/releases/2.2.html 52.1 kB 0 B
website/build/blog/releases/2.3.html 62.7 kB 0 B
website/build/blog/releases/2.4.html 66.4 kB 0 B
website/build/blog/releases/3.0.html 108 kB 0 B
website/build/blog/releases/3.1.html 55 kB +1 B (0%)
website/build/blog/releases/3.2.html 50.7 kB 0 B
website/build/blog/releases/3.3.html 57.9 kB 0 B
website/build/blog/releases/3.4.html 57.1 kB +7 B (+0.01%)
website/build/blog/releases/3.5.html 59.6 kB +1 B (0%)
website/build/blog/releases/3.6.html 78.2 kB +1 B (0%)
website/build/blog/releases/3.7.html 52.6 kB +1 B (0%)
website/build/blog/releases/3.8.html 87.6 kB 0 B
website/build/blog/tags.html 28.8 kB 0 B
website/build/blog/upgrading-frontend-dependencies-with-confidence-using-visual-regression-testing.html 127 kB 0 B
website/build/docs.html 49.6 kB 0 B
website/build/docs/advanced.html 31.5 kB 0 B
website/build/docs/advanced/architecture.html 31 kB +4 B (+0.01%)
website/build/docs/advanced/client.html 71.3 kB 0 B
website/build/docs/advanced/plugins.html 56.1 kB 0 B
website/build/docs/advanced/routing.html 71.5 kB +8 B (+0.01%)
website/build/docs/advanced/ssg.html 76.2 kB 0 B
website/build/docs/api/docusaurus-config.html 211 kB 0 B
website/build/docs/api/misc/@docusaurus/eslint-plugin.html 46.3 kB +4 B (+0.01%)
website/build/docs/api/misc/@docusaurus/eslint-plugin/no-html-links.html 37.4 kB 0 B
website/build/docs/api/misc/@docusaurus/eslint-plugin/no-untranslated-text.html 36.3 kB 0 B
website/build/docs/api/misc/@docusaurus/eslint-plugin/prefer-docusaurus-heading.html 37.6 kB +4 B (+0.01%)
website/build/docs/api/misc/@docusaurus/eslint-plugin/string-literal-i18n-messages.html 41.3 kB 0 B
website/build/docs/api/misc/@docusaurus/logger.html 39.5 kB 0 B
website/build/docs/api/misc/create-docusaurus.html 34.6 kB 0 B
website/build/docs/api/misc/docusaurus-init/index.html 361 B 0 B
website/build/docs/api/plugin-methods.html 66.6 kB +4 B (+0.01%)
website/build/docs/api/plugin-methods/extend-infrastructure.html 60.5 kB +4 B (+0.01%)
website/build/docs/api/plugin-methods/i18n-lifecycles.html 58.7 kB +4 B (+0.01%)
website/build/docs/api/plugin-methods/lifecycle-apis.html 163 kB 0 B
website/build/docs/api/plugin-methods/static-methods.html 45.8 kB +4 B (+0.01%)
website/build/docs/api/plugins.html 33.8 kB +4 B (+0.01%)
website/build/docs/api/plugins/@docusaurus/plugin-client-redirects.html 61.6 kB +13 B (+0.02%)
website/build/docs/api/plugins/@docusaurus/plugin-content-blog.html 190 kB +3 B (0%)
website/build/docs/api/plugins/@docusaurus/plugin-content-docs.html 196 kB +1 B (0%)
website/build/docs/api/plugins/@docusaurus/plugin-content-pages.html 77 kB 0 B
website/build/docs/api/plugins/@docusaurus/plugin-css-cascade-layers.html 48.8 kB 0 B
website/build/docs/api/plugins/@docusaurus/plugin-debug.html 49.5 kB +12 B (+0.02%)
website/build/docs/api/plugins/@docusaurus/plugin-google-analytics.html 51.1 kB +3 B (+0.01%)
website/build/docs/api/plugins/@docusaurus/plugin-google-gtag.html 50.6 kB -4 B (-0.01%)
website/build/docs/api/plugins/@docusaurus/plugin-google-tag-manager.html 49.4 kB 0 B
website/build/docs/api/plugins/@docusaurus/plugin-ideal-image.html 53.5 kB 0 B
website/build/docs/api/plugins/@docusaurus/plugin-pwa.html 120 kB +4 B (0%)
website/build/docs/api/plugins/@docusaurus/plugin-rsdoctor.html 42 kB 0 B
website/build/docs/api/plugins/@docusaurus/plugin-sitemap.html 67.5 kB +6 B (+0.01%)
website/build/docs/api/plugins/@docusaurus/plugin-svgr.html 47.1 kB 0 B
website/build/docs/api/plugins/@docusaurus/plugin-vercel-analytics.html 42.4 kB +12 B (+0.03%)
website/build/docs/api/themes.html 30.8 kB 0 B
website/build/docs/api/themes/@docusaurus/theme-classic.html 44.6 kB +4 B (+0.01%)
website/build/docs/api/themes/@docusaurus/theme-live-codeblock.html 37.5 kB +2 B (+0.01%)
website/build/docs/api/themes/@docusaurus/theme-mermaid.html 36.3 kB +4 B (+0.01%)
website/build/docs/api/themes/@docusaurus/theme-search-algolia.html 34.1 kB 0 B
website/build/docs/api/themes/configuration.html 258 kB 0 B
website/build/docs/blog.html 204 kB +3 B (0%)
website/build/docs/browser-support.html 49.1 kB 0 B
website/build/docs/category/getting-started.html 28.4 kB 0 B
website/build/docs/category/guides.html 37.4 kB 0 B
website/build/docs/cli.html 62.1 kB 0 B
website/build/docs/configuration.html 93.7 kB +7 B (+0.01%)
website/build/docs/create-doc.html 62.7 kB +3 B (0%)
website/build/docs/creating-pages.html 58.3 kB +1 B (0%)
website/build/docs/deployment.html 216 kB +6 B (0%)
website/build/docs/docs-introduction.html 51.9 kB 0 B
website/build/docs/docs-multi-instance.html 75.2 kB +4 B (+0.01%)
website/build/docs/docusaurus-core.html 227 kB 0 B
website/build/docs/guides/whats-next.html 33.7 kB 0 B
website/build/docs/i18n/crowdin.html 141 kB +12 B (+0.01%)
website/build/docs/i18n/git.html 78.9 kB +4 B (+0.01%)
website/build/docs/i18n/introduction.html 50.2 kB 0 B
website/build/docs/i18n/tutorial.html 168 kB 0 B
website/build/docs/installation.html 65.7 kB 0 B
website/build/docs/introduction/index.html 280 B 0 B
website/build/docs/markdown-features.html 81.3 kB 0 B
website/build/docs/markdown-features/admonitions.html 113 kB +4 B (0%)
website/build/docs/markdown-features/assets.html 88.9 kB +2 B (0%)
website/build/docs/markdown-features/code-blocks.html 223 kB +7 B (0%)
website/build/docs/markdown-features/diagrams.html 56.3 kB +9 B (+0.02%)
website/build/docs/markdown-features/head-metadata.html 52.6 kB 0 B
website/build/docs/markdown-features/links.html 42.3 kB +1 B (0%)
website/build/docs/markdown-features/math-equations.html 92 kB +4 B (0%)
website/build/docs/markdown-features/plugins.html 97.4 kB +8 B (+0.01%)
website/build/docs/markdown-features/react.html 136 kB 0 B
website/build/docs/markdown-features/tabs.html 143 kB 0 B
website/build/docs/markdown-features/toc.html 85.2 kB +4 B (0%)
website/build/docs/migration.html 40.1 kB -1 B (0%)
website/build/docs/migration/v2.html 40.6 kB 0 B
website/build/docs/migration/v2/automated.html 41.2 kB 0 B
website/build/docs/migration/v2/manual.html 192 kB 0 B
website/build/docs/migration/v2/translated-sites.html 52.2 kB 0 B
website/build/docs/migration/v2/versioned-sites.html 61.4 kB +8 B (+0.01%)
website/build/docs/migration/v3.html 193 kB +2 B (0%)
website/build/docs/playground.html 32.5 kB 0 B
website/build/docs/resources/index.html 325 B 0 B
website/build/docs/search.html 124 kB +2 B (0%)
website/build/docs/seo.html 90 kB +13 B (+0.01%)
website/build/docs/sidebar.html 139 kB +1 B (0%)
website/build/docs/sidebar/autogenerated.html 147 kB +13 B (+0.01%)
website/build/docs/sidebar/items.html 177 kB +1 B (0%)
website/build/docs/sidebar/multiple-sidebars.html 63.7 kB +4 B (+0.01%)
website/build/docs/static-assets.html 53.2 kB +4 B (+0.01%)
website/build/docs/styling-layout.html 138 kB +1 B (0%)
website/build/docs/support/index.html 319 B 0 B
website/build/docs/swizzling.html 113 kB +14 B (+0.01%)
website/build/docs/team/index.html 310 B 0 B
website/build/docs/typescript-support.html 61.5 kB +4 B (+0.01%)
website/build/docs/using-plugins.html 108 kB 0 B
website/build/docs/versioning.html 93.4 kB -2 B (0%)
website/build/index.html 36.9 kB 0 B

compressed-size-action::DOCUSAURUS_INFRA_SLOWER

@slorber slorber merged commit 4dc0576 into main Sep 23, 2025
42 checks passed
@slorber slorber deleted the slorer/fix-copy-button-bug branch September 23, 2025 10:52
CristianLara added a commit to CristianLara/botorch that referenced this pull request Sep 23, 2025
Summary:
We recently noticed that the copy feature on our website codeblocks were excluding indentation.  There's a github issue on the docusaurus repo tracking this facebook/docusaurus#11414 with a fix that was just merged today facebook/docusaurus#11422.

To avoid waiting until their next release we have two options:

1. update our website package.json to use a docusaurus canary until they release 3.9

2. swizzle the relevant docusaurus code and fix it ourselves using their
well documented api. There's an example of another project replacing this same logic that we can use. Though it will become unnecessary once docusaurus 3.9 releases

We're going with option (1) here and upgrading Docusaurus to version 3.8.1-canary-6401 across Ax and BoTorch. The docusaurus team releases canaries regularly and are what they use to build their website. https://docusaurus.io/community/canary

Differential Revision: D83068096
CristianLara added a commit to CristianLara/Ax that referenced this pull request Sep 23, 2025
Summary:
We recently noticed that the copy feature on our website codeblocks were excluding indentation.  There's a github issue on the docusaurus repo tracking this facebook/docusaurus#11414 with a fix that was just merged today facebook/docusaurus#11422.

To avoid waiting until their next release we have two options:

1. update our website package.json to use a docusaurus canary until they release 3.9

2. swizzle the relevant docusaurus code and fix it ourselves using their
well documented api. There's an example of another project replacing this same logic that we can use. Though it will become unnecessary once docusaurus 3.9 releases

We're going with option (1) here and upgrading Docusaurus to version 3.8.1-canary-6401 across Ax and BoTorch. The docusaurus team releases canaries regularly and are what they use to build their website. https://docusaurus.io/community/canary

Differential Revision: D83068096
facebook-github-bot pushed a commit to facebook/Ax that referenced this pull request Sep 23, 2025
Summary:
X-link: meta-pytorch/botorch#3021

Pull Request resolved: #4340

We recently noticed that the copy feature on our website codeblocks were excluding indentation.  There's a github issue on the docusaurus repo tracking this facebook/docusaurus#11414 with a fix that was just merged today facebook/docusaurus#11422.

To avoid waiting until their next release we have two options:

1. update our website package.json to use a docusaurus canary until they release 3.9

2. swizzle the relevant docusaurus code and fix it ourselves using their
well documented api. There's an example of another project replacing this same logic that we can use. Though it will become unnecessary once docusaurus 3.9 releases

We're going with option (1) here and upgrading Docusaurus to version 3.8.1-canary-6401 across Ax and BoTorch. The docusaurus team releases canaries regularly and are what they use to build their website. https://docusaurus.io/community/canary

Reviewed By: mpolson64

Differential Revision: D83068096

fbshipit-source-id: d88084af7f58803d798e7f4348e028053e1f3012
facebook-github-bot pushed a commit to meta-pytorch/botorch that referenced this pull request Sep 23, 2025
Summary:
Pull Request resolved: #3021

X-link: facebook/Ax#4340

We recently noticed that the copy feature on our website codeblocks were excluding indentation.  There's a github issue on the docusaurus repo tracking this facebook/docusaurus#11414 with a fix that was just merged today facebook/docusaurus#11422.

To avoid waiting until their next release we have two options:

1. update our website package.json to use a docusaurus canary until they release 3.9

2. swizzle the relevant docusaurus code and fix it ourselves using their
well documented api. There's an example of another project replacing this same logic that we can use. Though it will become unnecessary once docusaurus 3.9 releases

We're going with option (1) here and upgrading Docusaurus to version 3.8.1-canary-6401 across Ax and BoTorch. The docusaurus team releases canaries regularly and are what they use to build their website. https://docusaurus.io/community/canary

Reviewed By: mpolson64

Differential Revision: D83068096

fbshipit-source-id: d88084af7f58803d798e7f4348e028053e1f3012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed Signed Facebook CLA pr: bug fix This PR fixes a bug in a past release.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CodeBlock's copy button loses indentation

2 participants