Skip to content

Commit

Permalink
Merge pull request #7 from DanRoscigno/diagrams
Browse files Browse the repository at this point in the history
Diagrams
  • Loading branch information
DanRoscigno authored Feb 2, 2024
2 parents edcb47b + cc124ef commit 4320c9c
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,46 @@
# Single sourcing documentation code snippets from end to end tests

## Two lifecycles for technical documentation

#### Documenting a feature

<table>
<tr>
<td> Production failure driven lifecycle </td> <td> CI test driven lifecycle </td>
</tr>
<tr>
<td>

```mermaid
flowchart TD
C[Write Docs]-->
E[Test docs by hand] -- Update the docs -->C
E -->J
J[/Publish Docs/] -->
M[/Breaking change/] -->
P[/Receive Complaint/]
--> E
```

</td>
<td><br/>

```mermaid
flowchart TD
C[/Publish CI Test/]-->
E[Include Test in Docs]-->
J[/Publish Docs/] -->
M[/Breaking change/] -->
P[/CI Fails/] -- Update the tests -->C
C
```

</td>
</tr>
</table>

## Overview/Rant

A year or two ago I saw a GitHub issue related to a bug in some documentation
Expand Down

0 comments on commit 4320c9c

Please sign in to comment.