From 8ce677aa1488b01a85a764a6aaa25b17dc517503 Mon Sep 17 00:00:00 2001 From: Joris W Date: Tue, 29 Sep 2020 13:59:06 +0200 Subject: [PATCH 1/3] Add missing introductory exportPathMap purpose description --- docs/api-reference/next.config.js/exportPathMap.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/api-reference/next.config.js/exportPathMap.md b/docs/api-reference/next.config.js/exportPathMap.md index bd6a7c28c090a..467d988b8633f 100644 --- a/docs/api-reference/next.config.js/exportPathMap.md +++ b/docs/api-reference/next.config.js/exportPathMap.md @@ -4,6 +4,8 @@ description: Customize the pages that will be exported as HTML files when using # exportPathMap +`exportPathMap` allows you to specify a mapping of request paths to page destinations, to be used during export. + > This feature is exclusive of `next export`. Please refer to [Static HTML export](/docs/advanced-features/static-html-export.md) if you want to learn more about it.
From 4ef400accf8896e32f76349e40466c7ba591f5a2 Mon Sep 17 00:00:00 2001 From: Joris W Date: Thu, 1 Oct 2020 10:01:27 +0200 Subject: [PATCH 2/3] Update exportPathMap.md --- docs/api-reference/next.config.js/exportPathMap.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/api-reference/next.config.js/exportPathMap.md b/docs/api-reference/next.config.js/exportPathMap.md index 467d988b8633f..98a5a4845f6db 100644 --- a/docs/api-reference/next.config.js/exportPathMap.md +++ b/docs/api-reference/next.config.js/exportPathMap.md @@ -4,10 +4,6 @@ description: Customize the pages that will be exported as HTML files when using # exportPathMap -`exportPathMap` allows you to specify a mapping of request paths to page destinations, to be used during export. - -> This feature is exclusive of `next export`. Please refer to [Static HTML export](/docs/advanced-features/static-html-export.md) if you want to learn more about it. -
Examples
    @@ -15,6 +11,10 @@ description: Customize the pages that will be exported as HTML files when using
+> This feature is exclusive of `next export`. Please refer to [Static HTML export](/docs/advanced-features/static-html-export.md) if you want to learn more about it. + +`exportPathMap` allows you to specify a mapping of request paths to page destinations, to be used during export. + Let's start with an example, to create a custom `exportPathMap` for an app with the following pages: - `pages/index.js` From 17f36eed68c34e456b6148ca23c107c0c2d4232f Mon Sep 17 00:00:00 2001 From: Joris W Date: Sat, 3 Oct 2020 15:45:22 +0200 Subject: [PATCH 3/3] Update exportPathMap.md --- docs/api-reference/next.config.js/exportPathMap.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/api-reference/next.config.js/exportPathMap.md b/docs/api-reference/next.config.js/exportPathMap.md index 98a5a4845f6db..c28f201852b6c 100644 --- a/docs/api-reference/next.config.js/exportPathMap.md +++ b/docs/api-reference/next.config.js/exportPathMap.md @@ -4,6 +4,8 @@ description: Customize the pages that will be exported as HTML files when using # exportPathMap +> This feature is exclusive of `next export`. Please refer to [Static HTML export](/docs/advanced-features/static-html-export.md) if you want to learn more about it. +
Examples
    @@ -11,8 +13,6 @@ description: Customize the pages that will be exported as HTML files when using
-> This feature is exclusive of `next export`. Please refer to [Static HTML export](/docs/advanced-features/static-html-export.md) if you want to learn more about it. - `exportPathMap` allows you to specify a mapping of request paths to page destinations, to be used during export. Let's start with an example, to create a custom `exportPathMap` for an app with the following pages: