Skip to content

Commit 1dc93e7

Browse files
committed
doc updates
1 parent 5e52be8 commit 1dc93e7

4 files changed

Lines changed: 87 additions & 28 deletions

File tree

docs/.vitepress/config.mts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ const guideSidebar = [
4444
];
4545

4646
export default defineConfig({
47-
title: 'B2C CLI',
48-
description: 'Salesforce Agentforce Commerce B2C Command Line Tools',
47+
title: 'B2C DX',
48+
description: 'Salesforce Commerce Cloud B2C Developer Experience - CLI, MCP Server, and SDK',
4949
base: '/b2c-developer-tooling/',
5050

5151
// Show deeper heading levels in the outline
@@ -65,8 +65,8 @@ export default defineConfig({
6565
],
6666

6767
footer: {
68-
message: 'All rights reserved.',
69-
copyright: `Copyright © ${new Date().getFullYear()} Salesforce, Inc. All rights reserved.`,
68+
message: 'Released under the Apache-2.0 License.',
69+
copyright: `Copyright © ${new Date().getFullYear()} Salesforce, Inc.`,
7070
},
7171

7272
sidebar: {

docs/.vitepress/theme/custom.css

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
--vp-c-brand-3: #007eb0;
55
--vp-c-brand-soft: rgba(0, 161, 224, 0.14);
66
--vp-banner-height: 38px;
7+
/* Hero name gradient (Salesforce blue) */
8+
--vp-home-hero-name-color: transparent;
9+
--vp-home-hero-name-background: linear-gradient(135deg, #00A1E0 0%, #0070D2 100%);
710
}
811

912
/* Developer Preview Banner */
@@ -78,11 +81,13 @@
7881
--vp-c-brand-2: #33b4e6;
7982
--vp-c-brand-3: #66c7ec;
8083
--vp-c-brand-soft: rgba(0, 161, 224, 0.16);
84+
--vp-home-hero-name-background: linear-gradient(135deg, #33b4e6 0%, #00A1E0 100%);
8185
}
8286

8387
/* Hero image sizing */
8488
.VPHero .image-container {
8589
max-width: 550px !important;
90+
padding: 24px;
8691
}
8792

8893
.VPHero .image-container .image-bg {
@@ -91,7 +96,7 @@
9196

9297
.VPHero .image-container img {
9398
max-width: 550px !important;
94-
width: 100%;
99+
/* width: 100%; */
95100
border-radius: 12px;
96101
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
97102
}

docs/.vitepress/theme/index.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { h } from 'vue';
1+
import {h} from 'vue';
22
import DefaultTheme from 'vitepress/theme';
33
import './custom.css';
44

@@ -7,15 +7,15 @@ export default {
77
Layout() {
88
return h(DefaultTheme.Layout, null, {
99
'layout-top': () =>
10-
h(
11-
'div',
12-
{ class: 'preview-banner' },
13-
[
14-
h('strong', 'Developer Preview'),
15-
' — This project is in active development. APIs may change. ',
16-
h('a', { href: 'https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/issues', target: '_blank' }, 'Provide feedback'),
17-
]
18-
),
10+
h('div', {class: 'preview-banner'}, [
11+
h('strong', 'Developer Preview'),
12+
' — This project is in active development. APIs may change. ',
13+
h(
14+
'a',
15+
{href: 'https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/issues', target: '_blank'},
16+
'Provide feedback',
17+
),
18+
]),
1919
});
2020
},
2121
};

docs/index.md

Lines changed: 67 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
---
2-
description: Command line tools and SDK for Salesforce Commerce Cloud B2C - deploy code, manage sandboxes, run jobs, and automate operations.
2+
description: Developer experience tools for Salesforce Commerce Cloud B2C - CLI, MCP Server, and SDK for AI-assisted development, deployment, and automation.
33
layout: home
44

55
hero:
6-
name: B2C CLI
7-
text: Salesforce Commerce Cloud B2C Command Line Tools
8-
tagline: A powerful CLI and SDK for managing B2C Commerce Cloud instances
6+
name: B2C DX
7+
text: Salesforce Agentforce Commerce Developer Tools
8+
tagline: Powerful CLI tools and AI-assisted development for B2C Commerce
99
image:
1010
src: /cli-screenshot.png
11-
alt: B2C CLI help output
11+
alt: B2C DX CLI
1212
actions:
1313
- theme: brand
1414
text: Get Started
@@ -21,12 +21,66 @@ hero:
2121
link: /api/
2222

2323
features:
24-
- title: Code Deployment
25-
details: Deploy cartridges and manage code versions on your B2C Commerce instances.
26-
- title: Site Management
27-
details: List and manage sites across your Commerce Cloud organization.
28-
- title: Managed Runtime
29-
details: Configure and manage MRT environments and environment variables.
30-
- title: SDK Library
31-
details: Use the @salesforce/b2c-tooling-sdk package to build your own integrations.
24+
- icon: "\U0001F680"
25+
title: Code Deployment
26+
details: Deploy cartridges, activate code versions, and watch for changes with instant sync.
27+
link: /cli/code
28+
linkText: Learn more
29+
- icon: "\u26A1"
30+
title: Job Execution
31+
details: Run jobs, import/export site archives, and automate business processes.
32+
link: /cli/jobs
33+
linkText: Learn more
34+
- icon: "\U0001F3D6\uFE0F"
35+
title: Sandbox Management
36+
details: Create, manage, and provision On-Demand Sandboxes programmatically.
37+
link: /cli/ods
38+
linkText: Learn more
39+
- icon: "\U0001F9E0"
40+
title: Agent Skills
41+
details: AI skills for Claude Code, Cursor, and GitHub Copilot that teach assistants B2C Commerce development.
42+
link: /guide/agent-skills
43+
linkText: Learn more
44+
- icon: "\U0001F916"
45+
title: AI-Assisted Development
46+
details: MCP Server for Claude, Cursor, and other AI tools to interact with your B2C instances.
47+
link: /guide/
48+
linkText: Learn more
49+
- icon: "\U0001F4E6"
50+
title: SDK Library
51+
details: Build custom integrations with @salesforce/b2c-tooling-sdk - the same SDK powering the CLI.
52+
link: /api/
53+
linkText: API Reference
3254
---
55+
56+
## Quick Install
57+
58+
Get started with the CLI in seconds:
59+
60+
::: code-group
61+
62+
```bash [npm]
63+
npm install -g @salesforce/b2c-cli
64+
```
65+
66+
```bash [npx]
67+
npx @salesforce/b2c-cli --help
68+
```
69+
70+
```bash [Homebrew]
71+
brew install SalesforceCommerceCloud/tooling/b2c-cli
72+
73+
# or
74+
brew tap SalesforceCommerceCloud/tooling
75+
brew install b2c-cli
76+
```
77+
78+
:::
79+
80+
## Packages
81+
82+
| Package | Description |
83+
|---------|-------------|
84+
| [@salesforce/b2c-cli](https://www.npmjs.com/package/@salesforce/b2c-cli) | Command-line tools for B2C Commerce |
85+
| [@salesforce/b2c-dx-mcp](https://www.npmjs.com/package/@salesforce/b2c-dx-mcp) | MCP Server for AI-assisted development |
86+
| [@salesforce/b2c-tooling-sdk](https://www.npmjs.com/package/@salesforce/b2c-tooling-sdk) | SDK library for custom integrations |

0 commit comments

Comments
 (0)