diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a1ce45ce59..3fe394a58d 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -5,10 +5,10 @@ We do have a few guidelines to bear in mind. ## Community -We have two Slack channels for the Prototype kit. You'll need a government email address to join them. +We have two Slack channels for the Prototype Kit. You'll need a government email address to join them. -* [Slack channel for users of the prototype kit](https://ukgovernmentdigital.slack.com/messages/prototype-kit/) -* [Slack channel for developers of the prototype kit](https://ukgovernmentdigital.slack.com/messages/prototype-kit-dev/) +* [Slack channel for users of the Prototype Kit](https://ukgovernmentdigital.slack.com/messages/prototype-kit/) +* [Slack channel for developers of the Prototype Kit](https://ukgovernmentdigital.slack.com/messages/prototype-kit-dev/) ## Raising bugs diff --git a/README.md b/README.md index a6733faef9..4d33c43474 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ -# GOV.UK Prototype kit · [![Greenkeeper badge](https://badges.greenkeeper.io/alphagov/govuk_prototype_kit.svg)](https://greenkeeper.io/) +# GOV.UK Prototype Kit · [![Greenkeeper badge](https://badges.greenkeeper.io/alphagov/govuk_prototype_kit.svg)](https://greenkeeper.io/) Go to the [GOV.UK Prototype Kit site](https://govuk-prototype-kit.herokuapp.com/docs) to download the latest version and read the documentation. -## About the prototype kit +## About the Prototype Kit -The prototype kit provides a simple way to make interactive prototypes that look like pages on GOV.UK. These prototypes can be used to show ideas to people you work with, and to do user research. +The Prototype Kit provides a simple way to make interactive prototypes that look like pages on GOV.UK. These prototypes can be used to show ideas to people you work with, and to do user research. Read the [project principles](https://govuk-prototype-kit.herokuapp.com/docs/principles). @@ -21,7 +21,7 @@ You must protect user privacy at all times, even when using prototypes. Prototyp ## Community -We have two Slack channels for the Prototype kit. You'll need a government email address to join them. +We have two Slack channels for the Prototype Kit. You'll need a government email address to join them. -* [Slack channel for users of the prototype kit](https://ukgovernmentdigital.slack.com/messages/prototype-kit/) -* [Slack channel for developers of the prototype kit](https://ukgovernmentdigital.slack.com/messages/prototype-kit-dev/) +* [Slack channel for users of the Prototype Kit](https://ukgovernmentdigital.slack.com/messages/prototype-kit/) +* [Slack channel for developers of the Prototype Kit](https://ukgovernmentdigital.slack.com/messages/prototype-kit-dev/) diff --git a/app/views/includes/breadcrumb_examples.html b/app/views/includes/breadcrumb_examples.html index 4dc2e34e8d..947079bfb6 100644 --- a/app/views/includes/breadcrumb_examples.html +++ b/app/views/includes/breadcrumb_examples.html @@ -1,7 +1,7 @@
  1. - GOV.UK prototype kit + GOV.UK Prototype Kit
  2. Examples diff --git a/app/views/index.html b/app/views/index.html index 0eb41a3ffe..7e5b8b8fc1 100644 --- a/app/views/index.html +++ b/app/views/index.html @@ -2,7 +2,7 @@ {% extends "layout.html" %} {% block pageTitle %} - GOV.UK prototype kit + GOV.UK Prototype Kit {% endblock %} {% block content %} @@ -10,7 +10,7 @@

    - The GOV.UK prototype kit + The GOV.UK Prototype Kit {{releaseVersion}}

    {{releaseVersion | log }}

    diff --git a/app/views/layout.html b/app/views/layout.html index 95991f0dbc..70a22f0117 100644 --- a/app/views/layout.html +++ b/app/views/layout.html @@ -27,7 +27,7 @@ {% endblock %} {% block pageTitle %} - GOV.UK prototype kit + GOV.UK Prototype Kit {% endblock %} {% block header %} @@ -61,5 +61,5 @@ {% include "includes/scripts.html" %} {% block pageScripts %}{% endblock %} {% endblock %} - + {% endblock %} diff --git a/docs/documentation/install/introduction.md b/docs/documentation/install/introduction.md index afab3d3e43..6f9da023ed 100644 --- a/docs/documentation/install/introduction.md +++ b/docs/documentation/install/introduction.md @@ -10,7 +10,7 @@ If you’re comfortable using git and the terminal, you may prefer the [develope ## Introduction -The prototype kit provides a simple way to make interactive prototypes that look and feel like pages on GOV.UK. These prototypes can be used to design and lay out pages, and to use in user research. +The GOV.UK Prototype Kit provides a simple way to make interactive prototypes that look and feel like pages on GOV.UK. These prototypes can be used to design and lay out pages, and to use in user research. diff --git a/docs/documentation/install/run-the-kit.md b/docs/documentation/install/run-the-kit.md index 84397916ad..644ef04425 100644 --- a/docs/documentation/install/run-the-kit.md +++ b/docs/documentation/install/run-the-kit.md @@ -24,7 +24,7 @@ In your web browser, visit http: You should see the prototype welcome page. -![Screenshot of the prototype kit homepage](/public/images/docs/prototype-kit-homepage.png) +![Screenshot of the Prototype Kit homepage](/public/images/docs/prototype-kit-homepage.png) ## Quitting the kit diff --git a/docs/documentation/principles.md b/docs/documentation/principles.md index a4b1002a5b..ccd125bce3 100644 --- a/docs/documentation/principles.md +++ b/docs/documentation/principles.md @@ -1,6 +1,6 @@ # Principles -The prototype kit: +The GOV.UK Prototype Kit: - is designed for prototyping, not for production code - requires minimal skills to get started: HTML, CSS diff --git a/docs/documentation/setting-up-git.md b/docs/documentation/setting-up-git.md index 44b8be0b3c..8414866d6b 100644 --- a/docs/documentation/setting-up-git.md +++ b/docs/documentation/setting-up-git.md @@ -4,7 +4,7 @@ Git helps track changes in code and lets you undo mistakes or identify bugs. It This guide will walk you through setting up a git repo (repository) and committing your work so that you can publish your prototype on the web. -> You don’t *have* to use Git to use the prototype kit, but it will be really useful if you learn some basics. +> You don’t *have* to use Git to use the Prototype Kit, but it will be really useful if you learn some basics. > Git is not the same as GitHub. Git stores versions of your work, and lets you collaborate more easily with others. GitHub puts it all online with a nice web interface. diff --git a/docs/documentation/writing-css.md b/docs/documentation/writing-css.md index f720710ae9..e165b22a88 100644 --- a/docs/documentation/writing-css.md +++ b/docs/documentation/writing-css.md @@ -1,6 +1,6 @@ # Writing CSS -CSS used in the prototype kit is written in the SCSS syntax of [Sass](http://sass-lang.com/documentation/file.SASS_REFERENCE.html#syntax). +CSS used in the Prototype Kit is written in the SCSS syntax of [Sass](http://sass-lang.com/documentation/file.SASS_REFERENCE.html#syntax). ## Sass @@ -10,7 +10,7 @@ SCSS was chosen because you can paste CSS into it without breaking it which is u ## Writing code -You write your Sass in [app/assets/sass](../app/assets/sass) and the prototype kit will compile it into the CSS used in your page (found in /public/stylesheets). The app watches your files so this will happen automatically. +You write your Sass in [app/assets/sass](../app/assets/sass) and the Prototype Kit will compile it into the CSS used in your page (found in /public/stylesheets). The app watches your files so this will happen automatically. There is already a CSS file included to use called [application.scss](../app/assets/sass/application.scss) which compiles into [application.css](../public/stylesheets/application.css). Note that Sass files are identified by the `.scss` extension. diff --git a/docs/linting.md b/docs/linting.md index d1fc90921a..3e3ebd087e 100644 --- a/docs/linting.md +++ b/docs/linting.md @@ -1,6 +1,6 @@ # Linting -The prototype kit uses [standardjs](http://standardjs.com/), an opinionated JavaScript linter. All JavaScript files follow its conventions, and it runs on CI to ensure that new pull requests are in line with them. +The GOV.UK Prototype Kit uses [standardjs](http://standardjs.com/), an opinionated JavaScript linter. All JavaScript files follow its conventions, and it runs on CI to ensure that new pull requests are in line with them. ## Running standard manually @@ -32,9 +32,9 @@ There are [official guides for most of the popular editors](http://standardjs.co ## Do I need to respect this? -If you want to submit a pull request to the prototype kit, your code will need to pass the linter. +If you want to submit a pull request to the GOV.UK Prototype Kit, your code will need to pass the linter. -If you're just using the prototype kit in a separate project, then no, you aren't forced to use standard, or any other linter for that matter. Just write code as you would normally. +If you're just using the GOV.UK Prototype Kit in a separate project, then no, you aren't forced to use standard, or any other linter for that matter. Just write code as you would normally. ## Why lint? diff --git a/docs/views/about.html b/docs/views/about.html index 46cc753eb9..245a421746 100644 --- a/docs/views/about.html +++ b/docs/views/about.html @@ -1,14 +1,14 @@ {% extends "layout.html" %} {% block pageTitle %} -About - GOV.UK Prototype kit +About - GOV.UK Prototype Kit {% endblock %} {% block beforeContent %} {{ govukBreadcrumbs({ items: [ { - text: "GOV.UK Prototype kit", + text: "GOV.UK Prototype Kit", href: "/docs" } ] @@ -22,21 +22,21 @@

    About

    - The prototype kit provides a simple way to make interactive prototypes that look like pages on GOV.UK. These prototypes can be used to show ideas to people you work with, and to do user research + The GOV.UK Prototype Kit provides a simple way to make interactive prototypes that look like pages on GOV.UK. These prototypes can be used to show ideas to people you work with, and to do user research

    Community

    -

    We have two Slack channels for the Prototype kit. You'll need a government email address to join.

    +

    We have two Slack channels for the GOV.UK Prototype Kit. You'll need a government email address to join.

    Principles

    -

    The prototype kit:

    +

    The GOV.UK Prototype Kit:

    • is designed for prototyping, not for production code
    • requires minimal skills to get started: HTML, CSS
    • diff --git a/docs/views/cookies.html b/docs/views/cookies.html index df006175e4..b2937eb22c 100644 --- a/docs/views/cookies.html +++ b/docs/views/cookies.html @@ -1,14 +1,14 @@ {% extends "layout.html" %} {% block pageTitle %} -About - GOV.UK Prototype kit +About - GOV.UK Prototype Kit {% endblock %} {% block beforeContent %} {{ govukBreadcrumbs({ items: [ { - text: "GOV.UK Prototype kit", + text: "GOV.UK Prototype Kit", href: "/docs" } ] diff --git a/docs/views/documentation_template.html b/docs/views/documentation_template.html index 30fdd3faa9..184d503644 100644 --- a/docs/views/documentation_template.html +++ b/docs/views/documentation_template.html @@ -1,14 +1,14 @@ {% extends "layout.html" %} {% block pageTitle %} -Documentation - GOV.UK Prototype kit +Documentation - GOV.UK Prototype Kit {% endblock %} {% block beforeContent %} {{ govukBreadcrumbs({ items: [ { - text: "GOV.UK Prototype kit", + text: "GOV.UK Prototype Kit", href: "/docs" }, { diff --git a/docs/views/examples/override-service-name.html b/docs/views/examples/override-service-name.html index 1efc1ba426..5806f24c1c 100644 --- a/docs/views/examples/override-service-name.html +++ b/docs/views/examples/override-service-name.html @@ -1,7 +1,7 @@ {% extends "layout.html" %} {% block pageTitle %} - GOV.UK prototype kit - override service name + GOV.UK Prototype Kit - override service name {% endblock %} {% set serviceName %} diff --git a/docs/views/examples/pass-data/index.html b/docs/views/examples/pass-data/index.html index 8479972a5a..81fcef3ea9 100644 --- a/docs/views/examples/pass-data/index.html +++ b/docs/views/examples/pass-data/index.html @@ -30,7 +30,7 @@

      - The code for the example is in this folder in the prototype kit: + The code for the example is in this folder in the Prototype Kit:

      /docs/views/examples/pass-data
      diff --git a/docs/views/examples/pass-data/vehicle-check-answers.html b/docs/views/examples/pass-data/vehicle-check-answers.html index 753178e374..85e0a2b7b7 100644 --- a/docs/views/examples/pass-data/vehicle-check-answers.html +++ b/docs/views/examples/pass-data/vehicle-check-answers.html @@ -66,7 +66,7 @@

      - Return to prototype kit examples + Return to Prototype Kit examples

      diff --git a/docs/views/includes/breadcrumb_examples.html b/docs/views/includes/breadcrumb_examples.html index ca07a1fbb2..6592e517e0 100644 --- a/docs/views/includes/breadcrumb_examples.html +++ b/docs/views/includes/breadcrumb_examples.html @@ -1,7 +1,7 @@
      1. - GOV.UK prototype kit + GOV.UK Prototype Kit
      2. Tutorials and examples diff --git a/docs/views/index.html b/docs/views/index.html index 0433c1d7df..387767fd61 100644 --- a/docs/views/index.html +++ b/docs/views/index.html @@ -1,7 +1,7 @@ {% extends "layout.html" %} {% block pageTitle %} -GOV.UK prototype kit +GOV.UK Prototype Kit {% endblock %} {% block content %} @@ -9,7 +9,7 @@
        -

        GOV.UK prototype kit

        +

        GOV.UK Prototype Kit

        Rapidly create HTML prototypes of GOV.UK services. diff --git a/docs/views/install.html b/docs/views/install.html index ff20f5aee6..0136b41410 100644 --- a/docs/views/install.html +++ b/docs/views/install.html @@ -1,14 +1,14 @@ {% extends "layout.html" %} {% block pageTitle %} -Getting started - GOV.UK Prototype kit +Getting started - GOV.UK Prototype Kit {% endblock %} {% block beforeContent %} {{ govukBreadcrumbs({ items: [ { - text: "GOV.UK prototype kit", + text: "GOV.UK Prototype Kit", href: "/docs" } ] diff --git a/docs/views/install_template.html b/docs/views/install_template.html index 320b61e6ad..dab58636c3 100644 --- a/docs/views/install_template.html +++ b/docs/views/install_template.html @@ -1,14 +1,14 @@ {% extends "layout.html" %} {% block pageTitle %} -Install - GOV.UK Prototype kit +Install - GOV.UK Prototype Kit {% endblock %} {% block beforeContent %} {{ govukBreadcrumbs({ items: [ { - text: "GOV.UK prototype kit", + text: "GOV.UK Prototype Kit", href: "/docs" }, { diff --git a/docs/views/layout.html b/docs/views/layout.html index a35f51fa53..dcc104ae65 100644 --- a/docs/views/layout.html +++ b/docs/views/layout.html @@ -84,5 +84,5 @@ {% block bodyEnd %} {% include "includes/scripts.html" %} - + {% endblock %} diff --git a/docs/views/privacy-policy.html b/docs/views/privacy-policy.html index 58ea659ead..ca6e43c5a8 100644 --- a/docs/views/privacy-policy.html +++ b/docs/views/privacy-policy.html @@ -1,14 +1,14 @@ {% extends "layout.html" %} {% block pageTitle %} -About - GOV.UK Prototype kit +About - GOV.UK Prototype Kit {% endblock %} {% block beforeContent %} {{ govukBreadcrumbs({ items: [ { - text: "GOV.UK prototype kit", + text: "GOV.UK Prototype Kit", href: "/docs" } ] diff --git a/docs/views/tutorials-and-examples.html b/docs/views/tutorials-and-examples.html index 7e3e165695..a52b96012f 100644 --- a/docs/views/tutorials-and-examples.html +++ b/docs/views/tutorials-and-examples.html @@ -1,14 +1,14 @@ {% extends "layout.html" %} {% block pageTitle %} - GOV.UK prototype kit + GOV.UK Prototype Kit {% endblock %} {% block beforeContent %} {{ govukBreadcrumbs({ items: [ { - text: "GOV.UK Prototype kit", + text: "GOV.UK Prototype Kit", href: "/docs" } ] diff --git a/server.js b/server.js index f2a97427c2..a33a7a686e 100644 --- a/server.js +++ b/server.js @@ -169,7 +169,7 @@ app.get('/prototype-admin/clear-data', function (req, res) { // Redirect root to /docs when in promo mode. if (promoMode === 'true') { - console.log('Prototype kit running in promo mode') + console.log('Prototype Kit running in promo mode') app.locals.cookieText = 'GOV.UK uses cookies to make the site simpler. Find out more about cookies' @@ -177,7 +177,7 @@ if (promoMode === 'true') { res.redirect('/docs') }) - // Allow search engines to index the prototype kit promo site + // Allow search engines to index the Prototype Kit promo site app.get('/robots.txt', function (req, res) { res.type('text/plain') res.send('User-agent: *\nAllow: /') @@ -199,13 +199,13 @@ if (promoMode === 'true') { // Load routes (found in app/routes.js) if (typeof (routes) !== 'function') { console.log(routes.bind) - console.log('Warning: the use of bind in routes is deprecated - please check the prototype kit documentation for writing routes.') + console.log('Warning: the use of bind in routes is deprecated - please check the Prototype Kit documentation for writing routes.') routes.bind(app) } else { app.use('/', routes) } -// Redirect to the zip of the latest release of the prototype kit on GitHub +// Redirect to the zip of the latest release of the Prototype Kit on GitHub app.get('/prototype-admin/download-latest', function (req, res) { var url = utils.getLatestRelease() res.redirect(url) @@ -255,7 +255,7 @@ app.post(/^\/([^.]+)$/, function (req, res) { res.redirect('/' + req.params[0]) }) -console.log('\nGOV.UK Prototype kit v' + releaseVersion) +console.log('\nGOV.UK Prototype Kit v' + releaseVersion) console.log('\nNOTICE: the kit is for building prototypes, do not use it for production services.') // Find a free port and start the server diff --git a/test/spec/sanity-checks.js b/test/spec/sanity-checks.js index 24a215f8cd..6773ac7dea 100644 --- a/test/spec/sanity-checks.js +++ b/test/spec/sanity-checks.js @@ -8,7 +8,7 @@ var assert = require('assert') /** * Basic sanity checks on the dev server */ -describe('The prototype kit', function () { +describe('The Prototype Kit', function () { it('should generate assets into the /public folder', function () { assert.doesNotThrow(function () { fs.accessSync(path.resolve(__dirname, '../../public/javascripts/application.js'))