Skip to content

Commit 865a9f0

Browse files
MetOffice#78 Removes code html tags from mermaid diagram accessibile descriptions
1 parent 7d4ed94 commit 865a9f0

File tree

4 files changed

+19
-19
lines changed

4 files changed

+19
-19
lines changed

episodes/02-branching.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -99,19 +99,19 @@ config:
9999
---
100100
gitGraph
101101
accDescr {A git graph showing four branches including the default
102-
<code>main</code> branch.
102+
main branch.
103103
Each circle is a commit.
104104
A circle with an outline but no fill colour is a merge commit
105105
where one branch has been merged into another.
106-
The two feature branches and the <code>bug_fix</code> branch
107-
all branch off of <code>main</code> at the same commit.
108-
The <code>bug_fix</code> and <code>small_feature</code> branches
109-
are merged back into <code>main</code> after
106+
The two feature branches and the bug_fix branch
107+
all branch off of main at the same commit.
108+
The bug_fix and small_feature branches
109+
are merged back into main after
110110
being developed on their branches.
111-
The <code>large_feature</code> branch merges in the
112-
changes to <code>main</code> to fix any conflicts
111+
The large_feature branch merges in the
112+
changes to main to fix any conflicts
113113
before the feature is ready to be merged
114-
back into the <code>main</code> branch via a pull request.}
114+
back into the main branch via a pull request.}
115115
commit
116116
branch bug_fix
117117
checkout main

episodes/06-conflict.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,8 +201,8 @@ in the `main` branch into our feature branch
201201

202202
```mermaid
203203
gitGraph
204-
accDescr {A git graph showing the <code>main</code> branch being merged
205-
into the <code>7_add-citation-fitzroy</code> branch to resolve merge conflicts.}
204+
accDescr {A git graph showing the main branch being merged
205+
into the 7_add-citation-fitzroy branch to resolve merge conflicts.}
206206
commit id: 'cdb7fa6'
207207
branch 7_add-citation-fitzroy
208208
commit id: 'a3c5e13 Adds Robert Fitzroy as an author'

episodes/07-history.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Starting with:
7676

7777
```mermaid
7878
gitGraph
79-
accDescr {A Git graph showing the <code>main</code> branch with a <code>feature</code> branch branching off at the second commit of <code>main</code>.}
79+
accDescr {A Git graph showing the main branch with a feature branch branching off at the second commit of main.}
8080
commit id: '4631ebc'
8181
commit id: 'ee406ac'
8282
branch feature
@@ -93,7 +93,7 @@ the two branches:
9393

9494
```mermaid
9595
gitGraph
96-
accDescr {A Git graph showing the result of merging a <code>feature</code> branch with the <code>main</code> branch. The history is non-linear in this case and difficult to read.}
96+
accDescr {A Git graph showing the result of merging a feature branch with the main branch. The history is non-linear in this case and difficult to read.}
9797
commit id: '4631ebc'
9898
commit id: 'ee406ac'
9999
branch feature
@@ -125,7 +125,7 @@ Starting with:
125125

126126
```mermaid
127127
gitGraph
128-
accDescr {A Git graph showing the <code>main</code> branch with a <code>feature</code> branch branching off at the second commit of <code>main</code>.}
128+
accDescr {A Git graph showing the main branch with a feature branch branching off at the second commit of main.}
129129
commit id: '4631ebc'
130130
commit id: 'ee406ac'
131131
branch feature
@@ -143,7 +143,7 @@ commit which is then merged onto main:
143143

144144
```mermaid
145145
gitGraph
146-
accDescr {A Git graph showing the result of squashing then merging a <code>feature</code> branch with the <code>main</code> branch.}
146+
accDescr {A Git graph showing the result of squashing then merging a feature branch with the main branch.}
147147
commit id: '4631ebc'
148148
commit id: 'ee406ac'
149149
commit id: '62440f8'
@@ -168,7 +168,7 @@ Starting with:
168168

169169
```mermaid
170170
gitGraph
171-
accDescr {A Git graph showing the <code>main</code> branch with a <code>feature</code> branch branching off at the second commit of <code>main</code>.}
171+
accDescr {A Git graph showing the main branch with a feature branch branching off at the second commit of main.}
172172
commit id: '4631ebc'
173173
commit id: 'ee406ac'
174174
branch feature
@@ -186,7 +186,7 @@ branch and adding them to `main`:
186186

187187
```mermaid
188188
gitGraph
189-
accDescr {A Git graph showing the result of rebasing a <code>feature</code> branch with the <code>main</code> branch.}
189+
accDescr {A Git graph showing the result of rebasing a feature branch with the main branch.}
190190
commit id: '4631ebc'
191191
commit id: 'ee406ac'
192192
commit id: '62440f8'

episodes/08-rebase.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ The git history now looks something like this:
122122

123123
```mermaid
124124
gitGraph
125-
accDescr {A Git graph showing the <code>main</code> branch with the <code>add_plot_script</code> branch branching off at the first commit of <code>main</code>.}
125+
accDescr {A Git graph showing the main branch with the add_plot_script branch branching off at the first commit of main.}
126126
commit id: 'ed14d18'
127127
branch add_plot_script
128128
checkout add_plot_script
@@ -427,7 +427,7 @@ PR was merged with `main`:
427427

428428
```mermaid
429429
gitGraph
430-
accDescr {A Git graph showing the <code>main</code> branch with the <code>add_plot_script</code> branch branching off at the first commit of <code>main</code>.}
430+
accDescr {A Git graph showing the main branch with the add_plot_script branch branching off at the first commit of main.}
431431
commit id: 'ed14d18'
432432
branch add_plot_script
433433
checkout add_plot_script
@@ -444,7 +444,7 @@ This is what we are aiming for:
444444

445445
```mermaid
446446
gitGraph
447-
accDescr {A Git graph showing the <code>main</code> branch with the <code>add_plot_script</code> branch branching off at the second commit of <code>main</code>.}
447+
accDescr {A Git graph showing the main branch with the add_plot_script branch branching off at the second commit of main.}
448448
commit id: 'ed14d18'
449449
commit id: '4rtzk8g'
450450
branch add_plot_script

0 commit comments

Comments
 (0)