diff --git a/.github/workflows/lighthouse.yml b/.github/workflows/lighthouse.yml index 3d9dbae27c..7bc937a4e9 100644 --- a/.github/workflows/lighthouse.yml +++ b/.github/workflows/lighthouse.yml @@ -47,7 +47,7 @@ jobs: # Build the documentation site. # This is needed so we can determine the list of URLs to test. - name: Build documentation site - run: yarn build-netlify + run: yarn build-decap # Run Lighthouse CI - name: Run Lighthouse CI diff --git a/.sauce/config.yml b/.sauce/config.yml index 9735b27f37..88be4528d1 100644 --- a/.sauce/config.yml +++ b/.sauce/config.yml @@ -26,7 +26,7 @@ suites: testingType: e2e specPattern: - 'test/cypress/e2e/**/*.cy.js' - # Increase the VM's resolution for Netlify CMS tests that require a wider viewport. + # Increase the VM's resolution for Decap CMS tests that require a wider viewport. screenResolution: '1920x1200' - name: cypress - Windows 11 - edge browser: 'microsoftedge' @@ -38,8 +38,8 @@ suites: - 'test/cypress/e2e/**/*.cy.js' screenResolution: '1920x1200' exclude: - # Netlify CMS is only tested with Chrome - - 'test/cypress/e2e/docs/netlify-cms.cy.js' + # Decap CMS is only tested with Chrome + - 'test/cypress/e2e/docs/decap-cms.cy.js' - name: cypress - Windows 10 - firefox browser: 'firefox' browserVersion: '123' @@ -50,6 +50,6 @@ suites: - 'test/cypress/e2e/**/*.cy.js' screenResolution: '1920x1200' exclude: - # Netlify CMS is only tested with Chrome - - 'test/cypress/e2e/docs/netlify-cms.cy.js' + # Decap CMS is only tested with Chrome + - 'test/cypress/e2e/docs/decap-cms.cy.js' rootDir: . diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 1063e6677c..a72c6279fb 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -55,11 +55,11 @@ and file a pull request by clicking the link to compare changes across forks. ### Updating Documentation The Design System's website lives in this repository's `docs/` directory and is -powered by Netlify CMS and Jekyll. +powered by Decap CMS and Jekyll. To edit any page of the website, click the edit button at the bottom right of the page. You'll need to be added as a contributor to this repository in order to -authenticate with Netlify CMS. +authenticate with Decap CMS. ### Testing components locally diff --git a/README.md b/README.md index 9053e51917..a7d62f26f3 100644 --- a/README.md +++ b/README.md @@ -57,12 +57,12 @@ Expandable.init(document.querySelector('#container')); The Design System's website is available at https://cfpb.github.io/design-system/. It lives in this repository's `docs/` directory -and is powered by [Netlify CMS](https://www.netlifycms.org/) +and is powered by [Decap CMS](https://decapcms.org/) and [Jekyll](https://jekyllrb.com/). To edit any page of the website, click the edit button at the bottom right of the page. You'll need to be added as a contributor to this repository in order to -authenticate with Netlify CMS. +authenticate with Decap CMS. ### Running the documentation website locally @@ -89,8 +89,7 @@ yarn start ``` Visit http://localhost:4000/design-system/ to view the site. -Editing a page locally will change your local files, using -[an experimental Netlify CMS feature](https://www.netlifycms.org/docs/beta-features/#working-with-a-local-git-repository). +Editing a page locally will change your local files. To run accessibility tests against your local files: diff --git a/docs/_layouts/homepage.html b/docs/_layouts/homepage.html index 5d0c8196fb..c12b54c0ff 100644 --- a/docs/_layouts/homepage.html +++ b/docs/_layouts/homepage.html @@ -10,7 +10,7 @@ href=" {{- '/admin/#/collections/special-pages/entries/home' | relative_url -}}" - title="Edit this page in Netlify CMS" + title="Edit this page in Decap CMS" > Edit page {% include icons/edit.svg %} diff --git a/docs/_layouts/variation.html b/docs/_layouts/variation.html index 37d5b14878..feb91d3ad5 100644 --- a/docs/_layouts/variation.html +++ b/docs/_layouts/variation.html @@ -21,7 +21,7 @@ Edit page {% include icons/edit.svg %} diff --git a/docs/admin/config.yml b/docs/admin/config.yml index 28bd58b561..c5a53ca7be 100644 --- a/docs/admin/config.yml +++ b/docs/admin/config.yml @@ -10,11 +10,11 @@ backend: delete: Delete "{{slug}}" page # When running locally, try to use a local proxy server instead of GitHub, if -# one is running (yarn serve-netlify, which uses netlify-cms-proxy-server). +# one is running (yarn serve-decap, which uses decap-server). local_backend: true site_url: https://cfpb.github.io/design-system -logo_url: https://cfpb.github.io/design-system/assets/img/cfpb-netlify-logo.png +logo_url: https://cfpb.github.io/design-system/assets/img/cfpb-cms-logo.png publish_mode: editorial_workflow media_folder: docs/images/uploads public_folder: /design-system/images/uploads diff --git a/docs/admin/index.html b/docs/admin/index.html index 6fa1059777..445a940e6c 100644 --- a/docs/admin/index.html +++ b/docs/admin/index.html @@ -25,8 +25,8 @@ - - + +