Skip to content

Commit

Permalink
chore: Update NetlifyCMS to DecapCMS in Pages docs
Browse files Browse the repository at this point in the history
  • Loading branch information
apburnes committed Sep 18, 2023
1 parent 5d91421 commit 9948c0d
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
4 changes: 2 additions & 2 deletions _data/pages/navigation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ sidenav:
href: /pages/documentation/sandbox/
- text: "21st Century IDEA"
href: /pages/documentation/21st-century-idea/
- text: Getting started with Netlify CMS
href: /pages/documentation/getting-started-with-netlify-cms/
- text: Getting started with Decap CMS
href: /pages/documentation/getting-started-with-decap-cms/
- text: Included with Pages
href: /pages/documentation/included-with-pages/
- text: Instructional demos
Expand Down
2 changes: 1 addition & 1 deletion _pages/pages/documentation/add-user.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ As a new user to the platform you will be sent an invitation via email. The link



Netlify CMS users **must** login to pages.cloud.gov prior to using the content editor.
Decap CMS users **must** login to pages.cloud.gov prior to using the content editor.

## Who should be added

Expand Down
26 changes: 13 additions & 13 deletions _pages/pages/documentation/getting-started-with-netlify-cms.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
---
title: Getting started with Netlify CMS
permalink: /pages/documentation/getting-started-with-netlify-cms/
title: Getting started with Decap CMS
permalink: /pages/documentation/getting-started-with-decap-cms/
layout: docs
navigation: pages
sidenav: pages-documentation
---

Pages recently integrated support for Netlify CMS, an open source content management system for your Github-based content that provides editors with a friendly UI and workflow.
Pages recently integrated support for Decap CMS, an open source content management system for your Github-based content that provides editors with a friendly UI and workflow.

### Building a new site from template
The Pages templates include pre-configured Netlify CMS functionality. To begin utilizing:
The Pages templates include pre-configured Decap CMS functionality. To begin utilizing:
1. select the [template]({{site.baseurl}}/pages/documentation/templates/) that you wish to use as your base site
2. navigate to the new GitHub repository that Pages created, and **update** the Netlify CMS configuration to point to the current repository
2. navigate to the new GitHub repository that Pages created, and **update** the Decap CMS configuration to point to the current repository

```
# 11ty: /admin/config.yml
Expand All @@ -24,10 +24,10 @@ The Pages templates include pre-configured Netlify CMS functionality. To begin u
```
3. when you are done, your configuration should look something like the one in [configuration requirements](#configuration-requirements)

4. once your site is rebuilt in Pages, Netlify CMS is ready to use! Navigate to `https://<your site url>/admin` and edit away.
4. once your site is rebuilt in Pages, Decap CMS is ready to use! Navigate to `https://<your site url>/admin` and edit away.

### Adding Netlify CMS to existing site
If your site is already up and running, please follow the instructions on [Netlify's Add To Your Site](https://www.netlifycms.org/docs/add-to-your-site/) page to add Netlify CMS. Please pay particular attention to the location of the admin folder depending on your static site generator.
### Adding Decap CMS to existing site
If your site is already up and running, please follow the instructions on [Decap's Add To Your Site](https://decapcms.org/docs/add-to-your-site/) page to add Decap CMS. Please pay particular attention to the location of the admin folder depending on your static site generator.

- 11ty: `/admin/config.yml`
- Gatsby or Hugo: `/static/admin/config.yml`
Expand All @@ -37,7 +37,7 @@ For examples of existing configurations, see the Pages starter:
- [Pages USWDS Gatsby](https://github.com/cloud-gov/pages-uswds-gatsby/blob/main/static/admin/config.yml)

### Configuration Requirements
To use Netlify CMS, you must authenticate with Github, and in order for Pages to facilitate this, your Netlify CMS configuration should include the following:
To use Decap CMS, you must authenticate with Github, and in order for Pages to facilitate this, your Decap CMS configuration should include the following:

```
Expand All @@ -55,10 +55,10 @@ To use Netlify CMS, you must authenticate with Github, and in order for Pages to
...
```

See [Netlify CMS Backends Overview](https://decapcms.org/docs/backends-overview/) for a full description of the configuration options.
See [Decap CMS Backends Overview](https://decapcms.org/docs/backends-overview/) for a full description of the configuration options.

### Authentication Requirements
Because Pages facilitates the authentication with Github, we require users of Netlify CMS to be Pages users in addition to having `write` permissions to the Github repository.
Because Pages facilitates the authentication with Github, we require users of Decap CMS to be Pages users in addition to having `write` permissions to the Github repository.

### Getting familiar with Netlify CMS
To learn more about Netlify CMS and how it may help you manage content changes on your Pages site, please visit [netlifycms.org/]([https://www.netlifycms.org/)
### Getting familiar with Decap CMS
To learn more about Decap CMS and how it may help you manage content changes on your Pages site, please visit [decapcms.org](https://www.decapcms.org/)

0 comments on commit 9948c0d

Please sign in to comment.