File tree Expand file tree Collapse file tree 5 files changed +24
-12
lines changed Expand file tree Collapse file tree 5 files changed +24
-12
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ const config = {
1616 // Set the production url of your site here
1717 // Use environment variable for dynamic URL configuration
1818 projectName : 'docs' ,
19- url : process . env . APP_EXTERNAL_URL || 'http://localhost:3000 ' ,
19+ url : process . env . APP_EXTERNAL_URL || 'http://localhost:4500 ' ,
2020 // Set the /<baseUrl>/ pathname under which your site is served
2121 baseUrl : '/' ,
2222
@@ -33,8 +33,20 @@ const config = {
3333
3434 // Performance optimizations with Docusaurus Faster
3535 future : {
36- v4 : true ,
37- experimental_faster : true ,
36+ experimental_faster : {
37+ swcJsLoader : true ,
38+ swcJsMinimizer : true ,
39+ swcHtmlMinimizer : true ,
40+ lightningCssMinimizer : true ,
41+ rspackBundler : true ,
42+ rspackPersistentCache : true , // 2-5x faster rebuilds
43+ mdxCrossCompilerCache : true ,
44+ ssgWorkerThreads : true , // 2x faster static generation
45+ } ,
46+ v4 : {
47+ removeLegacyPostBuildHeadAttribute : true , // Required for worker threads
48+ // useCssCascadeLayers: true, // Temporarily disabled - may cause style conflicts
49+ } ,
3850 } ,
3951
4052 // Even if you don't use internationalization, you can use this field to set
Original file line number Diff line number Diff line change 55 "main" : " docusaurus.config.js" ,
66 "scripts" : {
77 "docusaurus" : " npx docusaurus" ,
8- "start" : " npx serve -s build -l 8080 " ,
8+ "start" : " cross-env NODE_OPTIONS=--max-old-space-size=16384 CHOKIDAR_USEPOLLING=false npx docusaurus start --port=4500 --no-open " ,
99 "build" : " NODE_OPTIONS=--max-old-space-size=16384 npx docusaurus build" ,
1010 "swizzle" : " npx docusaurus swizzle" ,
1111 "clear" : " npx docusaurus clear" ,
Original file line number Diff line number Diff line change @@ -209,7 +209,7 @@ function CommunityShowcase() {
209209
210210 < CommunityCard title = "Product Updates" icon = "📢" >
211211 { announcements . length > 0 ? (
212- announcements . map ( ( topic , idx ) => < TopicItem key = { idx } topic = { topic } / )
212+ announcements . map ( ( topic , idx ) => < TopicItem key = { idx } topic = { topic } /> )
213213 ) : (
214214 < p className = { styles . emptyState } > No recent announcements</ p >
215215 ) }
@@ -232,4 +232,4 @@ function CommunityShowcase() {
232232 ) ;
233233}
234234
235- export default CommunityShowcase ;
235+ export default CommunityShowcase ;
Original file line number Diff line number Diff line change 274274 flex-wrap : wrap;
275275 gap : 0.5rem ;
276276 }
277- }
277+ }
Original file line number Diff line number Diff line change 153153 justify-content : center;
154154 padding : 4px 8px ;
155155 background : var (--ifm-color-primary-light );
156- color : white;
156+ color : white !important ;
157157 font-size : 0.75rem ;
158158 font-weight : 500 ;
159159 border-radius : 6px ;
165165
166166.versionBadge : hover {
167167 background : var (--ifm-color-primary );
168- color : white;
168+ color : white !important ;
169169 text-decoration : none;
170170 transform : scale (1.05 );
171171}
177177
178178.latestBadge : hover {
179179 background : var (--ifm-color-success-dark );
180- color : white;
180+ color : white !important ;
181181}
182182
183183[data-theme = 'dark' ] .versionBadge {
187187
188188[data-theme = 'dark' ] .versionBadge : hover {
189189 background : var (--ifm-color-primary );
190- color : white;
190+ color : white !important ;
191191}
192192
193193[data-theme = 'dark' ] .latestBadge {
197197
198198[data-theme = 'dark' ] .latestBadge : hover {
199199 background : var (--ifm-color-success );
200- color : white;
200+ color : white !important ;
201201}
202202
203203/* Dark mode color improvements */
You can’t perform that action at this time.
0 commit comments