Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Jeroen van den Hout <[email protected]>
  • Loading branch information
Dr-Electron and jlvandenhout authored May 29, 2024
1 parent bb61182 commit c405e55
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/theme/DocVersionBanner/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
* REASONS:
* - Remove use of siteTitle as it is irrelevant in our setup.
* - Link to our own latest version.
* - Update text pointing to latest version
*/
import React, { type ComponentType } from 'react';
import clsx from 'clsx';
Expand Down Expand Up @@ -106,7 +107,7 @@ function LatestVersionSuggestionLabel({
}}
>
{
'For up-to-date documentation, see the {latestVersionLink} ({versionLabel}).'
'For the latest stable release, see the {latestVersionLink} ({versionLabel}).'
}
</Translate>
);
Expand Down
2 changes: 1 addition & 1 deletion src/utils/pluginConfigGenerators.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function generatePluginConfig(pluginConfig, basePath) {
label,
path: mainVersion.label === label ? undefined : label,
badge: true,
banner: banner,
banner,
},
},
}
Expand Down

0 comments on commit c405e55

Please sign in to comment.