From f322118b542d67ceee2569fcdf74e93b34e0cfc4 Mon Sep 17 00:00:00 2001 From: Maharshi Raval Date: Wed, 5 Sep 2018 12:41:44 +0530 Subject: [PATCH 1/4] An additional option of using jsDelivr As brought up in #1711 , just using upkg lead to an issue and the documentation did not give desired result for a new user when unpkg.com had an outage. And added a comment the code mentioning that jsdelivr is also an option in case this happens again. --- website/content/docs/add-to-your-site.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/website/content/docs/add-to-your-site.md b/website/content/docs/add-to-your-site.md index a679bdf7..dce5eee1 100755 --- a/website/content/docs/add-to-your-site.md +++ b/website/content/docs/add-to-your-site.md @@ -45,6 +45,17 @@ The first file, `admin/index.html`, is the entry point for the Netlify CMS admin + + + ``` The second file, `admin/config.yml`, is the heart of your Netlify CMS installation, and a bit more complex. The [Configuration](#configuration) section covers the details. From 91ec8663212bb034a9b00d9c7c0f3eacc404efe0 Mon Sep 17 00:00:00 2001 From: Maharshi Raval Date: Thu, 6 Sep 2018 00:51:05 +0530 Subject: [PATCH 2/4] Move the large comment to main content As suggested, made the text concise and move it below the code block. --- website/content/docs/add-to-your-site.md | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/website/content/docs/add-to-your-site.md b/website/content/docs/add-to-your-site.md index dce5eee1..a06ea353 100755 --- a/website/content/docs/add-to-your-site.md +++ b/website/content/docs/add-to-your-site.md @@ -45,18 +45,8 @@ The first file, `admin/index.html`, is the entry point for the Netlify CMS admin - - - ``` +In the above code the `script` is loaded from `unpkg` CDN. Should there be any issue with it, `jsDelivr` can be used as an alterntive option. The `src` for that would be `https://cdn.jsdelivr.net/npm/netlify-cms@^2.0.0/dist/netlify-cms.js` The second file, `admin/config.yml`, is the heart of your Netlify CMS installation, and a bit more complex. The [Configuration](#configuration) section covers the details. From 9658dc4e381d4bc28386507625ddc9d0efc36b45 Mon Sep 17 00:00:00 2001 From: Tom Rutgers Date: Mon, 1 Oct 2018 22:12:13 +0200 Subject: [PATCH 3/4] Minor language changes --- website/content/docs/add-to-your-site.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/content/docs/add-to-your-site.md b/website/content/docs/add-to-your-site.md index a06ea353..9d46d611 100755 --- a/website/content/docs/add-to-your-site.md +++ b/website/content/docs/add-to-your-site.md @@ -46,7 +46,7 @@ The first file, `admin/index.html`, is the entry point for the Netlify CMS admin ``` -In the above code the `script` is loaded from `unpkg` CDN. Should there be any issue with it, `jsDelivr` can be used as an alterntive option. The `src` for that would be `https://cdn.jsdelivr.net/npm/netlify-cms@^2.0.0/dist/netlify-cms.js` +In the above code the `script` is loaded from `unpkg` CDN. Should there be any issue with it, `jsDelivr` can be used as an alternative source. The `src` for that would be `https://cdn.jsdelivr.net/npm/netlify-cms@^2.0.0/dist/netlify-cms.js` The second file, `admin/config.yml`, is the heart of your Netlify CMS installation, and a bit more complex. The [Configuration](#configuration) section covers the details. From 5f5f131645e40e44208922e8b5506ec91144c265 Mon Sep 17 00:00:00 2001 From: Tom Rutgers Date: Mon, 1 Oct 2018 22:22:19 +0200 Subject: [PATCH 4/4] Minor language changes --- website/content/docs/add-to-your-site.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/content/docs/add-to-your-site.md b/website/content/docs/add-to-your-site.md index 9d46d611..20d7da2d 100755 --- a/website/content/docs/add-to-your-site.md +++ b/website/content/docs/add-to-your-site.md @@ -46,7 +46,7 @@ The first file, `admin/index.html`, is the entry point for the Netlify CMS admin ``` -In the above code the `script` is loaded from `unpkg` CDN. Should there be any issue with it, `jsDelivr` can be used as an alternative source. The `src` for that would be `https://cdn.jsdelivr.net/npm/netlify-cms@^2.0.0/dist/netlify-cms.js` +In the code above the `script` is loaded from the `unpkg` CDN. Should there be any issue, `jsDelivr` can be used as an alternative source. Simply set the `src` to `https://cdn.jsdelivr.net/npm/netlify-cms@^2.0.0/dist/netlify-cms.js` The second file, `admin/config.yml`, is the heart of your Netlify CMS installation, and a bit more complex. The [Configuration](#configuration) section covers the details.