1- import { defineConfig } from 'vitepress' ;
1+ import { defineConfig } from 'vitepress' ;
22import typedocSidebar from '../api/typedoc-sidebar.json' ;
33
44// Version configuration from environment
@@ -15,73 +15,74 @@ const basePath = isReleaseBuild ? `${siteBase}/release/` : `${siteBase}/`;
1515function getVersionItems ( ) {
1616 if ( releaseVersion === 'unreleased' ) {
1717 // No release yet - only show dev
18- return [ { text : 'Development (main)' , link : '/' } ] ;
18+ return [ { text : 'Development (main)' , link : '/' } ] ;
1919 }
2020
2121 if ( isReleaseBuild ) {
2222 // Release build: base is /b2c-developer-tooling/release/
2323 // Use ../ to navigate up to main docs
2424 return [
25- { text : 'Development (main)' , link : '../' } ,
26- { text : 'Latest Release' , link : '/' } ,
25+ { text : 'Development (main)' , link : '../' } ,
26+ { text : 'Latest Release' , link : '/' } ,
2727 ] ;
2828 }
2929
3030 // Main build: base is /b2c-developer-tooling/
3131 return [
32- { text : 'Development (main)' , link : '/' } ,
33- { text : 'Latest Release' , link : '/release/' } ,
32+ { text : 'Development (main)' , link : '/' } ,
33+ { text : 'Latest Release' , link : '/release/' } ,
3434 ] ;
3535}
3636
3737const guideSidebar = [
3838 {
3939 text : 'Getting Started' ,
4040 items : [
41- { text : 'Introduction' , link : '/guide/' } ,
42- { text : 'Installation' , link : '/guide/installation' } ,
43- { text : 'Configuration' , link : '/guide/configuration' } ,
44- { text : 'Agent Skills & Plugins' , link : '/guide/agent-skills' } ,
41+ { text : 'Introduction' , link : '/guide/' } ,
42+ { text : 'Installation' , link : '/guide/installation' } ,
43+ { text : 'Configuration' , link : '/guide/configuration' } ,
44+ { text : 'Agent Skills & Plugins' , link : '/guide/agent-skills' } ,
4545 ] ,
4646 } ,
4747 {
4848 text : 'Guides' ,
4949 items : [
50- { text : 'Authentication Setup' , link : '/guide/authentication' } ,
51- { text : 'Account Manager' , link : '/guide/account-manager' } ,
52- { text : 'Scaffolding' , link : '/guide/scaffolding' } ,
53- { text : 'Security' , link : '/guide/security' } ,
54- { text : 'Storefront Next' , link : '/guide/storefront-next' } ,
50+ { text : 'Authentication Setup' , link : '/guide/authentication' } ,
51+ { text : 'Account Manager' , link : '/guide/account-manager' } ,
52+ { text : 'Scaffolding' , link : '/guide/scaffolding' } ,
53+ { text : 'Security' , link : '/guide/security' } ,
54+ { text : 'Storefront Next' , link : '/guide/storefront-next' } ,
5555 ] ,
5656 } ,
5757 {
5858 text : 'Extending' ,
5959 items : [
60- { text : 'Custom Plugins' , link : '/guide/extending' } ,
61- { text : '3rd Party Plugins' , link : '/guide/third-party-plugins' } ,
60+ { text : 'Custom Plugins' , link : '/guide/extending' } ,
61+ { text : '3rd Party Plugins' , link : '/guide/third-party-plugins' } ,
6262 ] ,
6363 } ,
6464 {
6565 text : 'CLI Reference' ,
6666 items : [
67- { text : 'Overview' , link : '/cli/' } ,
68- { text : 'Code Commands' , link : '/cli/code' } ,
69- { text : 'Content Commands' , link : '/cli/content' } ,
70- { text : 'Job Commands' , link : '/cli/jobs' } ,
71- { text : 'Logs Commands' , link : '/cli/logs' } ,
72- { text : 'Sites Commands' , link : '/cli/sites' } ,
73- { text : 'WebDAV Commands' , link : '/cli/webdav' } ,
74- { text : 'Sandbox Commands' , link : '/cli/sandbox' } ,
75- { text : 'MRT Commands' , link : '/cli/mrt' } ,
76- { text : 'eCDN Commands' , link : '/cli/ecdn' } ,
77- { text : 'SLAS Commands' , link : '/cli/slas' } ,
78- { text : 'Custom APIs' , link : '/cli/custom-apis' } ,
79- { text : 'SCAPI Schemas' , link : '/cli/scapi-schemas' } ,
80- { text : 'Setup Commands' , link : '/cli/setup' } ,
81- { text : 'Scaffold Commands' , link : '/cli/scaffold' } ,
82- { text : 'Auth Commands' , link : '/cli/auth' } ,
83- { text : 'Account Manager Commands' , link : '/cli/account-manager' } ,
84- { text : 'Logging' , link : '/cli/logging' } ,
67+ { text : 'Overview' , link : '/cli/' } ,
68+ { text : 'Code Commands' , link : '/cli/code' } ,
69+ { text : 'Content Commands' , link : '/cli/content' } ,
70+ { text : 'Job Commands' , link : '/cli/jobs' } ,
71+ { text : 'Logs Commands' , link : '/cli/logs' } ,
72+ { text : 'Sites Commands' , link : '/cli/sites' } ,
73+ { text : 'WebDAV Commands' , link : '/cli/webdav' } ,
74+ { text : 'Sandbox Commands' , link : '/cli/sandbox' } ,
75+ { text : 'MRT Commands' , link : '/cli/mrt' } ,
76+ { text : 'eCDN Commands' , link : '/cli/ecdn' } ,
77+ { text : 'SLAS Commands' , link : '/cli/slas' } ,
78+ { text : 'Custom APIs' , link : '/cli/custom-apis' } ,
79+ { text : 'SCAPI Schemas' , link : '/cli/scapi-schemas' } ,
80+ { text : 'Setup Commands' , link : '/cli/setup' } ,
81+ { text : 'Scaffold Commands' , link : '/cli/scaffold' } ,
82+ { text : 'Docs Commands' , link : '/cli/docs' } ,
83+ { text : 'Auth Commands' , link : '/cli/auth' } ,
84+ { text : 'Account Manager Commands' , link : '/cli/account-manager' } ,
85+ { text : 'Logging' , link : '/cli/logging' } ,
8586 ] ,
8687 } ,
8788] ;
@@ -122,7 +123,7 @@ export default defineConfig({
122123
123124 // Show deeper heading levels in the outline
124125 markdown : {
125- toc : { level : [ 2 , 3 , 4 ] } ,
126+ toc : { level : [ 2 , 3 , 4 ] } ,
126127 } ,
127128
128129 themeConfig : {
@@ -131,9 +132,9 @@ export default defineConfig({
131132 level : [ 2 , 3 ] ,
132133 } ,
133134 nav : [
134- { text : 'Guide' , link : '/guide/' } ,
135- { text : 'CLI Reference' , link : '/cli/' } ,
136- { text : 'API Reference' , link : '/api/' } ,
135+ { text : 'Guide' , link : '/guide/' } ,
136+ { text : 'CLI Reference' , link : '/cli/' } ,
137+ { text : 'API Reference' , link : '/api/' } ,
137138 {
138139 text : isReleaseBuild ? 'Latest Release' : 'dev' ,
139140 items : getVersionItems ( ) ,
@@ -151,13 +152,13 @@ export default defineConfig({
151152 '/api/' : [
152153 {
153154 text : 'API Reference' ,
154- items : [ { text : 'Overview' , link : '/api/' } ] ,
155+ items : [ { text : 'Overview' , link : '/api/' } ] ,
155156 } ,
156157 ...typedocSidebar ,
157158 ] ,
158159 } ,
159160
160- socialLinks : [ { icon : 'github' , link : 'https://github.com/SalesforceCommerceCloud/b2c-developer-tooling' } ] ,
161+ socialLinks : [ { icon : 'github' , link : 'https://github.com/SalesforceCommerceCloud/b2c-developer-tooling' } ] ,
161162
162163 search : {
163164 provider : 'local' ,
0 commit comments