From 745494a9a3ef630a87d6ee2fca602b222d1f3ba9 Mon Sep 17 00:00:00 2001 From: Shu Uesugi Date: Mon, 9 Mar 2020 09:47:21 -0700 Subject: [PATCH] Add demo URL for the DatoCMS example (#10901) --- docs/advanced-features/preview-mode.md | 2 +- docs/basic-features/data-fetching.md | 2 +- docs/basic-features/pages.md | 2 +- examples/cms-datocms/README.md | 4 ++++ 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/docs/advanced-features/preview-mode.md b/docs/advanced-features/preview-mode.md index a5ef1e901e069b2..b0afff67050f3ac 100644 --- a/docs/advanced-features/preview-mode.md +++ b/docs/advanced-features/preview-mode.md @@ -153,7 +153,7 @@ https:///api/preview?secret=&slug= Take a look at the following examples to learn more: -- [DatoCMS Example](https://github.com/zeit/next.js/tree/canary/examples/cms-datocms) +- [DatoCMS Example](https://github.com/zeit/next.js/tree/canary/examples/cms-datocms) ([Demo](https://next-blog-datocms.now.sh/)) ## More Details diff --git a/docs/basic-features/data-fetching.md b/docs/basic-features/data-fetching.md index c3f5053cd529f5c..c94a5e5f07054ff 100644 --- a/docs/basic-features/data-fetching.md +++ b/docs/basic-features/data-fetching.md @@ -428,7 +428,7 @@ function Profile() { Take a look at the following examples to learn more: -- [DatoCMS Example](https://github.com/zeit/next.js/tree/canary/examples/cms-datocms) +- [DatoCMS Example](https://github.com/zeit/next.js/tree/canary/examples/cms-datocms) ([Demo](https://next-blog-datocms.now.sh/)) ## Learn more diff --git a/docs/basic-features/pages.md b/docs/basic-features/pages.md index 01142aee742dbe7..9c156edbda0797b 100644 --- a/docs/basic-features/pages.md +++ b/docs/basic-features/pages.md @@ -246,7 +246,7 @@ We've discussed two forms of pre-rendering for Next.js. Take a look at the following examples to learn more: -- [DatoCMS Example](https://github.com/zeit/next.js/tree/canary/examples/cms-datocms) +- [DatoCMS Example](https://github.com/zeit/next.js/tree/canary/examples/cms-datocms) ([Demo](https://next-blog-datocms.now.sh/)) ## Learn more diff --git a/examples/cms-datocms/README.md b/examples/cms-datocms/README.md index 0dffcfa1d8b42cd..ef71e5c4b3747f9 100644 --- a/examples/cms-datocms/README.md +++ b/examples/cms-datocms/README.md @@ -2,6 +2,10 @@ This example showcases Next.js's [Static Generation](/docs/basic-features/pages.md) feature using [DatoCMS](https://www.datocms.com/) as the data source. +## Demo + +### [https://next-blog-datocms.now.sh/](https://next-blog-datocms.now.sh/) + ## How to use ### Using `create-next-app`