Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(theme): Restore former globalThis.Prism #10618

Merged
merged 1 commit into from
Oct 25, 2024
Merged

Conversation

slorber
Copy link
Collaborator

@slorber slorber commented Oct 25, 2024

Motivation

While trying to upgrade Redocusaurus to Docusaurus Faster (rohit-gohri/redocusaurus#385) I have weird SSG errors after trying to build with swc instead of babel-loader.

Redoc also uses Prism and those errors go away if we restore the Prism global namespace pollution after the prism-react-renderer init. This code should rather keep the pollution in place if something else is working with Prism.

Test Plan

Not sure how to test this 😅

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


For context, those SSG errors were:

[PERF] Build > en > SSG > Generate static files > Load App renderer - 39.85 ms - (169mb -> 180mb)
[PERF][KO] Build > en > SSG > Generate static files - 369.23 ms - (169mb -> 187mb)
[PERF][KO] Build > en > SSG - 369.75 ms - (169mb -> 187mb)
[PERF][KO] Build > en - 1.68 seconds! - (64mb -> 187mb)
[PERF][KO] Build - 1.68 seconds! - (64mb -> 187mb)

[ERROR] Error: Unable to build website for locale en.
    at tryToBuildLocale (/Users/sebastienlorber/Desktop/projects/redocusaurus/node_modules/@docusaurus/core/lib/commands/build/build.js:78:15)
    at async /Users/sebastienlorber/Desktop/projects/redocusaurus/node_modules/@docusaurus/core/lib/commands/build/build.js:34:9
    at async mapAsyncSequential (/Users/sebastienlorber/Desktop/projects/redocusaurus/node_modules/@docusaurus/utils/lib/jsUtils.js:21:24)
    at async Object.async (/Users/sebastienlorber/Desktop/projects/redocusaurus/node_modules/@docusaurus/logger/lib/perfLogger.js:106:28)
    at async Command.build (/Users/sebastienlorber/Desktop/projects/redocusaurus/node_modules/@docusaurus/core/lib/commands/build/build.js:33:5) {
  [cause]: Error: Docusaurus static site generation failed for 10 paths:
  - "/examples/client-only/"
  - "/examples/custom-layout/"
  - "/examples/custom-page/"
  - "/examples/using-multi-file-yaml"
  - "/examples/using-remote-url/"
  - "/examples/using-single-yaml"
  - "/examples/using-swagger-json"
  - "/docs/guides/schema-imports"
  - "/docs/nested/nested-1"
  - "/docs/nested/nested-2"
      at generateStaticFiles (/Users/sebastienlorber/Desktop/projects/redocusaurus/node_modules/@docusaurus/core/lib/ssg/ssg.js:129:15)
      at async Object.async (/Users/sebastienlorber/Desktop/projects/redocusaurus/node_modules/@docusaurus/logger/lib/perfLogger.js:106:28)
      ... 7 lines matching cause stack trace ...
      at async /Users/sebastienlorber/Desktop/projects/redocusaurus/node_modules/@docusaurus/core/lib/commands/build/build.js:34:9 {
    [cause]: AggregateError
        at generateStaticFiles (/Users/sebastienlorber/Desktop/projects/redocusaurus/node_modules/@docusaurus/core/lib/ssg/ssg.js:130:20)
        at async Object.async (/Users/sebastienlorber/Desktop/projects/redocusaurus/node_modules/@docusaurus/logger/lib/perfLogger.js:106:28)
        at async executeSSG (/Users/sebastienlorber/Desktop/projects/redocusaurus/node_modules/@docusaurus/core/lib/ssg/ssgExecutor.js:29:23)
        at async Object.async (/Users/sebastienlorber/Desktop/projects/redocusaurus/node_modules/@docusaurus/logger/lib/perfLogger.js:106:28)
        at async buildLocale (/Users/sebastienlorber/Desktop/projects/redocusaurus/node_modules/@docusaurus/core/lib/commands/build/buildLocale.js:60:31)
        at async runBuildLocaleTask (/Users/sebastienlorber/Desktop/projects/redocusaurus/node_modules/@docusaurus/core/lib/commands/build/build.js:93:5)
        at async /Users/sebastienlorber/Desktop/projects/redocusaurus/node_modules/@docusaurus/core/lib/commands/build/build.js:74:13
        at async Object.async (/Users/sebastienlorber/Desktop/projects/redocusaurus/node_modules/@docusaurus/logger/lib/perfLogger.js:106:28)
        at async tryToBuildLocale (/Users/sebastienlorber/Desktop/projects/redocusaurus/node_modules/@docusaurus/core/lib/commands/build/build.js:70:9)
        at async /Users/sebastienlorber/Desktop/projects/redocusaurus/node_modules/@docusaurus/core/lib/commands/build/build.js:34:9 {
      [errors]: [
        Error: Can't render static file for pathname "/examples/client-only/"
            at generateStaticFile (/Users/sebastienlorber/Desktop/projects/redocusaurus/node_modules/@docusaurus/core/lib/ssg/ssg.js:167:15)
            at async /Users/sebastienlorber/Desktop/projects/redocusaurus/node_modules/p-map/index.js:57:22 {
          [cause]: TypeError: Cannot set properties of undefined (setting 'markup-templating')
              at server.bundle.js:1944:63
              at 13109 (server.bundle.js:2054:2)
              at __webpack_require__ (server.bundle.js:21311:31)
              at /Users/sebastienlorber/Desktop/projects/redocusaurus/website/build/__server/assets/js/257de05e.234109a6.js:53830:10766
              at /Users/sebastienlorber/Desktop/projects/redocusaurus/website/build/__server/assets/js/257de05e.234109a6.js:55614:3806
              at /Users/sebastienlorber/Desktop/projects/redocusaurus/website/build/__server/assets/js/257de05e.234109a6.js:55614:3811
              at /Users/sebastienlorber/Desktop/projects/redocusaurus/website/build/__server/assets/js/257de05e.234109a6.js:53791:37
              at 70200 (/Users/sebastienlorber/Desktop/projects/redocusaurus/website/build/__server/assets/js/257de05e.234109a6.js:53791:43)
              at __webpack_require__ (server.bundle.js:21311:31)
              at 91833 (/Users/sebastienlorber/Desktop/projects/redocusaurus/website/build/__server/assets/js/257de05e.234109a6.js:64657:17)
        },
        Error: Can't render static file for pathname "/examples/custom-layout/"
            at generateStaticFile (/Users/sebastienlorber/Desktop/projects/redocusaurus/node_modules/@docusaurus/core/lib/ssg/ssg.js:167:15)
            at processTicksAndRejections (node:internal/process/task_queues:95:5)
            at runNextTicks (node:internal/process/task_queues:64:3)
            at process.processImmediate (node:internal/timers:449:9)
            at process.callbackTrampoline (node:internal/async_hooks:130:17)
            at async /Users/sebastienlorber/Desktop/projects/redocusaurus/node_modules/p-map/index.js:57:22 {
          [cause]: ReferenceError: Cannot access 'theme_Redoc' before initialization
              at Object.Z (/Users/sebastienlorber/Desktop/projects/redocusaurus/website/build/__server/assets/js/257de05e.234109a6.js:64645:27)
              at CustomPage (/Users/sebastienlorber/Desktop/projects/redocusaurus/website/build/__server/assets/js/e45aaca6.efd52944.js:64981:147)
              at Uc (server.bundle.js:2822:44)
              at Xc (server.bundle.js:2824:253)
              at Z (server.bundle.js:2830:89)
              at Xc (server.bundle.js:2828:231)
              at Z (server.bundle.js:2830:89)
              at Xc (server.bundle.js:2824:481)
              at Z (server.bundle.js:2830:89)
              at Vc (server.bundle.js:2822:473)
        },
        Error: Can't render static file for pathname "/examples/custom-page/"
            at generateStaticFile (/Users/sebastienlorber/Desktop/projects/redocusaurus/node_modules/@docusaurus/core/lib/ssg/ssg.js:167:15)
            at processTicksAndRejections (node:internal/process/task_queues:95:5)
            at runNextTicks (node:internal/process/task_queues:64:3)
            at process.processImmediate (node:internal/timers:449:9)
            at process.callbackTrampoline (node:internal/async_hooks:130:17)
            at async /Users/sebastienlorber/Desktop/projects/redocusaurus/node_modules/p-map/index.js:57:22 {
          [cause]: ReferenceError: Cannot access 'theme_ApiDoc' before initialization
              at Module.default (/Users/sebastienlorber/Desktop/projects/redocusaurus/website/build/__server/assets/js/f0ad3fbb.3167a289.js:64426:35)
              at CustomPage (/Users/sebastienlorber/Desktop/projects/redocusaurus/website/build/__server/assets/js/f986e481.674c9217.js:65044:123)
              at Uc (server.bundle.js:2822:44)
              at Xc (server.bundle.js:2824:253)
              at Z (server.bundle.js:2830:89)
              at Xc (server.bundle.js:2828:231)
              at Z (server.bundle.js:2830:89)
              at Xc (server.bundle.js:2824:481)
              at Z (server.bundle.js:2830:89)
              at Vc (server.bundle.js:2822:473)
        },
        Error: Can't render static file for pathname "/examples/using-multi-file-yaml"
            at generateStaticFile (/Users/sebastienlorber/Desktop/projects/redocusaurus/node_modules/@docusaurus/core/lib/ssg/ssg.js:167:15)
            at processTicksAndRejections (node:internal/process/task_queues:95:5)
            at runNextTicks (node:internal/process/task_queues:64:3)
            at process.processImmediate (node:internal/timers:449:9)
            at process.callbackTrampoline (node:internal/async_hooks:130:17)
            at async /Users/sebastienlorber/Desktop/projects/redocusaurus/node_modules/p-map/index.js:57:22 {
          [cause]: ReferenceError: Cannot access 'theme_ApiDoc' before initialization
              at Module.default (/Users/sebastienlorber/Desktop/projects/redocusaurus/website/build/__server/assets/js/f0ad3fbb.3167a289.js:64426:35)
              at server.bundle.js:17102:41
              at Array.forEach (<anonymous>)
              at Object.render (server.bundle.js:17098:36)
              at LoadableComponent.render (server.bundle.js:3309:21)
              at Vc (server.bundle.js:2822:130)
              at Xc (server.bundle.js:2824:210)
              at Z (server.bundle.js:2830:89)
              at Xc (server.bundle.js:2828:231)
              at Z (server.bundle.js:2830:89)
        },
        Error: Can't render static file for pathname "/examples/using-remote-url/"
            at generateStaticFile (/Users/sebastienlorber/Desktop/projects/redocusaurus/node_modules/@docusaurus/core/lib/ssg/ssg.js:167:15)
            at processTicksAndRejections (node:internal/process/task_queues:95:5)
            at runNextTicks (node:internal/process/task_queues:64:3)
            at process.processImmediate (node:internal/timers:449:9)
            at process.callbackTrampoline (node:internal/async_hooks:130:17)
            at async /Users/sebastienlorber/Desktop/projects/redocusaurus/node_modules/p-map/index.js:57:22 {
          [cause]: ReferenceError: Cannot access 'theme_ApiDoc' before initialization
              at Module.default (/Users/sebastienlorber/Desktop/projects/redocusaurus/website/build/__server/assets/js/f0ad3fbb.3167a289.js:64426:35)
              at server.bundle.js:17102:41
              at Array.forEach (<anonymous>)
              at Object.render (server.bundle.js:17098:36)
              at LoadableComponent.render (server.bundle.js:3309:21)
              at Vc (server.bundle.js:2822:130)
              at Xc (server.bundle.js:2824:210)
              at Z (server.bundle.js:2830:89)
              at Xc (server.bundle.js:2828:231)
              at Z (server.bundle.js:2830:89)
        },
        Error: Can't render static file for pathname "/examples/using-single-yaml"
            at generateStaticFile (/Users/sebastienlorber/Desktop/projects/redocusaurus/node_modules/@docusaurus/core/lib/ssg/ssg.js:167:15)
            at processTicksAndRejections (node:internal/process/task_queues:95:5)
            at runNextTicks (node:internal/process/task_queues:64:3)
            at process.processImmediate (node:internal/timers:449:9)
            at process.callbackTrampoline (node:internal/async_hooks:130:17)
            at async /Users/sebastienlorber/Desktop/projects/redocusaurus/node_modules/p-map/index.js:57:22 {
          [cause]: ReferenceError: Cannot access 'theme_ApiDoc' before initialization
              at Module.default (/Users/sebastienlorber/Desktop/projects/redocusaurus/website/build/__server/assets/js/f0ad3fbb.3167a289.js:64426:35)
              at server.bundle.js:17102:41
              at Array.forEach (<anonymous>)
              at Object.render (server.bundle.js:17098:36)
              at LoadableComponent.render (server.bundle.js:3309:21)
              at Vc (server.bundle.js:2822:130)
              at Xc (server.bundle.js:2824:210)
              at Z (server.bundle.js:2830:89)
              at Xc (server.bundle.js:2828:231)
              at Z (server.bundle.js:2830:89)
        },
        Error: Can't render static file for pathname "/examples/using-swagger-json"
            at generateStaticFile (/Users/sebastienlorber/Desktop/projects/redocusaurus/node_modules/@docusaurus/core/lib/ssg/ssg.js:167:15)
            at processTicksAndRejections (node:internal/process/task_queues:95:5)
            at runNextTicks (node:internal/process/task_queues:64:3)
            at process.processImmediate (node:internal/timers:449:9)
            at process.callbackTrampoline (node:internal/async_hooks:130:17)
            at async /Users/sebastienlorber/Desktop/projects/redocusaurus/node_modules/p-map/index.js:57:22 {
          [cause]: ReferenceError: Cannot access 'theme_ApiDoc' before initialization
              at Module.default (/Users/sebastienlorber/Desktop/projects/redocusaurus/website/build/__server/assets/js/f0ad3fbb.3167a289.js:64426:35)
              at server.bundle.js:17102:41
              at Array.forEach (<anonymous>)
              at Object.render (server.bundle.js:17098:36)
              at LoadableComponent.render (server.bundle.js:3309:21)
              at Vc (server.bundle.js:2822:130)
              at Xc (server.bundle.js:2824:210)
              at Z (server.bundle.js:2830:89)
              at Xc (server.bundle.js:2828:231)
              at Z (server.bundle.js:2830:89)
        },
        Error: Can't render static file for pathname "/docs/guides/schema-imports"
            at generateStaticFile (/Users/sebastienlorber/Desktop/projects/redocusaurus/node_modules/@docusaurus/core/lib/ssg/ssg.js:167:15)
            at processTicksAndRejections (node:internal/process/task_queues:95:5)
            at runNextTicks (node:internal/process/task_queues:64:3)
            at process.processImmediate (node:internal/timers:449:9)
            at process.callbackTrampoline (node:internal/async_hooks:130:17)
            at async /Users/sebastienlorber/Desktop/projects/redocusaurus/node_modules/p-map/index.js:57:22 {
          [cause]: TypeError: redoc__WEBPACK_IMPORTED_MODULE_4__.AppStore is not a constructor
              at /Users/sebastienlorber/Desktop/projects/redocusaurus/website/build/__server/assets/js/257de05e.234109a6.js:64941:24
              at Object.Ic [as useMemo] (server.bundle.js:2815:240)
              at __webpack_modules__.41535.exports.useMemo (server.bundle.js:4834:48)
              at useSpec (/Users/sebastienlorber/Desktop/projects/redocusaurus/website/build/__server/assets/js/257de05e.234109a6.js:64936:64)
              at ApiSchema_ApiSchema (/Users/sebastienlorber/Desktop/projects/redocusaurus/website/build/__server/assets/js/124171a0.48b0a782.js:205:43)
              at Uc (server.bundle.js:2822:44)
              at Xc (server.bundle.js:2824:253)
              at Z (server.bundle.js:2830:89)
              at Yc (server.bundle.js:2833:98)
              at $c (server.bundle.js:2832:140)
        },
        Error: Can't render static file for pathname "/docs/nested/nested-1"
            at generateStaticFile (/Users/sebastienlorber/Desktop/projects/redocusaurus/node_modules/@docusaurus/core/lib/ssg/ssg.js:167:15)
            at processTicksAndRejections (node:internal/process/task_queues:95:5)
            at runNextTicks (node:internal/process/task_queues:64:3)
            at process.processImmediate (node:internal/timers:449:9)
            at process.callbackTrampoline (node:internal/async_hooks:130:17)
            at async /Users/sebastienlorber/Desktop/projects/redocusaurus/node_modules/p-map/index.js:57:22 {
          [cause]: ReferenceError: Cannot access 'theme_Redoc' before initialization
              at Object.Z (/Users/sebastienlorber/Desktop/projects/redocusaurus/website/build/__server/assets/js/257de05e.234109a6.js:64645:27)
              at ApiDocMdx (/Users/sebastienlorber/Desktop/projects/redocusaurus/website/build/__server/assets/js/257de05e.234109a6.js:64568:65)
              at Uc (server.bundle.js:2822:44)
              at Xc (server.bundle.js:2824:253)
              at Z (server.bundle.js:2830:89)
              at Xc (server.bundle.js:2824:481)
              at Z (server.bundle.js:2830:89)
              at Xc (server.bundle.js:2828:231)
              at Z (server.bundle.js:2830:89)
              at Xc (server.bundle.js:2824:481)
        },
        Error: Can't render static file for pathname "/docs/nested/nested-2"
            at generateStaticFile (/Users/sebastienlorber/Desktop/projects/redocusaurus/node_modules/@docusaurus/core/lib/ssg/ssg.js:167:15)
            at processTicksAndRejections (node:internal/process/task_queues:95:5)
            at runNextTicks (node:internal/process/task_queues:64:3)
            at process.processImmediate (node:internal/timers:449:9)
            at process.callbackTrampoline (node:internal/async_hooks:130:17)
            at async /Users/sebastienlorber/Desktop/projects/redocusaurus/node_modules/p-map/index.js:57:22 {
          [cause]: ReferenceError: Cannot access 'theme_Redoc' before initialization
              at Object.Z (/Users/sebastienlorber/Desktop/projects/redocusaurus/website/build/__server/assets/js/257de05e.234109a6.js:64645:27)
              at ApiDocMdx (/Users/sebastienlorber/Desktop/projects/redocusaurus/website/build/__server/assets/js/257de05e.234109a6.js:64568:65)
              at Uc (server.bundle.js:2822:44)
              at Xc (server.bundle.js:2824:253)
              at Z (server.bundle.js:2830:89)
              at Xc (server.bundle.js:2824:481)
              at Z (server.bundle.js:2830:89)
              at Xc (server.bundle.js:2828:231)
              at Z (server.bundle.js:2830:89)
              at Xc (server.bundle.js:2824:481)
        }
      ]
    }
  }
}

@slorber slorber added pr: bug fix This PR fixes a bug in a past release. Argos Add this label to run UI visual regression tests. See argos.yml GH action. labels Oct 25, 2024
@facebook-github-bot facebook-github-bot added the CLA Signed Signed Facebook CLA label Oct 25, 2024
Copy link

netlify bot commented Oct 25, 2024

[V2]

Name Link
🔨 Latest commit 047ce0e
🔍 Latest deploy log https://app.netlify.com/sites/docusaurus-2/deploys/671bcfba71086c0009c3abe7
😎 Deploy Preview https://deploy-preview-10618--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 site configuration.

Copy link

Size Change: +390 B (0%)

Total Size: 11.1 MB

Filename Size Change
website/build/assets/js/main.********.js 641 kB +52 B (+0.01%)
ℹ️ View Unchanged
Filename Size Change
website/.docusaurus/codeTranslations.json 2 B 0 B
website/.docusaurus/docusaurus.config.mjs 28 kB 0 B
website/.docusaurus/globalData.json 30.4 kB 0 B
website/.docusaurus/i18n.json 930 B 0 B
website/.docusaurus/registry.js 155 kB 0 B
website/.docusaurus/routes.js 74.6 kB 0 B
website/.docusaurus/routesChunkNames.json 81.8 kB 0 B
website/.docusaurus/site-metadata.json 2.17 kB 0 B
website/build/assets/css/styles.********.css 120 kB 0 B
website/build/assets/js/runtime~main.********.js 35.8 kB 0 B
website/build/blog.html 58.1 kB 0 B
website/build/blog/2017/12/14/introducing-docusaurus.html 72.3 kB 0 B
website/build/blog/2018/04/30/How-I-Converted-Profilo-To-Docusaurus.html 45.2 kB +12 B (+0.03%)
website/build/blog/2018/09/11/Towards-Docusaurus-2.html 49.5 kB 0 B
website/build/blog/2018/12/14/Happy-First-Birthday-Slash.html 28.7 kB 0 B
website/build/blog/2019/12/30/docusaurus-2019-recap.html 37.6 kB -1 B (0%)
website/build/blog/2020/01/07/tribute-to-endi.html 32.1 kB 0 B
website/build/blog/2021/01/19/docusaurus-2020-recap.html 46.6 kB 0 B
website/build/blog/2021/03/09/releasing-docusaurus-i18n.html 42.9 kB -1 B (0%)
website/build/blog/2021/05/12/announcing-docusaurus-two-beta.html 45.2 kB 0 B
website/build/blog/2021/11/21/algolia-docsearch-migration.html 50.3 kB +12 B (+0.02%)
website/build/blog/2022/01/24/docusaurus-2021-recap.html 42.4 kB 0 B
website/build/blog/2022/08/01/announcing-docusaurus-2.0.html 134 kB 0 B
website/build/blog/2022/09/01/docusaurus-2.1.html 48.2 kB -1 B (0%)
website/build/blog/archive.html 23.2 kB 0 B
website/build/blog/authors.html 43.9 kB 0 B
website/build/blog/authors/j-marcey.html 61.9 kB 0 B
website/build/blog/authors/josh-cena.html 40.7 kB 0 B
website/build/blog/authors/lex-111.html 47.6 kB 0 B
website/build/blog/authors/slorber.html 58 kB 0 B
website/build/blog/authors/slorber/authors/2.html 61.8 kB 0 B
website/build/blog/authors/slorber/authors/3.html 73.7 kB 0 B
website/build/blog/authors/slorber/authors/4.html 42.2 kB 0 B
website/build/blog/authors/yangshun.html 54.9 kB 0 B
website/build/blog/authors/zpao.html 41.1 kB 0 B
website/build/blog/page/2.html 62.7 kB 0 B
website/build/blog/page/3.html 68.3 kB 0 B
website/build/blog/page/4.html 61.2 kB 0 B
website/build/blog/page/5.html 39.8 kB 0 B
website/build/blog/preparing-your-site-for-docusaurus-v3.html 132 kB +4 B (0%)
website/build/blog/releases/2.2.html 47.1 kB 0 B
website/build/blog/releases/2.3.html 57.9 kB 0 B
website/build/blog/releases/2.4.html 62.2 kB 0 B
website/build/blog/releases/3.0.html 107 kB +12 B (+0.01%)
website/build/blog/releases/3.1.html 49.6 kB +1 B (0%)
website/build/blog/releases/3.2.html 46.3 kB 0 B
website/build/blog/releases/3.3.html 52.9 kB 0 B
website/build/blog/releases/3.4.html 53.1 kB +7 B (+0.01%)
website/build/blog/releases/3.5.html 55.3 kB +1 B (0%)
website/build/blog/tags.html 26.7 kB 0 B
website/build/blog/upgrading-frontend-dependencies-with-confidence-using-visual-regression-testing.html 123 kB 0 B
website/build/docs.html 47.1 kB 0 B
website/build/docs/advanced.html 29.4 kB 0 B
website/build/docs/advanced/architecture.html 28.9 kB +4 B (+0.01%)
website/build/docs/advanced/client.html 72.7 kB 0 B
website/build/docs/advanced/plugins.html 56 kB 0 B
website/build/docs/advanced/routing.html 70.8 kB +8 B (+0.01%)
website/build/docs/advanced/ssg.html 77.8 kB 0 B
website/build/docs/api/docusaurus-config.html 194 kB 0 B
website/build/docs/api/misc/@docusaurus/eslint-plugin.html 45.7 kB +4 B (+0.01%)
website/build/docs/api/misc/@docusaurus/eslint-plugin/no-html-links.html 36 kB 0 B
website/build/docs/api/misc/@docusaurus/eslint-plugin/no-untranslated-text.html 35 kB 0 B
website/build/docs/api/misc/@docusaurus/eslint-plugin/prefer-docusaurus-heading.html 36.3 kB +4 B (+0.01%)
website/build/docs/api/misc/@docusaurus/eslint-plugin/string-literal-i18n-messages.html 39.8 kB 0 B
website/build/docs/api/misc/@docusaurus/logger.html 37.9 kB 0 B
website/build/docs/api/misc/create-docusaurus.html 33.1 kB 0 B
website/build/docs/api/plugin-methods.html 64.6 kB +4 B (+0.01%)
website/build/docs/api/plugin-methods/extend-infrastructure.html 60.3 kB +4 B (+0.01%)
website/build/docs/api/plugin-methods/i18n-lifecycles.html 58.1 kB +4 B (+0.01%)
website/build/docs/api/plugin-methods/lifecycle-apis.html 164 kB 0 B
website/build/docs/api/plugin-methods/static-methods.html 44.4 kB +4 B (+0.01%)
website/build/docs/api/plugins.html 30.1 kB 0 B
website/build/docs/api/plugins/@docusaurus/plugin-client-redirects.html 59.7 kB +13 B (+0.02%)
website/build/docs/api/plugins/@docusaurus/plugin-content-blog.html 189 kB 0 B
website/build/docs/api/plugins/@docusaurus/plugin-content-docs.html 194 kB 0 B
website/build/docs/api/plugins/@docusaurus/plugin-content-pages.html 74.2 kB 0 B
website/build/docs/api/plugins/@docusaurus/plugin-debug.html 48.2 kB 0 B
website/build/docs/api/plugins/@docusaurus/plugin-google-analytics.html 49.1 kB +3 B (+0.01%)
website/build/docs/api/plugins/@docusaurus/plugin-google-gtag.html 48.7 kB -4 B (-0.01%)
website/build/docs/api/plugins/@docusaurus/plugin-google-tag-manager.html 47.5 kB 0 B
website/build/docs/api/plugins/@docusaurus/plugin-ideal-image.html 48.6 kB +4 B (+0.01%)
website/build/docs/api/plugins/@docusaurus/plugin-pwa.html 116 kB +4 B (0%)
website/build/docs/api/plugins/@docusaurus/plugin-rsdoctor.html 39.9 kB 0 B
website/build/docs/api/plugins/@docusaurus/plugin-sitemap.html 65.5 kB +6 B (+0.01%)
website/build/docs/api/plugins/@docusaurus/plugin-vercel-analytics.html 40.1 kB +12 B (+0.03%)
website/build/docs/api/themes.html 28.7 kB 0 B
website/build/docs/api/themes/@docusaurus/theme-classic.html 44 kB +4 B (+0.01%)
website/build/docs/api/themes/@docusaurus/theme-live-codeblock.html 36.6 kB +4 B (+0.01%)
website/build/docs/api/themes/@docusaurus/theme-mermaid.html 35.5 kB +4 B (+0.01%)
website/build/docs/api/themes/@docusaurus/theme-search-algolia.html 32.8 kB 0 B
website/build/docs/api/themes/configuration.html 243 kB 0 B
website/build/docs/blog.html 211 kB +6 B (0%)
website/build/docs/browser-support.html 48.4 kB 0 B
website/build/docs/category/getting-started.html 26.7 kB 0 B
website/build/docs/category/guides.html 34.5 kB 0 B
website/build/docs/cli.html 60 kB 0 B
website/build/docs/configuration.html 98.7 kB +8 B (+0.01%)
website/build/docs/create-doc.html 62.3 kB +12 B (+0.02%)
website/build/docs/creating-pages.html 56.4 kB +1 B (0%)
website/build/docs/deployment.html 203 kB +8 B (0%)
website/build/docs/docs-introduction.html 51 kB 0 B
website/build/docs/docs-multi-instance.html 75 kB +4 B (+0.01%)
website/build/docs/docusaurus-core.html 236 kB 0 B
website/build/docs/guides/whats-next.html 30.9 kB 0 B
website/build/docs/i18n/crowdin.html 145 kB +12 B (+0.01%)
website/build/docs/i18n/git.html 78.8 kB +4 B (+0.01%)
website/build/docs/i18n/introduction.html 48.3 kB 0 B
website/build/docs/i18n/tutorial.html 164 kB +13 B (+0.01%)
website/build/docs/installation.html 70.7 kB +5 B (+0.01%)
website/build/docs/introduction/index.html 280 B 0 B
website/build/docs/markdown-features.html 79.9 kB +1 B (0%)
website/build/docs/markdown-features/admonitions.html 113 kB +4 B (0%)
website/build/docs/markdown-features/assets.html 89.2 kB +2 B (0%)
website/build/docs/markdown-features/code-blocks.html 235 kB +4 B (0%)
website/build/docs/markdown-features/diagrams.html 53.1 kB +14 B (+0.03%)
website/build/docs/markdown-features/head-metadata.html 50.1 kB 0 B
website/build/docs/markdown-features/links.html 40.8 kB 0 B
website/build/docs/markdown-features/math-equations.html 90.5 kB +11 B (+0.01%)
website/build/docs/markdown-features/plugins.html 96.7 kB +8 B (+0.01%)
website/build/docs/markdown-features/react.html 138 kB +5 B (0%)
website/build/docs/markdown-features/tabs.html 142 kB 0 B
website/build/docs/markdown-features/toc.html 84.8 kB +4 B (0%)
website/build/docs/migration.html 40.7 kB +4 B (+0.01%)
website/build/docs/migration/v2.html 39.2 kB 0 B
website/build/docs/migration/v2/automated.html 40.4 kB 0 B
website/build/docs/migration/v2/manual.html 198 kB 0 B
website/build/docs/migration/v2/translated-sites.html 50.3 kB 0 B
website/build/docs/migration/v2/versioned-sites.html 64.3 kB 0 B
website/build/docs/migration/v3.html 209 kB +1 B (0%)
website/build/docs/playground.html 30.7 kB 0 B
website/build/docs/resources/index.html 325 B 0 B
website/build/docs/search.html 116 kB +1 B (0%)
website/build/docs/seo.html 88.7 kB +13 B (+0.01%)
website/build/docs/sidebar.html 131 kB 0 B
website/build/docs/sidebar/autogenerated.html 150 kB +13 B (+0.01%)
website/build/docs/sidebar/items.html 180 kB 0 B
website/build/docs/sidebar/multiple-sidebars.html 63.7 kB +4 B (+0.01%)
website/build/docs/static-assets.html 53.5 kB +4 B (+0.01%)
website/build/docs/styling-layout.html 135 kB 0 B
website/build/docs/support/index.html 319 B 0 B
website/build/docs/swizzling.html 115 kB +14 B (+0.01%)
website/build/docs/team/index.html 310 B 0 B
website/build/docs/typescript-support.html 62.3 kB 0 B
website/build/docs/using-plugins.html 110 kB +13 B (+0.01%)
website/build/docs/versioning.html 83.1 kB +13 B (+0.02%)
website/build/index.html 35.8 kB 0 B

compressed-size-action::DOCUSAURUS_INFRA_FASTER

Copy link

⚡️ Lighthouse report for the deploy preview of this PR

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

Copy link

argos-ci bot commented Oct 25, 2024

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

Build Status Details Updated (UTC)
default (Inspect) ✅ No changes detected - Oct 25, 2024, 5:11 PM

Copy link

Size Change: +380 B (0%)

Total Size: 11.6 MB

Filename Size Change
website/build/assets/js/main.********.js 638 kB +52 B (+0.01%)
ℹ️ View Unchanged
Filename Size Change
website/.docusaurus/codeTranslations.json 2 B 0 B
website/.docusaurus/docusaurus.config.mjs 28 kB 0 B
website/.docusaurus/globalData.json 30.4 kB 0 B
website/.docusaurus/i18n.json 930 B 0 B
website/.docusaurus/registry.js 155 kB 0 B
website/.docusaurus/routes.js 74.6 kB 0 B
website/.docusaurus/routesChunkNames.json 81.8 kB 0 B
website/.docusaurus/site-metadata.json 2.17 kB 0 B
website/build/assets/css/styles.********.css 113 kB 0 B
website/build/assets/js/runtime~main.********.js 35.2 kB 0 B
website/build/blog.html 61.4 kB 0 B
website/build/blog/2017/12/14/introducing-docusaurus.html 74.7 kB 0 B
website/build/blog/2018/04/30/How-I-Converted-Profilo-To-Docusaurus.html 47.3 kB +12 B (+0.03%)
website/build/blog/2018/09/11/Towards-Docusaurus-2.html 51.7 kB 0 B
website/build/blog/2018/12/14/Happy-First-Birthday-Slash.html 30.4 kB 0 B
website/build/blog/2019/12/30/docusaurus-2019-recap.html 39.6 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 48.9 kB 0 B
website/build/blog/2021/03/09/releasing-docusaurus-i18n.html 45.2 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 kB +12 B (+0.02%)
website/build/blog/2022/01/24/docusaurus-2021-recap.html 44.5 kB 0 B
website/build/blog/2022/08/01/announcing-docusaurus-2.0.html 139 kB 0 B
website/build/blog/2022/09/01/docusaurus-2.1.html 50.9 kB -1 B (0%)
website/build/blog/archive.html 24.7 kB 0 B
website/build/blog/authors.html 46.5 kB 0 B
website/build/blog/authors/j-marcey.html 65 kB 0 B
website/build/blog/authors/josh-cena.html 43 kB 0 B
website/build/blog/authors/lex-111.html 50.3 kB 0 B
website/build/blog/authors/slorber.html 61.6 kB 0 B
website/build/blog/authors/slorber/authors/2.html 65.4 kB 0 B
website/build/blog/authors/slorber/authors/3.html 77.7 kB 0 B
website/build/blog/authors/slorber/authors/4.html 44.7 kB 0 B
website/build/blog/authors/yangshun.html 57.8 kB 0 B
website/build/blog/authors/zpao.html 43.5 kB 0 B
website/build/blog/page/2.html 66 kB 0 B
website/build/blog/page/3.html 71.7 kB 0 B
website/build/blog/page/4.html 64.2 kB 0 B
website/build/blog/page/5.html 41.9 kB 0 B
website/build/blog/preparing-your-site-for-docusaurus-v3.html 138 kB -1 B (0%)
website/build/blog/releases/2.2.html 49.6 kB 0 B
website/build/blog/releases/2.3.html 60.8 kB 0 B
website/build/blog/releases/2.4.html 65.3 kB 0 B
website/build/blog/releases/3.0.html 111 kB +12 B (+0.01%)
website/build/blog/releases/3.1.html 52 kB +1 B (0%)
website/build/blog/releases/3.2.html 48.8 kB 0 B
website/build/blog/releases/3.3.html 55.5 kB 0 B
website/build/blog/releases/3.4.html 55.9 kB +7 B (+0.01%)
website/build/blog/releases/3.5.html 58.1 kB +1 B (0%)
website/build/blog/tags.html 28.6 kB 0 B
website/build/blog/upgrading-frontend-dependencies-with-confidence-using-visual-regression-testing.html 128 kB 0 B
website/build/docs.html 49.2 kB 0 B
website/build/docs/advanced.html 31.1 kB 0 B
website/build/docs/advanced/architecture.html 30.7 kB +4 B (+0.01%)
website/build/docs/advanced/client.html 76 kB 0 B
website/build/docs/advanced/plugins.html 58.6 kB 0 B
website/build/docs/advanced/routing.html 73.9 kB +8 B (+0.01%)
website/build/docs/advanced/ssg.html 81.5 kB 0 B
website/build/docs/api/docusaurus-config.html 202 kB 0 B
website/build/docs/api/misc/@docusaurus/eslint-plugin.html 48.3 kB +4 B (+0.01%)
website/build/docs/api/misc/@docusaurus/eslint-plugin/no-html-links.html 38.1 kB 0 B
website/build/docs/api/misc/@docusaurus/eslint-plugin/no-untranslated-text.html 37 kB 0 B
website/build/docs/api/misc/@docusaurus/eslint-plugin/prefer-docusaurus-heading.html 38.3 kB +4 B (+0.01%)
website/build/docs/api/misc/@docusaurus/eslint-plugin/string-literal-i18n-messages.html 42 kB 0 B
website/build/docs/api/misc/@docusaurus/logger.html 39.8 kB 0 B
website/build/docs/api/misc/create-docusaurus.html 34.9 kB 0 B
website/build/docs/api/plugin-methods.html 67.4 kB +4 B (+0.01%)
website/build/docs/api/plugin-methods/extend-infrastructure.html 63 kB +4 B (+0.01%)
website/build/docs/api/plugin-methods/i18n-lifecycles.html 60.7 kB +4 B (+0.01%)
website/build/docs/api/plugin-methods/lifecycle-apis.html 170 kB 0 B
website/build/docs/api/plugin-methods/static-methods.html 46.6 kB +4 B (+0.01%)
website/build/docs/api/plugins.html 31.9 kB 0 B
website/build/docs/api/plugins/@docusaurus/plugin-client-redirects.html 62.8 kB +13 B (+0.02%)
website/build/docs/api/plugins/@docusaurus/plugin-content-blog.html 198 kB 0 B
website/build/docs/api/plugins/@docusaurus/plugin-content-docs.html 202 kB 0 B
website/build/docs/api/plugins/@docusaurus/plugin-content-pages.html 78.2 kB 0 B
website/build/docs/api/plugins/@docusaurus/plugin-debug.html 50.7 kB 0 B
website/build/docs/api/plugins/@docusaurus/plugin-google-analytics.html 51.7 kB +3 B (+0.01%)
website/build/docs/api/plugins/@docusaurus/plugin-google-gtag.html 51.2 kB -4 B (-0.01%)
website/build/docs/api/plugins/@docusaurus/plugin-google-tag-manager.html 50 kB 0 B
website/build/docs/api/plugins/@docusaurus/plugin-ideal-image.html 51.3 kB +4 B (+0.01%)
website/build/docs/api/plugins/@docusaurus/plugin-pwa.html 122 kB +4 B (0%)
website/build/docs/api/plugins/@docusaurus/plugin-rsdoctor.html 42.1 kB 0 B
website/build/docs/api/plugins/@docusaurus/plugin-sitemap.html 68.7 kB +6 B (+0.01%)
website/build/docs/api/plugins/@docusaurus/plugin-vercel-analytics.html 42.4 kB +12 B (+0.03%)
website/build/docs/api/themes.html 30.4 kB 0 B
website/build/docs/api/themes/@docusaurus/theme-classic.html 46.4 kB +4 B (+0.01%)
website/build/docs/api/themes/@docusaurus/theme-live-codeblock.html 38.7 kB +4 B (+0.01%)
website/build/docs/api/themes/@docusaurus/theme-mermaid.html 37.5 kB +4 B (+0.01%)
website/build/docs/api/themes/@docusaurus/theme-search-algolia.html 34.7 kB 0 B
website/build/docs/api/themes/configuration.html 256 kB 0 B
website/build/docs/blog.html 219 kB +6 B (0%)
website/build/docs/browser-support.html 51 kB 0 B
website/build/docs/category/getting-started.html 28.3 kB 0 B
website/build/docs/category/guides.html 36.4 kB 0 B
website/build/docs/cli.html 63.8 kB 0 B
website/build/docs/configuration.html 103 kB +8 B (+0.01%)
website/build/docs/create-doc.html 65.3 kB +12 B (+0.02%)
website/build/docs/creating-pages.html 59.1 kB +1 B (0%)
website/build/docs/deployment.html 211 kB +8 B (0%)
website/build/docs/docs-introduction.html 53.6 kB 0 B
website/build/docs/docs-multi-instance.html 78.7 kB +4 B (+0.01%)
website/build/docs/docusaurus-core.html 245 kB 0 B
website/build/docs/guides/whats-next.html 32.8 kB 0 B
website/build/docs/i18n/crowdin.html 151 kB +12 B (+0.01%)
website/build/docs/i18n/git.html 82.7 kB +4 B (0%)
website/build/docs/i18n/introduction.html 50.8 kB 0 B
website/build/docs/i18n/tutorial.html 171 kB +13 B (+0.01%)
website/build/docs/installation.html 74.2 kB +5 B (+0.01%)
website/build/docs/introduction/index.html 280 B 0 B
website/build/docs/markdown-features.html 83.2 kB +1 B (0%)
website/build/docs/markdown-features/admonitions.html 119 kB +4 B (0%)
website/build/docs/markdown-features/assets.html 93.5 kB +2 B (0%)
website/build/docs/markdown-features/code-blocks.html 245 kB +4 B (0%)
website/build/docs/markdown-features/diagrams.html 56 kB +14 B (+0.02%)
website/build/docs/markdown-features/head-metadata.html 52.8 kB 0 B
website/build/docs/markdown-features/links.html 43.1 kB 0 B
website/build/docs/markdown-features/math-equations.html 95.4 kB +11 B (+0.01%)
website/build/docs/markdown-features/plugins.html 101 kB +8 B (+0.01%)
website/build/docs/markdown-features/react.html 144 kB +5 B (0%)
website/build/docs/markdown-features/tabs.html 148 kB 0 B
website/build/docs/markdown-features/toc.html 88.8 kB +4 B (0%)
website/build/docs/migration.html 43.1 kB -1 B (0%)
website/build/docs/migration/v2.html 41.3 kB 0 B
website/build/docs/migration/v2/automated.html 42.6 kB 0 B
website/build/docs/migration/v2/manual.html 207 kB 0 B
website/build/docs/migration/v2/translated-sites.html 52.8 kB 0 B
website/build/docs/migration/v2/versioned-sites.html 67.2 kB 0 B
website/build/docs/migration/v3.html 218 kB +1 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 121 kB +1 B (0%)
website/build/docs/seo.html 93 kB +13 B (+0.01%)
website/build/docs/sidebar.html 137 kB 0 B
website/build/docs/sidebar/autogenerated.html 156 kB +13 B (+0.01%)
website/build/docs/sidebar/items.html 188 kB 0 B
website/build/docs/sidebar/multiple-sidebars.html 67.1 kB +4 B (+0.01%)
website/build/docs/static-assets.html 56.3 kB +4 B (+0.01%)
website/build/docs/styling-layout.html 141 kB 0 B
website/build/docs/support/index.html 319 B 0 B
website/build/docs/swizzling.html 120 kB +14 B (+0.01%)
website/build/docs/team/index.html 310 B 0 B
website/build/docs/typescript-support.html 65.4 kB 0 B
website/build/docs/using-plugins.html 115 kB +13 B (+0.01%)
website/build/docs/versioning.html 87.1 kB +13 B (+0.01%)
website/build/index.html 37.7 kB 0 B

compressed-size-action::DOCUSAURUS_INFRA_SLOWER

@slorber slorber merged commit 52e50d2 into main Oct 25, 2024
39 of 40 checks passed
@slorber slorber deleted the slorber/prism-restore-global branch October 25, 2024 17:24
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: bug fix This PR fixes a bug in a past release.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants