Skip to content

Commit fcbba97

Browse files
Make readme clearer (#132)
1 parent 0ef6260 commit fcbba97

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

app/guide/how-to-add-a-new-service.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,15 @@ Posts in this design history are grouped by the service or team they relate to.
1010

1111
You may want to [look at an existing pull request](https://github.com/NHSDigital/prevention-services-design-history/pull/20) to see the files you need to update.
1212

13-
You will need to create some files and folders based on the name of your service, using lowercase and hypens. For example, for `Manage breast screening` you would use `manage-breast-screening`
13+
You will need to create some files and folders based on the name of your service, using lowercase and hypens. For example, for `Manage breast screening` you would use `manage-breast-screening`.
1414

1515
You’ll need to:
1616

1717
* create a Markdown file in `app/posts/`, for example `app/posts/your-service-name.md`. Copy an existing example and update any references to match your service.
18-
* create a folder for your service in `app/images/`, for example `app/images/your-service-name/`
19-
* create a folder for your service in `app/posts/`, for example `app/posts/your-service-name/`
18+
* create a folder for your service in `app/images/`, for example `app/images/your-service-name/`.
19+
* create a folder for your service in `app/posts/`, for example `app/posts/your-service-name/`.
2020
* inside your service’s post folder, ceate a json file `your-service-name.json`, for exampole `app/posts/your-service-name/your-service-name.json`. Copy an existing example for what to put in it.
21-
* update `eleventy.config.js` to create a new 'collection' for your service (copy one of the existing examples)
22-
* update `app/_layouts/_product.njk` to list your new service in the sections variable
23-
* open a pull request with your changes
21+
* update `eleventy.config.js` to create a new 'collection' for your service (copy one of the existing examples).
22+
* update `app/_layouts/_product.njk` to list your new service in the sections variable.
23+
* **note:** you will need to [add a post](/guide/how-to-publish/) before the service can be found in the navigation.
24+
* open a pull request with your changes.

0 commit comments

Comments
 (0)