feat(docs): add filterable UI Components table and improve build performance (#38253)

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Evan Rusackas
2026-03-04 08:32:25 -05:00
committed by GitHub
parent 983b633972
commit ef4b1d674b
21 changed files with 1597 additions and 833 deletions

View File

@@ -227,7 +227,35 @@ if (!versionsConfig.developer_docs.disabled && !versionsConfig.developer_docs.hi
});
}
// Docusaurus Faster: Rspack bundler, SWC transpilation, and other build
// optimizations. Only enabled for local development — CI runners (GitHub
// Actions, Netlify) have ~8GB RAM and these features push memory usage over
// the limit. See https://docusaurus.io/blog/releases/3.6#docusaurus-faster
const isCI = process.env.CI === 'true';
const config: Config = {
...(!isCI && {
future: {
v4: {
removeLegacyPostBuildHeadAttribute: true,
// Disabled: CSS cascade layers change specificity and cause antd
// styles (from Storybook component pages) to override theme styles
useCssCascadeLayers: false,
},
experimental_faster: {
swcJsLoader: true,
swcJsMinimizer: true,
swcHtmlMinimizer: true,
lightningCssMinimizer: true,
rspackBundler: true,
mdxCrossCompilerCache: true,
rspackPersistentCache: true,
// SSG worker threads spawn parallel Node processes, each consuming
// significant memory. Disabled to keep total usage reasonable.
ssgWorkerThreads: false,
},
},
}),
title: 'Superset',
tagline:
'Apache Superset is a modern data exploration and visualization platform',