Skip to content

fix(theme-classic): don't render an empty class attribute on MDX links - #13087

Merged
slorber merged 1 commit into
mainfrom
fix/mdx-a-empty-class
Nov 19, 2026
Merged

slorber merged 1 commit into
mainfrom
fix/mdx-a-empty-class

Conversation

@slorber

@slorber slorber commented Nov 19, 2026 •

Copy link
Copy Markdown
Collaborator

Motivation

The MDX A theme component always passes a clsx() result as className. Without an anchor target class and a user class, clsx() returns "", so every MDX link renders an empty class="" attribute:

<a href="https://developer.mozilla.org/..." target="_blank" rel="noopener noreferrer" class="">

It only passes a className when it isn't empty.

Test Plan

Website build (BUILD_FAST=true docusaurus build --locale en), before and after this PR:

  • <a … class="">: 11341 → 0
  • Links with an anchor target class (footnotes): 68 → 68
  • Links with a non-empty class: 50509 → 50509
  • CSS files: byte-identical

Expect Argos text-snapshot (HTML) diffs on most pages, but no screenshot diff.

Follow-ups

The same clsx() → class="" pattern remains on other commonly rendered elements, for stacked PRs:

  • MDXComponents/Li: every Markdown list item (~10000 <li class="">). It also passes className before {...props}, so a props.className overrides the anchor target class.
  • NavbarItem/HtmlNavbarItem: the HTML items of desktop navbar dropdowns, like the <hr> separators of the version dropdown.
  • BlogPostItem: <article class=""> on blog post pages.

Test links

Deploy preview: https://deploy-preview-13087--docusaurus-2.netlify.app/

Related issues/PRs

Introduced by #11289 and #11466

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Bug Fixes
    • Links in MDX content now retain both anchor-target styling and caller-provided styling. Empty class values are omitted, improving consistency when rendering links.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@slorber
slorber requested a review from Josh-Cena as a code owner November 19, 2026 15:05
@slorber slorber added pr: polish This PR adds a very minor behavior improvement that users will enjoy. Argos Add this label to run UI visual regression tests. See argos.yml GH action. labels Nov 19, 2026
@meta-cla meta-cla Bot added the CLA Signed Signed Facebook CLA label Nov 19, 2026
@coderabbitai

coderabbitai Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

MDXA now combines the anchor-target and caller-provided classes before rendering. It passes undefined to Link when the combined class name is empty.

Changes: MDX anchor rendering

Layer / File(s) Summary
Combine anchor classes
packages/docusaurus-theme-classic/src/theme/MDXComponents/A/index.tsx
MDXA combines the anchor-target and caller-provided classes. It passes undefined to Link when the result is empty.

Estimated code review effort: 2 (Simple) | ~8 minutes

Change: Bug fix

Merge Risk: Minimal · up to 82bbf

This change stops MDX links from rendering an empty class attribute. Link behavior for anchors with classes is unchanged, and no actionable merge risk remains.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title says the PR stops MDX links from rendering an empty class attribute. The raw summary confirms that MDXA now combines the anchor-target and caller classes and passes undefined when the result…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Full details: Title check

Explanation

The title says the PR stops MDX links from rendering an empty class attribute. The raw summary confirms that MDXA now combines the anchor-target and caller classes and passes undefined when the result is empty, so the change matches the title. The title uses the conventional fix(scope) form and names the affected theme and element. It is specific and concise, and it does not cover the follow-up components, which the objectives list as out of scope.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 183f0c83-5595-4dcf-9cb3-42ae06790a5e
Commits

Reviewing files that changed from the base of the PR and between c880050 and 82bbfa7.

Files selected for processing: 1

  • packages/docusaurus-theme-classic/src/theme/MDXComponents/A/index.tsx

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 4 remain after this review.

@netlify

netlify Bot commented Nov 19, 2026

Copy link
Copy Markdown

✅ [V2]

Name Link
🔨 Latest commit 82bbfa7
🔍 Latest deploy log https://app.netlify.com/projects/docusaurus-2/deploys/6aff104079f871cc103504b5
😎 Deploy Preview https://deploy-preview-13087--docusaurus-2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

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

@github-actions

Copy link
Copy Markdown

Size Change: -18.6 kB (-0.15%)

Total Size: 12.1 MB

