Skip to content

Commit

Permalink
[Docs] Use docfx to dynamically render mermaid diagrams (#1701)
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-csala authored Oct 17, 2023
1 parent e869fe8 commit bb08832
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
Binary file removed docs/media/timeout strategy happy path.png
Binary file not shown.
Binary file removed docs/media/timeout strategy unhappy path.png
Binary file not shown.
14 changes: 4 additions & 10 deletions docs/strategies/timeout.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,8 @@ HttpResponseMessage httpResponse = await pipeline.ExecuteAsync(

### Happy path sequence diagram

![Timeout strategy - happy path](../media/timeout%20strategy%20happy%20path.png)

<!-- ```mermaid
```mermaid
%%{init: {'theme':'dark'}}%%
sequenceDiagram
actor C as Caller
participant P as Pipeline
Expand All @@ -98,14 +97,12 @@ sequenceDiagram
DM->>-T: Returns result
T->>P: Returns result
P->>C: Returns result
``` -->
```

### Unhappy path sequence diagram

![Timeout strategy unhappy path](../media/timeout%20strategy%20unhappy%20path.png)

<!---
```mermaid
%%{init: {'theme':'dark'}}%%
sequenceDiagram
actor C as Caller
participant P as Pipeline
Expand All @@ -125,6 +122,3 @@ sequenceDiagram
T->>P: Throws <br/>TimeoutRejectedException
P->>C: Propagates exception
```
-->

---

0 comments on commit bb08832

Please sign in to comment.