Skip to content

Commit 33df89b

Browse files
authored
Merge pull request #7 from 29next/upgrade-3-9-2
Upgrade to Docusaurus 3.9.2
2 parents 62d614b + 528d9f5 commit 33df89b

10 files changed

Lines changed: 18265 additions & 10835 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

docs/apps/app-development-flow.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,10 @@ You should always test and verify your latest changes on your development store
2424
:::
2525

2626

27-
```mdx-code-block
28-
2927
import DevelopmentStore from '@site/_snippets/_offer-development-store.mdx';
3028

3129
<DevelopmentStore name="Development Store Offer" />
3230

33-
```
34-
3531
### Releases
3632

3733
Once you're confident with your app and tested it on your development store, you can create a **Release** on the App detail page in your Partner account. Releases are versioned snapshots of your App that can be installed on public stores and also trigger updates for existing installations. Store's always install the latest version of your app.

docs/apps/guides/storefront-extension.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ Storefront extensions are commonly used for but not limited to:
1919

2020
2. Make sure you have access to a store you plan to use for development - you will use this in later steps.
2121

22-
```mdx-code-block
2322

2423
import DevelopmentStore from '@site/_snippets/_offer-development-store.mdx';
2524

2625
<DevelopmentStore name="Development Store Offer" />
2726

2827

28+
2929
### App Layout Overview
3030

3131
Let's take a look at the basic file structure of apps to understand how to get started creating our first app.

docusaurus.config.js

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ const config = {
6868
url: 'https://developers.29next.com',
6969
baseUrl: '/',
7070
onBrokenLinks: 'throw',
71-
onBrokenMarkdownLinks: 'warn',
71+
onBrokenAnchors: 'ignore',
72+
// onBrokenMarkdownLinks: 'warn',
7273
favicon: 'img/logo-icon.png',
7374
trailingSlash: true,
7475
// GitHub pages deployment config.
@@ -83,13 +84,19 @@ const config = {
8384
defaultLocale: 'en',
8485
locales: ['en'],
8586
},
86-
87+
markdown: {
88+
mermaid: true,
89+
hooks: {
90+
onBrokenMarkdownLinks: 'warn',
91+
},
92+
},
8793
presets: [
8894
[
8995
'classic',
9096
/** @type {import('@docusaurus/preset-classic').Options} */
9197
({
9298
docs: {
99+
routeBasePath: '/docs',
93100
sidebarPath: require.resolve('./sidebars.js'),
94101
include: ['**/*.md', '**/*.mdx'],
95102
exclude: [
@@ -173,7 +180,7 @@ const config = {
173180
prism: {
174181
theme: lightCodeTheme,
175182
darkTheme: darkCodeTheme,
176-
additionalLanguages: ['django'],
183+
additionalLanguages: ['python', 'markup-templating'],
177184
},
178185
mermaid: {
179186
theme: {
@@ -193,8 +200,9 @@ const config = {
193200
appId: 'GNSJUJD786',
194201
apiKey: '384f2da9c9bcc8dad6907d70da1894e9',
195202
indexName: 'docs',
196-
searchParameters: {},
197-
searchPagePath: 'search',
203+
// contextualSearch: false,
204+
// searchParameters: {},
205+
// searchPagePath: 'search',
198206
},
199207
}),
200208
};

0 commit comments

Comments
 (0)