📦 View Changed
Filename Size Change
website/build/blog.html 79.1 kB -99 B (-0.13%)
website/build/blog/2017/12/14/introducing-docusaurus.html 67.1 kB -359 B (-0.53%)
website/build/blog/2018/04/30/How-I-Converted-Profilo-To-Docusaurus.html 46.3 kB -125 B (-0.27%)
website/build/blog/2018/09/11/Towards-Docusaurus-2.html 50.7 kB -300 B (-0.59%)
website/build/blog/2018/12/14/Happy-First-Birthday-Slash.html 30.4 kB -71 B (-0.23%)
website/build/blog/2019/12/30/docusaurus-2019-recap.html 41.4 kB -197 B (-0.47%)
website/build/blog/2020/01/07/tribute-to-endi.html 33.9 kB -71 B (-0.21%)
website/build/blog/2021/01/19/docusaurus-2020-recap.html 52.7 kB -413 B (-0.78%)
website/build/blog/2021/03/09/releasing-docusaurus-i18n.html 48.7 kB -278 B (-0.57%)
website/build/blog/2021/05/12/announcing-docusaurus-two-beta.html 49.4 kB -197 B (-0.4%)
website/build/blog/2021/11/21/algolia-docsearch-migration.html 55.8 kB -134 B (-0.24%)
website/build/blog/2022/01/24/docusaurus-2021-recap.html 44.5 kB -260 B (-0.58%)
website/build/blog/2022/08/01/announcing-docusaurus-2.0.html 136 kB -665 B (-0.49%)
website/build/blog/2022/09/01/docusaurus-2.1.html 52 kB -80 B (-0.15%)
website/build/blog/authors/j-marcey.html 72.2 kB -99 B (-0.14%)
website/build/blog/authors/josh-cena.html 48.4 kB -63 B (-0.13%)
website/build/blog/authors/lex-111.html 57.4 kB -45 B (-0.08%)
website/build/blog/authors/slorber.html 82.9 kB -99 B (-0.12%)
website/build/blog/authors/slorber/page/2.html 82.2 kB -90 B (-0.11%)
website/build/blog/authors/slorber/page/3.html 85.7 kB -135 B (-0.16%)
website/build/blog/authors/slorber/page/4.html 98.5 kB -90 B (-0.09%)
website/build/blog/authors/slorber/page/5.html 54.9 kB -108 B (-0.2%)
website/build/blog/authors/yangshun.html 68.2 kB -63 B (-0.09%)
website/build/blog/authors/zpao.html 48.9 kB -36 B (-0.07%)
website/build/blog/page/2.html 78.3 kB -90 B (-0.11%)
website/build/blog/page/3.html 82.7 kB -135 B (-0.16%)
website/build/blog/page/4.html 87.2 kB -108 B (-0.12%)
website/build/blog/page/5.html 74.5 kB -153 B (-0.2%)
website/build/blog/page/6.html 42 kB -126 B (-0.3%)
website/build/blog/preparing-your-site-for-docusaurus-v3.html 129 kB -512 B (-0.39%)
website/build/blog/releases/2.2.html 52 kB -233 B (-0.45%)
website/build/blog/releases/2.3.html 62.6 kB -243 B (-0.39%)
website/build/blog/releases/2.4.html 66.4 kB -242 B (-0.36%)
website/build/blog/releases/3.0.html 109 kB -566 B (-0.52%)
website/build/blog/releases/3.1.html 54.8 kB -125 B (-0.23%)
website/build/blog/releases/3.2.html 50.6 kB -161 B (-0.32%)
website/build/blog/releases/3.3.html 57.8 kB -170 B (-0.29%)
website/build/blog/releases/3.4.html 57 kB -135 B (-0.24%)
website/build/blog/releases/3.5.html 59.5 kB -341 B (-0.57%)
website/build/blog/releases/3.6.html 76.5 kB -558 B (-0.72%)
website/build/blog/releases/3.7.html 52.4 kB -170 B (-0.32%)
website/build/blog/releases/3.8.html 87.7 kB -540 B (-0.61%)
website/build/blog/releases/3.9.html 62.4 kB -287 B (-0.46%)
website/build/blog/releases/3.10.html 92.9 kB -530 B (-0.57%)
website/build/blog/upgrading-frontend-dependencies-with-confidence-using-visual-regression-testing.html 126 kB -368 B (-0.29%)
website/build/docs.html 50.2 kB -260 B (-0.51%)
website/build/docs/advanced/client.html 71.6 kB -54 B (-0.08%)
website/build/docs/advanced/plugins.html 55.5 kB -62 B (-0.11%)
website/build/docs/advanced/routing.html 70.8 kB -125 B (-0.18%)
website/build/docs/advanced/ssg.html 75.4 kB -107 B (-0.14%)
website/build/docs/api/docusaurus-config.html 236 kB -512 B (-0.22%)
website/build/docs/api/misc/@docusaurus/eslint-plugin.html 51.5 kB -63 B (-0.12%)
website/build/docs/api/misc/@docusaurus/eslint-plugin/no-untranslated-text.html 35.8 kB -35 B (-0.1%)
website/build/docs/api/misc/@docusaurus/eslint-plugin/string-literal-i18n-messages.html 40.7 kB -35 B (-0.09%)
website/build/docs/api/plugin-methods.html 61.8 kB -36 B (-0.06%)
website/build/docs/api/plugin-methods/lifecycle-apis.html 163 kB -71 B (-0.04%)
website/build/docs/api/plugin-methods/static-methods.html 45.1 kB -53 B (-0.12%)
website/build/docs/api/plugins.html 32.5 kB -117 B (-0.36%)
website/build/docs/api/plugins/@docusaurus/plugin-content-blog.html 185 kB -206 B (-0.11%)
website/build/docs/api/plugins/@docusaurus/plugin-content-docs.html 192 kB -197 B (-0.1%)
website/build/docs/api/plugins/@docusaurus/plugin-content-pages.html 75.1 kB -48 B (-0.06%)
website/build/docs/api/plugins/@docusaurus/plugin-css-cascade-layers.html 58 kB -44 B (-0.08%)
website/build/docs/api/plugins/@docusaurus/plugin-debug.html 48.4 kB -35 B (-0.07%)
website/build/docs/api/plugins/@docusaurus/plugin-google-tag-manager.html 48.2 kB -35 B (-0.07%)
website/build/docs/api/plugins/@docusaurus/plugin-ideal-image.html 57.8 kB -41 B (-0.07%)
website/build/docs/api/plugins/@docusaurus/plugin-pwa.html 117 kB -123 B (-0.1%)
website/build/docs/api/plugins/@docusaurus/plugin-rsdoctor.html 41.4 kB -36 B (-0.09%)
website/build/docs/api/plugins/@docusaurus/plugin-sitemap.html 91.1 kB -72 B (-0.08%)
website/build/docs/api/plugins/@docusaurus/plugin-svgr.html 60.9 kB -54 B (-0.09%)
website/build/docs/api/themes.html 30.2 kB -53 B (-0.18%)
website/build/docs/api/themes/configuration.html 254 kB -278 B (-0.11%)
website/build/docs/blog.html 200 kB -135 B (-0.07%)
website/build/docs/browser-support.html 47.2 kB -63 B (-0.13%)
website/build/docs/cli.html 70.5 kB -198 B (-0.28%)
website/build/docs/configuration.html 93.6 kB -98 B (-0.1%)
website/build/docs/create-doc.html 62.2 kB -98 B (-0.16%)
website/build/docs/creating-pages.html 57.6 kB -62 B (-0.11%)
website/build/docs/deployment.html 67.5 kB -170 B (-0.25%)
website/build/docs/deployment/github-pages.html 120 kB -134 B (-0.11%)
website/build/docs/deployment/netlify.html 39.3 kB -36 B (-0.09%)
website/build/docs/deployment/vercel.html 33.2 kB -72 B (-0.22%)
website/build/docs/docs-introduction.html 50.6 kB -54 B (-0.11%)
website/build/docs/docs-multi-instance.html 74.7 kB -53 B (-0.07%)
website/build/docs/docusaurus-core.html 227 kB -170 B (-0.07%)
website/build/docs/guides/whats-next.html 33.1 kB -153 B (-0.46%)
website/build/docs/i18n/crowdin.html 148 kB -188 B (-0.13%)
website/build/docs/i18n/git.html 81 kB -44 B (-0.05%)
website/build/docs/i18n/introduction.html 49.7 kB -170 B (-0.34%)
website/build/docs/i18n/tutorial.html 170 kB -261 B (-0.15%)
website/build/docs/installation.html 72.3 kB -243 B (-0.33%)
website/build/docs/markdown-features.html 85.4 kB -215 B (-0.25%)
website/build/docs/markdown-features/admonitions.html 118 kB -71 B (-0.06%)
website/build/docs/markdown-features/assets.html 93.4 kB -81 B (-0.09%)
website/build/docs/markdown-features/code-blocks.html 222 kB -170 B (-0.08%)
website/build/docs/markdown-features/diagrams.html 61.8 kB -54 B (-0.09%)
website/build/docs/markdown-features/math-equations.html 92.7 kB -72 B (-0.08%)
website/build/docs/markdown-features/plugins.html 96.6 kB -143 B (-0.15%)
website/build/docs/markdown-features/react.html 131 kB -215 B (-0.16%)
website/build/docs/markdown-features/toc.html 88 kB -80 B (-0.09%)
website/build/docs/migration/v3.html 191 kB -683 B (-0.36%)
website/build/docs/search.html 125 kB -387 B (-0.31%)
website/build/docs/seo.html 88.8 kB -261 B (-0.29%)
website/build/docs/sidebar.html 137 kB -35 B (-0.03%)
website/build/docs/sidebar/autogenerated.html 148 kB -53 B (-0.04%)
website/build/docs/sidebar/items.html 176 kB -134 B (-0.08%)
website/build/docs/sidebar/multiple-sidebars.html 62.8 kB -44 B (-0.07%)
website/build/docs/styling-layout.html 149 kB -180 B (-0.12%)
website/build/docs/swizzling.html 113 kB -224 B (-0.2%)
website/build/docs/typescript-support.html 67.2 kB -54 B (-0.08%)
website/build/docs/using-plugins.html 107 kB -279 B (-0.26%)
website/build/docs/versioning.html 93.2 kB -108 B (-0.12%)
ℹ️ 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 42.3 kB 0 B
website/.docusaurus/i18n.json 1.36 kB 0 B
website/.docusaurus/registry.js 184 kB 0 B
website/.docusaurus/routes.js 94.3 kB 0 B
website/.docusaurus/routesChunkNames.json 96.2 kB 0 B
website/.docusaurus/site-metadata.json 2.59 kB 0 B
website/build/assets/css/styles.**********.css 146 kB 0 B
website/build/assets/js/main.**********.js 766 kB 0 B
website/build/assets/js/runtime~main.**********.js 43.1 kB 0 B
website/build/blog/archive.html 24.8 kB 0 B
website/build/blog/authors.html 52.1 kB 0 B
website/build/blog/tags.html 28.7 kB 0 B
website/build/docs/advanced.html 31.6 kB -9 B (-0.03%)
website/build/docs/advanced/architecture.html 30.2 kB -5 B (-0.02%)
website/build/docs/api/misc/@docusaurus/eslint-plugin/no-html-links.html 36.8 kB -8 B (-0.02%)
website/build/docs/api/misc/@docusaurus/eslint-plugin/prefer-docusaurus-heading.html 37.1 kB -8 B (-0.02%)
website/build/docs/api/misc/@docusaurus/logger.html 39.2 kB +1 B (0%)
website/build/docs/api/misc/create-docusaurus.html 38.4 kB +8 B (+0.02%)
website/build/docs/api/misc/docusaurus-init/index.html 361 B 0 B
website/build/docs/api/plugin-methods/extend-infrastructure.html 75.9 kB -27 B (-0.04%)
website/build/docs/api/plugin-methods/i18n-lifecycles.html 58.2 kB -26 B (-0.04%)
website/build/docs/api/plugins/@docusaurus/plugin-client-redirects.html 60.2 kB -26 B (-0.04%)
website/build/docs/api/plugins/@docusaurus/plugin-google-gtag.html 48.2 kB -27 B (-0.06%)
website/build/docs/api/plugins/@docusaurus/plugin-vercel-analytics.html 41.2 kB -26 B (-0.06%)
website/build/docs/api/themes/@docusaurus/theme-classic.html 44 kB -26 B (-0.06%)
website/build/docs/api/themes/@docusaurus/theme-live-codeblock.html 37.1 kB -17 B (-0.05%)
website/build/docs/api/themes/@docusaurus/theme-mermaid.html 35.9 kB -17 B (-0.05%)
website/build/docs/api/themes/@docusaurus/theme-search-algolia.html 33.6 kB -9 B (-0.03%)
website/build/docs/category/getting-started.html 28.5 kB 0 B
website/build/docs/category/guides.html 39 kB 0 B
website/build/docs/category/miscellaneous.html 28.3 kB 0 B
website/build/docs/introduction/index.html 280 B 0 B
website/build/docs/markdown-features/head-metadata.html 51.5 kB -26 B (-0.05%)
website/build/docs/markdown-features/links.html 41.4 kB -21 B (-0.05%)
website/build/docs/markdown-features/tabs.html 141 kB -9 B (-0.01%)
website/build/docs/migration.html 39.3 kB -8 B (-0.02%)
website/build/docs/playground.html 32 kB -18 B (-0.06%)
website/build/docs/resources/index.html 325 B 0 B
website/build/docs/static-assets.html 55.1 kB -18 B (-0.03%)
website/build/docs/support/index.html 319 B 0 B
website/build/docs/team/index.html 310 B 0 B
website/build/index.html 37.1 kB 0 B

