Skip to content

Commit b1f8ab5

Browse files
committed
initial upgrade progress
1 parent 62d614b commit b1f8ab5

6 files changed

Lines changed: 18254 additions & 10826 deletions

File tree

docs/api/admin/guides/external-checkout.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,11 @@ sidebar_position: 1
44
tags:
55
- Guide
66
---
7-
# External Checkout Flow
8-
9-
``` mdx-code-block
107
import Tabs from '@theme/Tabs';
118
import TabItem from '@theme/TabItem';
12-
```
9+
10+
# External Checkout Flow
11+
1312
In this guide we'll cover the best practices when building an external checkout flow using the Next Commerce Admin API. Using the API gives you the most flexibility of data and functionality across the platform and external integrations.
1413

1514
```mermaid

docs/api/admin/index.md

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,9 @@ sidebar_position: 1
1111
At the core of Next Commerce is the Admin API, developers can manage store resources, integrate third-party services and build seamless external order flows.
1212

1313

14-
15-
```mdx-code-block
16-
1714
import Link from '@docusaurus/Link';
1815

19-
<Link
20-
className="button button--primary button--lg"
21-
to="/docs/api/admin/reference/">
22-
See Admin API Reference
23-
</Link>
24-
25-
```
16+
<Link className="button button--primary button--lg" to="/docs/api/admin/reference/">See Admin API Reference</Link>
2617

2718
### Authentication
2819

docs/api/campaigns.md

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,9 @@ The Campaigns App provides an easy to use CORS enabled API that follows the best
77
### Campaigns App API
88
Campaigns App API is available through the **Campaigns App**. To enable, install the Campaigns App in your store from the Apps view.
99

10-
```mdx-code-block
11-
1210
import Link from '@docusaurus/Link';
1311

14-
<Link
15-
className="button button--primary button--lg"
16-
to="/docs/api/campaigns/reference/">
17-
See Campaigns API Reference
18-
</Link>
19-
20-
```
12+
<Link className="button button--primary button--lg" to="/docs/api/campaigns/reference/">See Campaigns API Reference</Link>
2113

2214
## Campaigns Overview
2315

docusaurus.config.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ const config = {
9090
/** @type {import('@docusaurus/preset-classic').Options} */
9191
({
9292
docs: {
93+
routeBasePath: '/docs',
9394
sidebarPath: require.resolve('./sidebars.js'),
9495
include: ['**/*.md', '**/*.mdx'],
9596
exclude: [
@@ -173,7 +174,7 @@ const config = {
173174
prism: {
174175
theme: lightCodeTheme,
175176
darkTheme: darkCodeTheme,
176-
additionalLanguages: ['django'],
177+
additionalLanguages: ['python', 'markup-templating'],
177178
},
178179
mermaid: {
179180
theme: {
@@ -193,8 +194,9 @@ const config = {
193194
appId: 'GNSJUJD786',
194195
apiKey: '384f2da9c9bcc8dad6907d70da1894e9',
195196
indexName: 'docs',
196-
searchParameters: {},
197-
searchPagePath: 'search',
197+
// contextualSearch: false,
198+
// searchParameters: {},
199+
// searchPagePath: 'search',
198200
},
199201
}),
200202
};

0 commit comments

Comments
 (0)