Skip to content

Commit 0cfa516

Browse files
authored
docs: separate commercetools from core docs (vuestorefront#6575)
1 parent dd3e75b commit 0cfa516

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+103
-6433
lines changed

packages/core/docs/.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,2 @@
11
.vuepress/dist
2-
api.json
3-
.vuepress/public/commercetools
4-
commercetools/reference/api
52
reference/api

packages/core/docs/.vuepress/config.js

Lines changed: 94 additions & 150 deletions
Original file line numberDiff line numberDiff line change
@@ -112,155 +112,99 @@ module.exports = {
112112
{ text: 'Demo', link: 'https://demo-ct.vuestorefront.io' },
113113
{ text: 'Roadmap', link: 'https://www.notion.so/vuestorefront/Vue-Storefront-2-Next-High-level-Roadmap-201cf06abb314b84ad01b7b8463c0437' }
114114
],
115-
sidebar: {
116-
'/commercetools/': [
117-
{
118-
title: 'Essentials',
119-
collapsable: false,
120-
children: [
121-
['/commercetools/', 'Introduction'],
122-
['/commercetools/essentials/store-setup', 'Store setup'],
123-
['/commercetools/essentials/configuration', 'Configuration']
124-
]
125-
},
126-
{
127-
title: 'How-to guides',
128-
collapsable: true,
129-
children: [
130-
['/commercetools/guide/authentication', 'Authentication'],
131-
['/commercetools/guide/cart', 'Cart'],
132-
['/commercetools/guide/checkout', 'Checkout'],
133-
['/commercetools/guide/product-catalog', 'Product catalog'],
134-
['/commercetools/guide/user-profile', 'User profile'],
135-
['/commercetools/guide/wishlist', 'Wishlist'],
136-
]
137-
},
138-
{
139-
title: 'Composables',
140-
collapsable: true,
141-
children: [
142-
['/commercetools/composables/use-billing', 'useBilling'],
143-
['/commercetools/composables/use-cart', 'useCart'],
144-
['/commercetools/composables/use-category', 'useCategory'],
145-
['/commercetools/composables/use-facet', 'useFacet'],
146-
['/commercetools/composables/use-forgot-password', 'useForgotPassword'],
147-
['/commercetools/composables/use-make-order', 'useMakeOrder'],
148-
['/commercetools/composables/use-product', 'useProduct'],
149-
['/commercetools/composables/use-review', 'useReview'],
150-
['/commercetools/composables/use-shipping-provider', 'useShippingProvider'],
151-
['/commercetools/composables/use-shipping', 'useShipping'],
152-
['/commercetools/composables/use-store', 'useStore'],
153-
['/commercetools/composables/use-user-billing', 'useUserBilling'],
154-
['/commercetools/composables/use-user-order', 'useUserOrder'],
155-
['/commercetools/composables/use-user-shipping', 'useUserShipping'],
156-
['/commercetools/composables/use-user', 'useUser'],
157-
['/commercetools/composables/use-wishlist', 'useWishlist']
158-
]
159-
},
160-
{
161-
title: 'Reference',
162-
collapsable: true,
163-
children: [
164-
['/commercetools/reference/api/', 'API Reference'],
165-
['/commercetools/reference/migrate/', 'Migration guide'],
166-
['/commercetools/reference/changelog', 'Changelog']
167-
]
168-
}
169-
],
170-
'/': [
171-
{
172-
title: '',
173-
collapsable: false,
174-
children: [
175-
['/', '👋 Meet Vue Storefront'],
176-
['/general/installation', '💻 Installation'],
177-
['/integrations/', '🔌 Integrations'],
178-
['/general/enterprise', '🚀 Enterprise'],
179-
['/general/support', '🙋 Support'],
180-
]
181-
},
182-
{
183-
title: 'Getting started',
184-
collapsable: false,
185-
children: [
186-
['/getting-started/introduction', 'Introduction'],
187-
['/getting-started/project-structure', 'Project structure'],
188-
['/getting-started/layouts-and-routing', 'Layouts and Routing'],
189-
['/getting-started/theme', 'Theme'],
190-
['/getting-started/configuration', 'Configuration'],
191-
['/getting-started/internationalization', 'Internationalization'],
192-
['/getting-started/logging', 'Logging'],
193-
// ['/', 'Glossary']
194-
]
195-
},
196-
{
197-
title: 'Composition',
198-
collapsable: true,
199-
children: [
200-
['/composition/composition-api', 'Composition API'],
201-
['/composition/composables', 'Composables'],
202-
['/composition/getters', 'Getters'],
203-
['/composition/error-handling', 'Error Handling'],
204-
['/composition/creating-custom-composables', 'Creating custom composables'],
205-
['/composition/extending-graphql-queries', 'Extending GraphQL queries']
206-
]
207-
},
208-
{
209-
title: 'Architecture',
210-
collapsable: true,
211-
children: [
212-
['/architecture/networking', 'Networking'],
213-
['/architecture/application-context', 'Application context'],
214-
['/architecture/server-middleware', 'Server Middleware']
215-
]
216-
},
217-
{
218-
title: 'Extending Vue Storefront',
219-
collapsable: true,
220-
children: [
221-
['/integrate/extending-vue-storefront', 'Extending Vue Storefront'],
222-
['/integrate/extending-integrations', 'Extending integrations'],
223-
['/integrate/integration-guide', 'Integrating eCommerce platform'],
224-
['/integrate/cms', 'Integrating CMS platform'],
225-
['/integrate/cache-driver', 'Integrating cache driver']
226-
]
227-
},
228-
{
229-
title: 'Performance',
230-
collapsable: true,
231-
children: [
232-
['/performance/performance', 'Performance basics'],
233-
['/performance/ssr-cache', 'SSR cache']
234-
]
235-
},
236-
// {
237-
// title: 'Deployment',
238-
// collapsable: true,
239-
// children: [
240-
// ['/', 'Deyploment basics'],
241-
// ['/', 'Continuous Integration (CI)'],
242-
// ['/', 'End-to-End testing (E2E)']
243-
// ]
244-
// },
245-
{
246-
title: 'Reference',
247-
collapsable: true,
248-
children: [
249-
['/reference/api/', 'API Reference'],
250-
['/reference/migrate/', 'Migration guide'],
251-
['/reference/changelog', 'Changelog']
252-
]
253-
},
254-
{
255-
title: 'Contributing',
256-
collapsable: true,
257-
children: [
258-
['/contributing/', 'Contribution basics'],
259-
['/contributing/branching-model', 'Branching model'],
260-
['/contributing/how-to-submit-pull-request', 'How to submit a Pull Request']
261-
]
262-
}
263-
]
264-
}
115+
sidebar: [
116+
{
117+
title: '',
118+
collapsable: false,
119+
children: [
120+
['/', '👋 Meet Vue Storefront'],
121+
['/general/installation', '💻 Installation'],
122+
['/integrations/', '🔌 Integrations'],
123+
['/general/enterprise', '🚀 Enterprise'],
124+
['/general/support', '🙋 Support'],
125+
]
126+
},
127+
{
128+
title: 'Getting started',
129+
collapsable: false,
130+
children: [
131+
['/getting-started/introduction', 'Introduction'],
132+
['/getting-started/project-structure', 'Project structure'],
133+
['/getting-started/layouts-and-routing', 'Layouts and Routing'],
134+
['/getting-started/theme', 'Theme'],
135+
['/getting-started/configuration', 'Configuration'],
136+
['/getting-started/internationalization', 'Internationalization'],
137+
['/getting-started/logging', 'Logging'],
138+
// ['/', 'Glossary']
139+
]
140+
},
141+
{
142+
title: 'Composition',
143+
collapsable: true,
144+
children: [
145+
['/composition/composition-api', 'Composition API'],
146+
['/composition/composables', 'Composables'],
147+
['/composition/getters', 'Getters'],
148+
['/composition/error-handling', 'Error Handling'],
149+
['/composition/creating-custom-composables', 'Creating custom composables'],
150+
['/composition/extending-graphql-queries', 'Extending GraphQL queries']
151+
]
152+
},
153+
{
154+
title: 'Architecture',
155+
collapsable: true,
156+
children: [
157+
['/architecture/networking', 'Networking'],
158+
['/architecture/application-context', 'Application context'],
159+
['/architecture/server-middleware', 'Server Middleware']
160+
]
161+
},
162+
{
163+
title: 'Extending Vue Storefront',
164+
collapsable: true,
165+
children: [
166+
['/integrate/extending-vue-storefront', 'Extending Vue Storefront'],
167+
['/integrate/extending-integrations', 'Extending integrations'],
168+
['/integrate/integration-guide', 'Integrating eCommerce platform'],
169+
['/integrate/cms', 'Integrating CMS platform'],
170+
['/integrate/cache-driver', 'Integrating cache driver']
171+
]
172+
},
173+
{
174+
title: 'Performance',
175+
collapsable: true,
176+
children: [
177+
['/performance/performance', 'Performance basics'],
178+
['/performance/ssr-cache', 'SSR cache']
179+
]
180+
},
181+
// {
182+
// title: 'Deployment',
183+
// collapsable: true,
184+
// children: [
185+
// ['/', 'Deyploment basics'],
186+
// ['/', 'Continuous Integration (CI)'],
187+
// ['/', 'End-to-End testing (E2E)']
188+
// ]
189+
// },
190+
{
191+
title: 'Reference',
192+
collapsable: true,
193+
children: [
194+
['/reference/api/', 'API Reference'],
195+
['/reference/migrate/', 'Migration guide'],
196+
['/reference/changelog', 'Changelog']
197+
]
198+
},
199+
{
200+
title: 'Contributing',
201+
collapsable: true,
202+
children: [
203+
['/contributing/', 'Contribution basics'],
204+
['/contributing/branching-model', 'Branching model'],
205+
['/contributing/how-to-submit-pull-request', 'How to submit a Pull Request']
206+
]
207+
}
208+
]
265209
}
266210
};

packages/core/docs/.vuepress/integrations.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const INTEGRATIONS = {
2424
eCommerce: [
2525
{
2626
name: 'commercetools',
27-
link: '/v2/commercetools',
27+
link: 'https://docs.vuestorefront.io/v2/commercetools/',
2828
image: 'https://uploads-ssl.webflow.com/5e90e5cd5f86784ad554a3c2/5ed627806456312e2aa80da9_1.commercetools_primary-logo_horizontal_RGB.svg',
2929
status: STATUSES.STABLE,
3030
availability: AVAILABILITY.ENTERPRISE,

packages/core/docs/commercetools/composables/use-billing.md

Lines changed: 0 additions & 95 deletions
This file was deleted.

0 commit comments

Comments
 (0)