Skip to content

Commit cc92724

Browse files
saf links
1 parent 19b9b02 commit cc92724

File tree

9 files changed

+65
-4
lines changed

9 files changed

+65
-4
lines changed

_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ defaults:
5555
path: "" # an empty string here means all files in the project
5656
type: "saf_dimensions" # previously `post` in Jekyll 2.2.
5757
values:
58-
layout: "home"
58+
layout: "saf_dimensions"
5959
-
6060
scope:
6161
path: "guidance" # an empty string here means all files in the project

_includes/saf_dimension.html

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<h2>SAFs</h2>
2+
3+
<table>
4+
{% for saf in site.safs %}
5+
{% if saf.dimension != include.saf_dimension_name %}
6+
{% continue %}
7+
{% endif %}
8+
9+
<tr>
10+
<td>
11+
<a href="{{ saf.url | relative_url }}">
12+
{{ saf.title }}
13+
</a>
14+
</td>
15+
<td>
16+
{{saf.content | markdownify | remove: '<p>' | remove: '</p>' }}
17+
</td>
18+
</tr>
19+
20+
{% endfor %}
21+
</table>

_layouts/home.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
layout: default
33
---
44

5-
<link rel="stylesheet" href="./assets/nhsuk/css/nhsuk-9.6.1.min.css">
5+
<link rel="stylesheet" href="{{ 'assets/nhsuk/css/nhsuk-9.6.1.min.css' | relative_url }}" />
66

77
{{ content }}
88

_layouts/saf_dimensions.html

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
layout: home
3+
---
4+
5+
<h1>{{ page.code }}: {{ page.title }}</h1>
6+
{{ content }}
7+
8+
9+
10+
11+
{%- include saf_dimension.html saf_dimension_name=page.name -%}

_layouts/safs.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
---
22
layout: home
33
---
4+
{%- assign saf_dimension = site.saf_dimensions | find:"name", page.dimension -%}
5+
6+
7+
<h1>{{ page.title }}: {{ saf_dimension.title }}</h1>
8+
49

5-
<h1>{{ page.title }}</h1>
610
{{ content }}
11+

_saf_dimensions/non_functional.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
name: design
2+
name: non functional
33
code: NF
44
title: Non-Functional Design
55
description: Do we understand the non-functional needs of the service, are we creating a solution which can meet those need and be flexible, without over engineering?

_safs/d/d01.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
title: D01
3+
dimension: documentation
4+
tags: [req]
5+
nav_order: 2.71
6+
---
7+
8+
All architecture documentation **MUST** be maintained within the appropriate NHS England knowledge store e.g. Aalto, SharePoint, Confluence

_safs/nf/nf01.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
title: NF01
3+
dimension: non functional
4+
tags: [req]
5+
nav_order: 2.51
6+
---
7+
8+
Solutions **MUST** incorporate workload observability, understand service health, and respond to events

_safs/ru/ru01.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
title: RU01
3+
dimension: reuse
4+
tags: [req]
5+
nav_order: 2.61
6+
---
7+
8+
If reusing existing capabilities, we MUST be confident that any additional functionality required can be sensibly and cost effectively added to the existing service i.e we are not bending something out of shape

0 commit comments

Comments
 (0)