NHS App developer documentation is still in progress and will be published in the near future.
Documentation is hosted on GitHub pages: https://nhsconnect.github.io/nhsapp-developer-documentation/
NHS App developer documentation uses 11ty.
To run locally:
-
npm install
-
npm start
-
npm build
to build
This repo is automatically deployed when code is merged to develop. Deployment code is located in .github/workflows/11ty-build.yml.
- Click on the src file here
- Find the file that you would like to edit and click into it
- Click the "Edit" icon button at the top right of the page
- When you are finished making your changes, click Propose file change at the bottom of the page
- You will see a box that will allow you to add a title and description to your changes
- Add a title. The description is optional
- Now click the green button that says "Create Pull Request". Now your changes are in a queue waiting to be accepted by an admin
- If you wish to cancel your request to make changes, click "Close Pull Request"
- Click on the src file here
- Click the "Create new file" button at the top right of the page
- Give your file an appropriate name, making sure to end this name with .md
- When you are finished making your changes, click Propose new file at the bottom of the page
- You will see a box that will allow you to add a title and description to your changes
- Add a title. The description is optional
- Now click the green button that says "Create Pull Request". Now your changes are in a queue waiting to be accepted by an admin
- If you wish to cancel your request to make changes, click "Close Pull Request"
- Make sure before you begin writing your document, that you copy and paste the following block of text to the very top of your document
- Make sure that where it states "Your title", you change it to whatever you would like your title to be
---
layout: base.njk
title: Your title
---
Making sure your document contains this at the very top means that your contribution will automatically use the site theme.