Prettier CLI use to correct code format

Signed-off-by: Gervais, Raymond <raymond.gervais@rbc.com>
This commit is contained in:
Gervais, Raymond
2025-05-13 14:44:44 -04:00
parent e01b9cadbe
commit 6dbb27273b
3 changed files with 67 additions and 43 deletions
+23 -23
View File
@@ -101,23 +101,23 @@ const config: Config = {
sidebarPath: 'sidebars.ts',
...(useVersionedDocs
? {
includeCurrentVersion: true,
lastVersion: 'stable',
versions: {
stable: {
label: 'Stable',
path: '/',
banner: 'none',
badge: false,
includeCurrentVersion: true,
lastVersion: 'stable',
versions: {
stable: {
label: 'Stable',
path: '/',
banner: 'none',
badge: false,
},
current: {
label: 'Next',
path: '/next',
banner: 'unreleased',
badge: true,
},
},
current: {
label: 'Next',
path: '/next',
banner: 'unreleased',
badge: true,
},
},
}
}
: undefined),
docItemComponent: '@theme/ApiItem',
},
@@ -344,13 +344,13 @@ const config: Config = {
colorMode: {
disableSwitch: false,
respectPrefersColorScheme: true
respectPrefersColorScheme: true,
},
navbar: {
logo: {
alt: 'Backstage Software Catalog and Developer Platform',
src: 'img/logo-black.svg',
srcDark: 'img/logo.svg'
srcDark: 'img/logo.svg',
},
items: [
{
@@ -395,11 +395,11 @@ const config: Config = {
},
...(useVersionedDocs
? [
{
type: 'docsVersionDropdown',
position: 'right' as const,
},
]
{
type: 'docsVersionDropdown',
position: 'right' as const,
},
]
: []),
],
},