compressed-size-action::DOCUSAURUS_INFRA_FASTER

@github-actions

Copy link
Copy Markdown

⚡️ Lighthouse report for the deploy preview of this PR

URL Performance Accessibility Best Practices SEO Report
/ 🔴 42 🟢 98 🟢 100 🟢 100 Report
/docs/installation 🟠 66 🟢 97 🟢 100 🟢 100 Report
/docs/category/getting-started 🟠 75 🟢 100 🟢 100 🟠 86 Report
/blog 🟠 72 🟢 96 🟢 100 🟠 86 Report
/blog/preparing-your-site-for-docusaurus-v3 🟠 73 🟢 92 🟢 100 🟢 100 Report
/blog/tags/release 🟠 73 🟢 96 🟢 100 🟠 86 Report
/blog/tags 🟠 74 🟢 100 🟢 100 🟠 86 Report

@argos-ci

argos-ci Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Argos notifications ↗︎

Build Status Details Updated (UTC)
screenshots (Inspect) ✅ No changes detected - Nov 19, 2026, 3:08 PM
text-snapshots (Inspect) 👍 Approved by Sébastien Lorber 155 changed Nov 19, 2026, 3:09 PM

@github-actions

Copy link
Copy Markdown

Size Change: -18.6 kB (-0.15%)

