Skip to content

Commit

Permalink
Remove theme overwrites (#1705)
Browse files Browse the repository at this point in the history
Fix Mermaid diagrams to match the documentation theme.
  • Loading branch information
peter-csala authored Oct 18, 2023
1 parent 46978cf commit d9fe9c9
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 17 deletions.
4 changes: 2 additions & 2 deletions .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
]
},
"docfx": {
"version": "2.71.0",
"version": "2.71.1",
"commands": [
"docfx"
]
}
}
}
}
5 changes: 0 additions & 5 deletions docs/strategies/circuit-breaker.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ await manualControl.CloseAsync();
### State diagram

```mermaid
%%{init: {'theme':'dark'}}%%
stateDiagram-v2
direction LR
[*] --> Closed
Expand All @@ -120,7 +119,6 @@ Let's suppose we have a circuit breaker strategy wit the following configuration
The circuit will not break because the actual failure ratio (0.33) will be below the threshold (0.5) after the 3rd call.

```mermaid
%%{init: {'theme':'dark'}}%%
sequenceDiagram
autonumber
actor C as Caller
Expand Down Expand Up @@ -160,7 +158,6 @@ sequenceDiagram
The circuit will break because the actual failure ratio meets the threshold (0.5) after the 2nd call.

```mermaid
%%{init: {'theme':'dark'}}%%
sequenceDiagram
autonumber
actor C as Caller
Expand Down Expand Up @@ -207,7 +204,6 @@ Let's suppose we have a circuit breaker strategy with the following configuratio
#### Complex: happy path sequence diagram

```mermaid
%%{init: {'theme':'dark'}}%%
sequenceDiagram
autonumber
actor C as Caller
Expand Down Expand Up @@ -252,7 +248,6 @@ sequenceDiagram
#### Complex: unhappy path sequence diagram

```mermaid
%%{init: {'theme':'dark'}}%%
sequenceDiagram
autonumber
actor C as Caller
Expand Down
2 changes: 0 additions & 2 deletions docs/strategies/fallback.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ new ResiliencePipelineBuilder<UserAvatar>()
### Happy path sequence diagram

```mermaid
%%{init: {'theme':'dark'}}%%
sequenceDiagram
actor C as Caller
participant P as Pipeline
Expand All @@ -88,7 +87,6 @@ sequenceDiagram
### Unhappy path sequence diagram

```mermaid
%%{init: {'theme':'dark'}}%%
sequenceDiagram
actor C as Caller
participant P as Pipeline
Expand Down
4 changes: 0 additions & 4 deletions docs/strategies/rate-limiter.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ Let's suppose we have a rate limiter strategy with `PermitLimit` : `1` and `Wind
### Rate Limiter: happy path sequence diagram

```mermaid
%%{init: {'theme':'dark'}}%%
sequenceDiagram
actor C as Caller
participant P as Pipeline
Expand Down Expand Up @@ -112,7 +111,6 @@ sequenceDiagram
#### Rate limiter: unhappy path sequence diagram

```mermaid
%%{init: {'theme':'dark'}}%%
sequenceDiagram
actor C as Caller
participant P as Pipeline
Expand Down Expand Up @@ -142,7 +140,6 @@ Let's suppose we have a concurrency limiter strategy with `PermitLimit` : `1` an
#### Concurrency limiter: happy path sequence diagram

```mermaid
%%{init: {'theme':'dark'}}%%
sequenceDiagram
actor C1 as Caller1
actor C2 as Caller2
Expand Down Expand Up @@ -173,7 +170,6 @@ sequenceDiagram
#### Concurrency Limiter: unhappy path sequence diagram

```mermaid
%%{init: {'theme':'dark'}}%%
sequenceDiagram
actor C1 as Caller1
actor C2 as Caller2
Expand Down
2 changes: 0 additions & 2 deletions docs/strategies/retry.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ Let's suppose we have a retry strategy with `MaxRetryAttempts`: `2`.
### Happy path sequence diagram

```mermaid
%%{init: {'theme':'dark'}}%%
sequenceDiagram
actor C as Caller
participant P as Pipeline
Expand All @@ -134,7 +133,6 @@ sequenceDiagram
### Unhappy path sequence diagram

```mermaid
%%{init: {'theme':'dark'}}%%
sequenceDiagram
actor C as Caller
participant P as Pipeline
Expand Down
2 changes: 0 additions & 2 deletions docs/strategies/timeout.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ HttpResponseMessage httpResponse = await pipeline.ExecuteAsync(
### Happy path sequence diagram

```mermaid
%%{init: {'theme':'dark'}}%%
sequenceDiagram
actor C as Caller
participant P as Pipeline
Expand All @@ -102,7 +101,6 @@ sequenceDiagram
### Unhappy path sequence diagram

```mermaid
%%{init: {'theme':'dark'}}%%
sequenceDiagram
actor C as Caller
participant P as Pipeline
Expand Down

0 comments on commit d9fe9c9

Please sign in to comment.