From 1c6aa5613962de5ddeaeaa3c6bca046ac3df140a Mon Sep 17 00:00:00 2001 From: Daniel Lautzenheiser Date: Sun, 2 Oct 2022 20:58:20 -0400 Subject: [PATCH] Fix url to docs site --- CONTRIBUTING.md | 2 +- README.md | 6 +++--- src/components/UI/SettingsDropdown.js | 2 +- website/content/docs/docusaurus.md | 4 ++-- website/content/docs/hugo.md | 2 +- website/content/docs/jekyll.md | 8 ++++---- website/content/docs/nextjs.md | 4 ++-- website/content/docs/start-with-a-template.md | 4 ++-- website/content/docs/uploadcare.md | 2 +- website/package.json | 2 +- 10 files changed, 18 insertions(+), 18 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 046a6fbe..ef7286a0 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -95,7 +95,7 @@ backend: When debugging the CMS with Git Gateway you must: -1. Have a Netlify site with [Git Gateway](https://docs.netlify.com/visitor-access/git-gateway/) and [Netlify Identity](https://docs.netlify.com/visitor-access/identity/) enabled. An easy way to create such a site is to use a [template](https://www.staticjscms.github.io/static-cms/docs/start-with-a-template/), for example the [Gatsby template](https://app.netlify.com/start/deploy?repository=https://github.com/AustinGreen/gatsby-starter-netlify-cms&stack=cms) +1. Have a Netlify site with [Git Gateway](https://docs.netlify.com/visitor-access/git-gateway/) and [Netlify Identity](https://docs.netlify.com/visitor-access/identity/) enabled. An easy way to create such a site is to use a [template](https://staticjscms.github.io/static-cms/docs/start-with-a-template/), for example the [Gatsby template](https://app.netlify.com/start/deploy?repository=https://github.com/AustinGreen/gatsby-starter-netlify-cms&stack=cms) 2. Tell the CMS the URL of your Netlify site using a local storage item. To do so: 1. Open `http://localhost:8080/` in the browser diff --git a/README.md b/README.md index 04ba530d..6c37516a 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ -[staticjscms.github.io/static-cms](https://www.staticjscms.github.io/static-cms/) +[staticjscms.github.io/static-cms](https://staticjscms.github.io/static-cms/) A CMS for static site generators. Give users a simple way to edit and add content to any site built with a static site generator. @@ -26,14 +26,14 @@ tweak the main layout of the CMS a bit to fit your own site. When a user navigates to `/admin/` they'll be prompted to log in, and once authenticated they'll be able to create new content or edit existing content. -Read more about Static CMS [Core Concepts](https://www.staticjscms.github.io/static-cms/docs/intro/). +Read more about Static CMS [Core Concepts](https://staticjscms.github.io/static-cms/docs/intro/). # Installation and Configuration The Static CMS can be used in two different ways. * A Quick and easy install, that requires you to create a single HTML file and a configuration file. All the CMS JavaScript and CSS are loaded from a CDN. - To learn more about this installation method, refer to the [Quick Start Guide](https://www.staticjscms.github.io/static-cms/docs/quick-start/) + To learn more about this installation method, refer to the [Quick Start Guide](https://staticjscms.github.io/static-cms/docs/quick-start/) * A complete, more complex install, that gives you more flexibility but requires that you use a static site builder with a build system that supports npm packages. # static-cms-core diff --git a/src/components/UI/SettingsDropdown.js b/src/components/UI/SettingsDropdown.js index 1d2be4fe..184605f8 100644 --- a/src/components/UI/SettingsDropdown.js +++ b/src/components/UI/SettingsDropdown.js @@ -64,7 +64,7 @@ function SettingsDropdown({ displayUrl, isTestRepo, imageUrl, onLogoutClick, t } {isTestRepo && ( diff --git a/website/content/docs/docusaurus.md b/website/content/docs/docusaurus.md index b6b25f34..1a4df3a5 100644 --- a/website/content/docs/docusaurus.md +++ b/website/content/docs/docusaurus.md @@ -33,7 +33,7 @@ The development server now serves your website at `http://localhost:3000`. As yo ## Push your project to GitHub -Static CMS requires a [backend](https://www.staticjscms.github.io/static-cms/docs/backends-overview/) to store content. Static CMS supports using Git hosts, like GitHub or GitLab, as backends. This guide uses GitHub. +Static CMS requires a [backend](https://staticjscms.github.io/static-cms/docs/backends-overview/) to store content. Static CMS supports using Git hosts, like GitHub or GitLab, as backends. This guide uses GitHub. ```bash # 1. Initialize your local Git repository. @@ -209,7 +209,7 @@ collections: - { name: imageUrl, label: ImageURL, widget: string } ``` -`config.yml` specifies what kind of content your blog posts have. The content specification enables Static CMS to edit existing posts and create new ones with the same format. To learn more, read about Static CMS' [](https://www.staticjscms.github.io/static-cms/docs/configuration-options/)[Configuration options](https://www.staticjscms.github.io/static-cms/docs/configuration-options/). +`config.yml` specifies what kind of content your blog posts have. The content specification enables Static CMS to edit existing posts and create new ones with the same format. To learn more, read about Static CMS' [](https://staticjscms.github.io/static-cms/docs/configuration-options/)[Configuration options](https://staticjscms.github.io/static-cms/docs/configuration-options/).
  • diff --git a/website/content/docs/hugo.md b/website/content/docs/hugo.md index 74b29727..56bd69a9 100644 --- a/website/content/docs/hugo.md +++ b/website/content/docs/hugo.md @@ -204,7 +204,7 @@ You can see this basic template includes all the fields you've specified in your Using `registerEditorComponent` we can register a block level component for the Markdown editor. You can use it to add Hugo's inbuilt shortcodes like `gist`,`youtube` and others as block components to the markdown editor. -You can refer to [registering editor components](https://www.staticjscms.github.io/static-cms/docs/custom-widgets/#registereditorcomponent) for a getting started guide or for creating your own editor components. +You can refer to [registering editor components](https://staticjscms.github.io/static-cms/docs/custom-widgets/#registereditorcomponent) for a getting started guide or for creating your own editor components. **Example** diff --git a/website/content/docs/jekyll.md b/website/content/docs/jekyll.md index 73c9cf1f..d87f125e 100644 --- a/website/content/docs/jekyll.md +++ b/website/content/docs/jekyll.md @@ -15,7 +15,7 @@ If you're starting a new project, the fastest route to publishing on a Jekyll we This guide will use the blog you get if you follow the [really excellent official Jekyll step by step tutorial](https://jekyllrb.com/docs/step-by-step/01-setup/) as a starting point. If you're new to Jekyll - I recommended you start by following the tutorial so you know your way around your new blog. Otherwise [you can clone this repo](https://github.com/adamwatters/jekyll-tutorial-with-netlify-cms/tree/without-cms) and checkout the `without-cms` branch. -![Jekyll tutorial blog screenshot](https://www.staticjscms.github.io/static-cms/img/screenshot-jekyll-tutorial-blog.png?raw=true) +![Jekyll tutorial blog screenshot](https://staticjscms.github.io/static-cms/img/screenshot-jekyll-tutorial-blog.png?raw=true) ## Add Static CMS @@ -64,7 +64,7 @@ collections: Static CMS stores content in your online Git repository. Therefore, to make content changes, users need to authenticate with the corresponding Git provider to prove that they have read and write access to that content. -Follow the directions in the Introduction section to [enable Netlify Identity and Git Gateway services](https://www.staticjscms.github.io/static-cms/docs/add-to-your-site/#enable-identity-and-git-gateway) for the backend, then [add the Identity widget](https://www.staticjscms.github.io/static-cms/docs/add-to-your-site/#add-the-netlify-identity-widget) to render a login portal on the frontend. +Follow the directions in the Introduction section to [enable Netlify Identity and Git Gateway services](https://staticjscms.github.io/static-cms/docs/add-to-your-site/#enable-identity-and-git-gateway) for the backend, then [add the Identity widget](https://staticjscms.github.io/static-cms/docs/add-to-your-site/#add-the-netlify-identity-widget) to render a login portal on the frontend. ## CMS Configuration @@ -190,7 +190,7 @@ Next, copy and paste the following into the collections array in `config.yml` be - { label: 'Body', name: 'body', widget: 'markdown' } ``` -Now that we have the `authors` collection configured, we can add an `author` field to the `blog` collection. We'll use the [relation widget](https://www.staticjscms.github.io/static-cms/docs/widgets/#relation) to define the relationship between blog posts and authors. +Now that we have the `authors` collection configured, we can add an `author` field to the `blog` collection. We'll use the [relation widget](https://staticjscms.github.io/static-cms/docs/widgets/#relation) to define the relationship between blog posts and authors. ```yaml # updated fields in blog collection configuration @@ -214,7 +214,7 @@ With that configuration added, you should be able to select the author for a pos ### About Page -Our Jekyll blog includes an About page. It would nice to be able to edit that page just like we can edit our blog and author pages. Static CMS provides [file collections](https://www.staticjscms.github.io/static-cms/docs/collection-types/#file-collections) to solve this problem. +Our Jekyll blog includes an About page. It would nice to be able to edit that page just like we can edit our blog and author pages. Static CMS provides [file collections](https://staticjscms.github.io/static-cms/docs/collection-types/#file-collections) to solve this problem. Copy and paste the following into the collections array in `config.yml` diff --git a/website/content/docs/nextjs.md b/website/content/docs/nextjs.md index 14fdfb40..5232784a 100644 --- a/website/content/docs/nextjs.md +++ b/website/content/docs/nextjs.md @@ -142,7 +142,7 @@ touch index.html touch config.yml ``` -Paste HTML for Static CMS into your `public/admin/index.html` file (check out the [Add Netlify To Your Site](https://www.staticjscms.github.io/static-cms/docs/add-to-your-site/) section for more information) +Paste HTML for Static CMS into your `public/admin/index.html` file (check out the [Add Netlify To Your Site](https://staticjscms.github.io/static-cms/docs/add-to-your-site/) section for more information) ```html @@ -229,6 +229,6 @@ Netlify's Identity and Git Gateway services allow you to manage CMS admin users Great job - you did it! Open your new page via the new Netlify URL, and navigate to `/admin`. If you did everything correct in the previous step, you should now be able to sign up for an account, and log in. -**Tip:** Signing up with an external provider is the easiest. If you want to sign up by email, you'll have to set up a redirect in your index.js page (which we won't be covering in this guide). For more information, have a look at the [Add To Your Site](https://www.staticjscms.github.io/static-cms/docs/add-to-your-site) section. +**Tip:** Signing up with an external provider is the easiest. If you want to sign up by email, you'll have to set up a redirect in your index.js page (which we won't be covering in this guide). For more information, have a look at the [Add To Your Site](https://staticjscms.github.io/static-cms/docs/add-to-your-site) section. Congratulations - you can finally manage your new list of cats! diff --git a/website/content/docs/start-with-a-template.md b/website/content/docs/start-with-a-template.md index 0a5f5eb3..99c34530 100644 --- a/website/content/docs/start-with-a-template.md +++ b/website/content/docs/start-with-a-template.md @@ -71,9 +71,9 @@ After clicking one of those buttons, authenticate with GitHub or GitLab and choo ## Access Static CMS on your new site 1. The template deploy process sends you an invitation to your new site, sent from `no-reply@netlify.com`. - ![Sample email subject line: You've been invited to join radiologist-amanda-53841.netlify.com](https://www.staticjscms.github.io/static-cms/img/email-subject.png?raw=true) + ![Sample email subject line: You've been invited to join radiologist-amanda-53841.netlify.com](https://staticjscms.github.io/static-cms/img/email-subject.png?raw=true) 2. Wait for the deployment to complete, then click the link to accept the invite. Your site will open with a prompt to create a password. - !["Complete your signup" modal on the Kaldi coffee site](https://www.staticjscms.github.io/static-cms/img/create-password.png?raw=true) + !["Complete your signup" modal on the Kaldi coffee site](https://staticjscms.github.io/static-cms/img/create-password.png?raw=true) 3. Enter a password, sign in, and you’ll go to the CMS. (For future visits, you can go straight to `/admin/`.) Try adding and editing posts, or changing the content of the Products page. When you save, the changes are pushed immediately to your Git repository, triggering a build on Netlify, and updating the content on your site. Check out the configuration code by visiting your site repo. diff --git a/website/content/docs/uploadcare.md b/website/content/docs/uploadcare.md index 03aab26f..96a87ada 100644 --- a/website/content/docs/uploadcare.md +++ b/website/content/docs/uploadcare.md @@ -32,7 +32,7 @@ media_library: Once you've finished updating your Static CMS configuration, the Uploadcare widget will appear when using the image or file widgets. -**Note:** You'll need to [register the media libraries yourself](https://www.staticjscms.github.io/static-cms/blog/2019/07/netlify-cms-gatsby-plugin-4-0-0#using-media-libraries-with-netlify-cms-app). +**Note:** You'll need to [register the media libraries yourself](https://staticjscms.github.io/static-cms/blog/2019/07/netlify-cms-gatsby-plugin-4-0-0#using-media-libraries-with-netlify-cms-app). ## Configuring the Uploadcare Widget diff --git a/website/package.json b/website/package.json index 2eec5e5d..62782699 100644 --- a/website/package.json +++ b/website/package.json @@ -9,7 +9,7 @@ "reset": "rm -rf .cache" }, "author": "", - "homepage": "https://www.staticjscms.github.io/static-cms/", + "homepage": "https://staticjscms.github.io/static-cms/", "license": "MIT", "dependencies": { "@emotion/cache": "^10.0.29",