From fb32f0f6d0f839d64455a985133d5c09560f1d23 Mon Sep 17 00:00:00 2001 From: Natchapon Saejueng Date: Wed, 27 Apr 2022 13:59:45 +0700 Subject: [PATCH 1/4] Update 10.pages.md --- docs/content/2.guide/3.directory-structure/10.pages.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/2.guide/3.directory-structure/10.pages.md b/docs/content/2.guide/3.directory-structure/10.pages.md index 10d9c2eeb4c..9f761d5190d 100644 --- a/docs/content/2.guide/3.directory-structure/10.pages.md +++ b/docs/content/2.guide/3.directory-structure/10.pages.md @@ -97,7 +97,7 @@ If you place anything within square brackets, it will be turned into a [dynamic If you want a parameter to be _optional_, you must enclose it in double square brackets - for example, `~/pages/[[slug]]/index.vue` or `~/pages/[[slug]].vue` will match both `/` and `/test`. -::StabilityEdge{title="Optional dynamic params with [[slug]] syntax"} +::StabilityEdge{title="Optional dynamic params with [[slug]] syntax"}:: ### Example From ada65c025be41d83e89eb966aa4a28df41b421d1 Mon Sep 17 00:00:00 2001 From: Natchapon Saejueng Date: Wed, 27 Apr 2022 14:28:50 +0700 Subject: [PATCH 2/4] Update 10.pages.md --- docs/content/2.guide/3.directory-structure/10.pages.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/content/2.guide/3.directory-structure/10.pages.md b/docs/content/2.guide/3.directory-structure/10.pages.md index 9f761d5190d..126642dc22d 100644 --- a/docs/content/2.guide/3.directory-structure/10.pages.md +++ b/docs/content/2.guide/3.directory-structure/10.pages.md @@ -97,7 +97,8 @@ If you place anything within square brackets, it will be turned into a [dynamic If you want a parameter to be _optional_, you must enclose it in double square brackets - for example, `~/pages/[[slug]]/index.vue` or `~/pages/[[slug]].vue` will match both `/` and `/test`. -::StabilityEdge{title="Optional dynamic params with [[slug]] syntax"}:: +::StabilityEdge{title="Optional dynamic params with [[slug]] syntax"} +:: ### Example From 8aaa80d2ee1c18c3af6d76ada3f81d8a5cb9ede8 Mon Sep 17 00:00:00 2001 From: Natchapon Saejueng Date: Wed, 27 Apr 2022 14:55:43 +0700 Subject: [PATCH 3/4] Use singl-line syntax --- docs/content/2.guide/3.directory-structure/10.pages.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/content/2.guide/3.directory-structure/10.pages.md b/docs/content/2.guide/3.directory-structure/10.pages.md index 126642dc22d..1fec8027f91 100644 --- a/docs/content/2.guide/3.directory-structure/10.pages.md +++ b/docs/content/2.guide/3.directory-structure/10.pages.md @@ -97,8 +97,7 @@ If you place anything within square brackets, it will be turned into a [dynamic If you want a parameter to be _optional_, you must enclose it in double square brackets - for example, `~/pages/[[slug]]/index.vue` or `~/pages/[[slug]].vue` will match both `/` and `/test`. -::StabilityEdge{title="Optional dynamic params with [[slug]] syntax"} -:: +::StabilityEdge{title="Optional dynamic params with [[slug]] syntax"} :: ### Example From 7f92b51b92cfe3131fb0135b9e77604e3faffe7f Mon Sep 17 00:00:00 2001 From: Natchapon Saejueng Date: Wed, 27 Apr 2022 15:08:25 +0700 Subject: [PATCH 4/4] fix incorrect syntax --- docs/content/2.guide/3.directory-structure/10.pages.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/content/2.guide/3.directory-structure/10.pages.md b/docs/content/2.guide/3.directory-structure/10.pages.md index 1fec8027f91..126642dc22d 100644 --- a/docs/content/2.guide/3.directory-structure/10.pages.md +++ b/docs/content/2.guide/3.directory-structure/10.pages.md @@ -97,7 +97,8 @@ If you place anything within square brackets, it will be turned into a [dynamic If you want a parameter to be _optional_, you must enclose it in double square brackets - for example, `~/pages/[[slug]]/index.vue` or `~/pages/[[slug]].vue` will match both `/` and `/test`. -::StabilityEdge{title="Optional dynamic params with [[slug]] syntax"} :: +::StabilityEdge{title="Optional dynamic params with [[slug]] syntax"} +:: ### Example