Skip to content

Commit f5725c5

Browse files
committed
docs: remove developer preview banner and disclaimer
Remove the "Developer Preview" note and disclaimer from the CLI README, the preview banner from the docs site theme, and all associated CSS.
1 parent 2b2e163 commit f5725c5

3 files changed

Lines changed: 0 additions & 84 deletions

File tree

docs/.vitepress/theme/custom.css

Lines changed: 0 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -3,79 +3,11 @@
33
--vp-c-brand-2: #0090c8;
44
--vp-c-brand-3: #007eb0;
55
--vp-c-brand-soft: rgba(0, 161, 224, 0.14);
6-
--vp-banner-height: 38px;
76
/* Hero name gradient (Salesforce blue) */
87
--vp-home-hero-name-color: transparent;
98
--vp-home-hero-name-background: linear-gradient(135deg, #00A1E0 0%, #0070D2 100%);
109
}
1110

12-
/* Developer Preview Banner */
13-
.preview-banner {
14-
background: linear-gradient(90deg, #0070d2 0%, #00a1e0 100%);
15-
color: white;
16-
text-align: center;
17-
padding: 8px 16px;
18-
font-size: 14px;
19-
position: fixed;
20-
top: 0;
21-
left: 0;
22-
right: 0;
23-
z-index: 60;
24-
min-height: var(--vp-banner-height);
25-
box-sizing: border-box;
26-
display: flex;
27-
align-items: center;
28-
justify-content: center;
29-
flex-wrap: wrap;
30-
}
31-
32-
.preview-banner a {
33-
color: white;
34-
text-decoration: underline;
35-
margin-left: 8px;
36-
}
37-
38-
.preview-banner a:hover {
39-
opacity: 0.9;
40-
}
41-
42-
/* Adjust VitePress layout for banner */
43-
.VPNav {
44-
top: var(--vp-banner-height) !important;
45-
}
46-
47-
.VPSidebar {
48-
top: calc(var(--vp-nav-height) + var(--vp-banner-height)) !important;
49-
height: calc(100vh - var(--vp-nav-height) - var(--vp-banner-height)) !important;
50-
}
51-
52-
.VPContent {
53-
padding-top: calc(var(--vp-nav-height) + var(--vp-banner-height)) !important;
54-
}
55-
56-
.VPLocalNav {
57-
top: calc(var(--vp-nav-height) + var(--vp-banner-height)) !important;
58-
}
59-
60-
/* Mobile/tablet: banner scrolls with page when sidebar is hidden */
61-
@media (max-width: 959px) {
62-
.preview-banner {
63-
position: relative;
64-
}
65-
66-
.VPNav {
67-
top: 0 !important;
68-
}
69-
70-
.VPContent {
71-
padding-top: 0 !important;
72-
}
73-
74-
.VPLocalNav {
75-
top: 0 !important;
76-
}
77-
}
78-
7911
.dark {
8012
--vp-c-brand-1: #00A1E0;
8113
--vp-c-brand-2: #33b4e6;

docs/.vitepress/theme/index.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,6 @@ export default {
77
extends: DefaultTheme,
88
Layout() {
99
return h(DefaultTheme.Layout, null, {
10-
'layout-top': () =>
11-
h('div', {class: 'preview-banner'}, [
12-
h('strong', 'Developer Preview'),
13-
' — This project is in active development. APIs may change. ',
14-
h(
15-
'a',
16-
{href: 'https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/issues', target: '_blank'},
17-
'Provide feedback',
18-
),
19-
]),
2010
'home-features-before': () => h(HomeQuickInstall),
2111
});
2212
},

packages/b2c-cli/README.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22

33
[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)
44

5-
> [!NOTE]
6-
> This project is currently in **Developer Preview**. Not all features are implemented, and the API may change in future releases. Please provide feedback via GitHub issues.
7-
85
A command-line interface for Salesforce Agentforce Commerce (formerly Commerce Cloud) B2C instances and platform services.
96

107
## Installation
@@ -286,6 +283,3 @@ Full documentation is available at: https://salesforcecommercecloud.github.io/b2
286283

287284
This project is licensed under the Apache License 2.0. See [LICENSE.txt](../../LICENSE.txt) for full details.
288285

289-
## Disclaimer
290-
291-
This project is currently in **Developer Preview** and is provided "as-is" without warranty of any kind. It is not yet generally available (GA) and should not be used in production environments. Features, APIs, and functionality may change without notice in future releases.

0 commit comments

Comments
 (0)