Total Size: 12.1 MB

📦 View Changed
Filename Size Change
website/build/blog.html 79.1 kB -99 B (-0.13%)
website/build/blog/2017/12/14/introducing-docusaurus.html 67.1 kB -359 B (-0.53%)
website/build/blog/2018/04/30/How-I-Converted-Profilo-To-Docusaurus.html 46.3 kB -125 B (-0.27%)
website/build/blog/2018/09/11/Towards-Docusaurus-2.html 50.7 kB -300 B (-0.59%)
website/build/blog/2018/12/14/Happy-First-Birthday-Slash.html 30.4 kB -71 B (-0.23%)
website/build/blog/2019/12/30/docusaurus-2019-recap.html 41.4 kB -197 B (-0.47%)
website/build/blog/2020/01/07/tribute-to-endi.html 33.9 kB -71 B (-0.21%)
website/build/blog/2021/01/19/docusaurus-2020-recap.html 52.7 kB -413 B (-0.78%)
website/build/blog/2021/03/09/releasing-docusaurus-i18n.html 48.7 kB -278 B (-0.57%)
website/build/blog/2021/05/12/announcing-docusaurus-two-beta.html 49.4 kB -197 B (-0.4%)
website/build/blog/2021/11/21/algolia-docsearch-migration.html 55.8 kB -134 B (-0.24%)
website/build/blog/2022/01/24/docusaurus-2021-recap.html 44.5 kB -260 B (-0.58%)
website/build/blog/2022/08/01/announcing-docusaurus-2.0.html 136 kB -665 B (-0.49%)
website/build/blog/2022/09/01/docusaurus-2.1.html 52 kB -80 B (-0.15%)
website/build/blog/authors/j-marcey.html 72.2 kB -99 B (-0.14%)
website/build/blog/authors/josh-cena.html 48.4 kB -63 B (-0.13%)
website/build/blog/authors/lex-111.html 57.4 kB -45 B (-0.08%)
website/build/blog/authors/slorber.html 82.9 kB -99 B (-0.12%)
website/build/blog/authors/slorber/page/2.html 82.2 kB -90 B (-0.11%)
website/build/blog/authors/slorber/page/3.html 85.7 kB -135 B (-0.16%)
website/build/blog/authors/slorber/page/4.html 98.5 kB -90 B (-0.09%)
website/build/blog/authors/slorber/page/5.html 54.9 kB -108 B (-0.2%)
website/build/blog/authors/yangshun.html 68.2 kB -63 B (-0.09%)
website/build/blog/authors/zpao.html 48.9 kB -36 B (-0.07%)
website/build/blog/page/2.html 78.3 kB -90 B (-0.11%)
website/build/blog/page/3.html 82.7 kB -135 B (-0.16%)
website/build/blog/page/4.html 87.2 kB -108 B (-0.12%)
website/build/blog/page/5.html 74.5 kB -153 B (-0.2%)
website/build/blog/page/6.html 42 kB -126 B (-0.3%)
website/build/blog/preparing-your-site-for-docusaurus-v3.html 129 kB -512 B (-0.39%)
website/build/blog/releases/2.2.html 52 kB -233 B (-0.45%)
website/build/blog/releases/2.3.html 62.6 kB -243 B (-0.39%)
website/build/blog/releases/2.4.html 66.4 kB -242 B (-0.36%)
website/build/blog/releases/3.0.html 109 kB -566 B (-0.52%)
website/build/blog/releases/3.1.html 54.8 kB -125 B (-0.23%)
website/build/blog/releases/3.2.html 50.6 kB -161 B (-0.32%)
website/build/blog/releases/3.3.html 57.8 kB -170 B (-0.29%)
website/build/blog/releases/3.4.html 57 kB -135 B (-0.24%)
website/build/blog/releases/3.5.html 59.5 kB -341 B (-0.57%)
website/build/blog/releases/3.6.html 76.5 kB -558 B (-0.72%)
website/build/blog/releases/3.7.html 52.4 kB -170 B (-0.32%)
website/build/blog/releases/3.8.html 87.7 kB -540 B (-0.61%)
website/build/blog/releases/3.9.html 62.4 kB -287 B (-0.46%)
website/build/blog/releases/3.10.html 92.9 kB -530 B (-0.57%)
website/build/blog/upgrading-frontend-dependencies-with-confidence-using-visual-regression-testing.html 126 kB -368 B (-0.29%)
website/build/docs.html 50.2 kB -260 B (-0.51%)
website/build/docs/advanced/client.html 71.6 kB -54 B (-0.08%)
website/build/docs/advanced/plugins.html 55.5 kB -62 B (-0.11%)
website/build/docs/advanced/routing.html 70.8 kB -125 B (-0.18%)
website/build/docs/advanced/ssg.html 75.4 kB -107 B (-0.14%)
website/build/docs/api/docusaurus-config.html 236 kB -512 B (-0.22%)
website/build/docs/api/misc/@docusaurus/eslint-plugin.html 51.5 kB -63 B (-0.12%)
website/build/docs/api/misc/@docusaurus/eslint-plugin/no-untranslated-text.html 35.8 kB -35 B (-0.1%)
website/build/docs/api/misc/@docusaurus/eslint-plugin/string-literal-i18n-messages.html 40.7 kB -35 B (-0.09%)
website/build/docs/api/plugin-methods.html 61.8 kB -36 B (-0.06%)
website/build/docs/api/plugin-methods/lifecycle-apis.html 163 kB -71 B (-0.04%)
website/build/docs/api/plugin-methods/static-methods.html 45.1 kB -53 B (-0.12%)
website/build/docs/api/plugins.html 32.5 kB -117 B (-0.36%)
website/build/docs/api/plugins/@docusaurus/plugin-content-blog.html 185 kB -206 B (-0.11%)
website/build/docs/api/plugins/@docusaurus/plugin-content-docs.html 192 kB -197 B (-0.1%)
website/build/docs/api/plugins/@docusaurus/plugin-content-pages.html 75.1 kB -48 B (-0.06%)
website/build/docs/api/plugins/@docusaurus/plugin-css-cascade-layers.html 58 kB -44 B (-0.08%)
website/build/docs/api/plugins/@docusaurus/plugin-debug.html 48.4 kB -35 B (-0.07%)
website/build/docs/api/plugins/@docusaurus/plugin-google-tag-manager.html 48.2 kB -35 B (-0.07%)
website/build/docs/api/plugins/@docusaurus/plugin-ideal-image.html 57.8 kB -41 B (-0.07%)
website/build/docs/api/plugins/@docusaurus/plugin-pwa.html 117 kB -123 B (-0.1%)
website/build/docs/api/plugins/@docusaurus/plugin-rsdoctor.html 41.4 kB -36 B (-0.09%)
website/build/docs/api/plugins/@docusaurus/plugin-sitemap.html 91.1 kB -72 B (-0.08%)
website/build/docs/api/plugins/@docusaurus/plugin-svgr.html 60.9 kB -54 B (-0.09%)
website/build/docs/api/themes.html 30.2 kB -53 B (-0.18%)
website/build/docs/api/themes/configuration.html 254 kB -278 B (-0.11%)
website/build/docs/blog.html 200 kB -135 B (-0.07%)
website/build/docs/browser-support.html 47.2 kB -63 B (-0.13%)
website/build/docs/cli.html 70.5 kB -198 B (-0.28%)
website/build/docs/configuration.html 93.6 kB -98 B (-0.1%)
website/build/docs/create-doc.html 62.2 kB -98 B (-0.16%)
website/build/docs/creating-pages.html 57.6 kB -62 B (-0.11%)
website/build/docs/deployment.html 67.5 kB -170 B (-0.25%)
website/build/docs/deployment/github-pages.html 120 kB -134 B (-0.11%)
website/build/docs/deployment/netlify.html 39.3 kB -36 B (-0.09%)
website/build/docs/deployment/vercel.html 33.2 kB -72 B (-0.22%)
website/build/docs/docs-introduction.html 50.6 kB -54 B (-0.11%)
website/build/docs/docs-multi-instance.html 74.7 kB -53 B (-0.07%)
website/build/docs/docusaurus-core.html 227 kB -170 B (-0.07%)
website/build/docs/guides/whats-next.html 33.1 kB -153 B (-0.46%)
website/build/docs/i18n/crowdin.html 148 kB -188 B (-0.13%)
website/build/docs/i18n/git.html 81 kB -44 B (-0.05%)
website/build/docs/i18n/introduction.html 49.7 kB -170 B (-0.34%)
website/build/docs/i18n/tutorial.html 170 kB -261 B (-0.15%)
website/build/docs/installation.html 72.3 kB -243 B (-0.33%)
website/build/docs/markdown-features.html 85.4 kB -215 B (-0.25%)
website/build/docs/markdown-features/admonitions.html 118 kB -71 B (-0.06%)
website/build/docs/markdown-features/assets.html 93.4 kB -81 B (-0.09%)
website/build/docs/markdown-features/code-blocks.html 222 kB -170 B (-0.08%)
website/build/docs/markdown-features/diagrams.html 61.8 kB -54 B (-0.09%)
website/build/docs/markdown-features/math-equations.html 92.7 kB -72 B (-0.08%)
website/build/docs/markdown-features/plugins.html 96.6 kB -143 B (-0.15%)
website/build/docs/markdown-features/react.html 131 kB -215 B (-0.16%)
website/build/docs/markdown-features/toc.html 88 kB -80 B (-0.09%)
website/build/docs/migration/v3.html 191 kB -683 B (-0.36%)
website/build/docs/search.html 125 kB -387 B (-0.31%)
website/build/docs/seo.html 88.8 kB -261 B (-0.29%)
website/build/docs/sidebar.html 137 kB -35 B (-0.03%)
website/build/docs/sidebar/autogenerated.html 148 kB -53 B (-0.04%)
website/build/docs/sidebar/items.html 176 kB -134 B (-0.08%)
website/build/docs/sidebar/multiple-sidebars.html 62.8 kB -44 B (-0.07%)
website/build/docs/styling-layout.html 149 kB -180 B (-0.12%)
website/build/docs/swizzling.html 113 kB -224 B (-0.2%)
website/build/docs/typescript-support.html 67.2 kB -54 B (-0.08%)
website/build/docs/using-plugins.html 107 kB -279 B (-0.26%)
website/build/docs/versioning.html 93.2 kB -108 B (-0.12%)
ℹ️ 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 42.3 kB 0 B
website/.docusaurus/i18n.json 1.36 kB 0 B
website/.docusaurus/registry.js 184 kB 0 B
website/.docusaurus/routes.js 94.3 kB 0 B
website/.docusaurus/routesChunkNames.json 96.2 kB 0 B
website/.docusaurus/site-metadata.json 2.59 kB 0 B
website/build/assets/css/styles.**********.css 146 kB 0 B
website/build/assets/js/main.**********.js 765 kB 0 B
website/build/assets/js/runtime~main.**********.js 42.9 kB 0 B
website/build/blog/archive.html 24.8 kB 0 B
website/build/blog/authors.html 52.1 kB 0 B
website/build/blog/tags.html 28.7 kB 0 B
website/build/docs/advanced.html 31.6 kB -9 B (-0.03%)
website/build/docs/advanced/architecture.html 30.2 kB -5 B (-0.02%)
website/build/docs/api/misc/@docusaurus/eslint-plugin/no-html-links.html 36.8 kB -8 B (-0.02%)
website/build/docs/api/misc/@docusaurus/eslint-plugin/prefer-docusaurus-heading.html 37.1 kB -8 B (-0.02%)
website/build/docs/api/misc/@docusaurus/logger.html 39.2 kB +1 B (0%)
website/build/docs/api/misc/create-docusaurus.html 38.4 kB +8 B (+0.02%)
website/build/docs/api/misc/docusaurus-init/index.html 361 B 0 B
website/build/docs/api/plugin-methods/extend-infrastructure.html 75.9 kB -27 B (-0.04%)
website/build/docs/api/plugin-methods/i18n-lifecycles.html 58.2 kB -26 B (-0.04%)
website/build/docs/api/plugins/@docusaurus/plugin-client-redirects.html 60.2 kB -26 B (-0.04%)
website/build/docs/api/plugins/@docusaurus/plugin-google-gtag.html 48.2 kB -27 B (-0.06%)
website/build/docs/api/plugins/@docusaurus/plugin-vercel-analytics.html 41.2 kB -26 B (-0.06%)
website/build/docs/api/themes/@docusaurus/theme-classic.html 44 kB -26 B (-0.06%)
website/build/docs/api/themes/@docusaurus/theme-live-codeblock.html 37.1 kB -17 B (-0.05%)
website/build/docs/api/themes/@docusaurus/theme-mermaid.html 35.9 kB -17 B (-0.05%)
website/build/docs/api/themes/@docusaurus/theme-search-algolia.html 33.6 kB -9 B (-0.03%)
website/build/docs/category/getting-started.html 28.5 kB 0 B
website/build/docs/category/guides.html 39 kB 0 B
website/build/docs/category/miscellaneous.html 28.3 kB 0 B
website/build/docs/introduction/index.html 280 B 0 B
website/build/docs/markdown-features/head-metadata.html 51.5 kB -26 B (-0.05%)
website/build/docs/markdown-features/links.html 41.4 kB -21 B (-0.05%)
website/build/docs/markdown-features/tabs.html 141 kB -9 B (-0.01%)
website/build/docs/migration.html 39.3 kB -8 B (-0.02%)
website/build/docs/playground.html 32 kB -18 B (-0.06%)
website/build/docs/resources/index.html 325 B 0 B
website/build/docs/static-assets.html 55.1 kB -18 B (-0.03%)
website/build/docs/support/index.html 319 B 0 B
website/build/docs/team/index.html 310 B 0 B
website/build/index.html 37.1 kB 0 B

compressed-size-action::DOCUSAURUS_INFRA_SLOWER

@slorber
slorber merged commit cb96836 into main Nov 19, 2026
49 of 51 checks passed
@slorber
slorber deleted the fix/mdx-a-empty-class branch November 19, 2026 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Argos Add this label to run UI visual regression tests. See argos.yml GH action. CLA Signed Signed Facebook CLA pr: polish This PR adds a very minor behavior improvement that users will enjoy.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant