Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions docs/api/admin/guides/external-checkout.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,11 @@ sidebar_position: 1
tags:
- Guide
---
# External Checkout Flow

``` mdx-code-block
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
```

# External Checkout Flow

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.

```mermaid
Expand Down
11 changes: 1 addition & 10 deletions docs/api/admin/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,9 @@ sidebar_position: 1
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.



```mdx-code-block

import Link from '@docusaurus/Link';

<Link
className="button button--primary button--lg"
to="/docs/api/admin/reference/">
See Admin API Reference
</Link>

```
<Link className="button button--primary button--lg" to="/docs/api/admin/reference/">See Admin API Reference</Link>

### Authentication

Expand Down
10 changes: 1 addition & 9 deletions docs/api/campaigns.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,9 @@ The Campaigns App provides an easy to use CORS enabled API that follows the best
### Campaigns App API
Campaigns App API is available through the **Campaigns App**. To enable, install the Campaigns App in your store from the Apps view.

```mdx-code-block

import Link from '@docusaurus/Link';

<Link
className="button button--primary button--lg"
to="/docs/api/campaigns/reference/">
See Campaigns API Reference
</Link>

```
<Link className="button button--primary button--lg" to="/docs/api/campaigns/reference/">See Campaigns API Reference</Link>

## Campaigns Overview

Expand Down
4 changes: 0 additions & 4 deletions docs/apps/app-development-flow.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,10 @@ You should always test and verify your latest changes on your development store
:::


```mdx-code-block

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

<DevelopmentStore name="Development Store Offer" />

```

### Releases

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.
Expand Down
2 changes: 1 addition & 1 deletion docs/apps/guides/storefront-extension.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ Storefront extensions are commonly used for but not limited to:

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

```mdx-code-block

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

<DevelopmentStore name="Development Store Offer" />



### App Layout Overview

Let's take a look at the basic file structure of apps to understand how to get started creating our first app.
Expand Down
18 changes: 13 additions & 5 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ const config = {
url: 'https://developers.29next.com',
baseUrl: '/',
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
onBrokenAnchors: 'ignore',
// onBrokenMarkdownLinks: 'warn',
favicon: 'img/logo-icon.png',
trailingSlash: true,
// GitHub pages deployment config.
Expand All @@ -83,13 +84,19 @@ const config = {
defaultLocale: 'en',
locales: ['en'],
},

markdown: {
mermaid: true,
hooks: {
onBrokenMarkdownLinks: 'warn',
},
},
presets: [
[
'classic',
/** @type {import('@docusaurus/preset-classic').Options} */
({
docs: {
routeBasePath: '/docs',
sidebarPath: require.resolve('./sidebars.js'),
include: ['**/*.md', '**/*.mdx'],
exclude: [
Expand Down Expand Up @@ -173,7 +180,7 @@ const config = {
prism: {
theme: lightCodeTheme,
darkTheme: darkCodeTheme,
additionalLanguages: ['django'],
additionalLanguages: ['python', 'markup-templating'],
},
mermaid: {
theme: {
Expand All @@ -193,8 +200,9 @@ const config = {
appId: 'GNSJUJD786',
apiKey: '384f2da9c9bcc8dad6907d70da1894e9',
indexName: 'docs',
searchParameters: {},
searchPagePath: 'search',
// contextualSearch: false,
// searchParameters: {},
// searchPagePath: 'search',
},
}),
};
Expand Down
Loading