You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: site/docusaurus.config.ts
+8-1Lines changed: 8 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -87,6 +87,13 @@ const config: Config = {
87
87
'4.6': {
88
88
banner: 'none',// No banner for this version
89
89
},
90
+
'4.5': {
91
+
// No banner for 4.5 as its still actively maintained. Docusaurus doesn't allow us to set custom
92
+
// text for the banner. Only option is to eject swizzle DocVersionBanner (`npm run swizzle @docusaurus/theme-classic DocVersionBanner -- --eject`)
93
+
// and modify the internal rendering logic based on the version number. Cannot even add a new `banner` option without even more hackery.
94
+
// Here is a relevant discussion thread: https://github.com/facebook/docusaurus/discussions/7112 if we really want this, we should look to contribute this feature.
0 commit comments