Skip to content

Commit 36f3101

Browse files
Remove redundant Mermaid theme initialization tags across BFF documentation and improve content structure for clarity.
1 parent cc040d2 commit 36f3101

8 files changed

Lines changed: 63 additions & 74 deletions

File tree

astro/src/content/docs/bff/architecture/index.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ If you haven't yet decided whether to use BFF, start with the [overview](/bff/)
2626
The following diagram shows how the BFF protects browser-based applications:
2727

2828
```mermaid
29-
%%{ init: { 'theme': 'default' } }%%
3029
flowchart TD
3130
subgraph Browser
3231
SPA["Browser-Based Application"]
@@ -131,7 +130,6 @@ Both are supported, but have different integration patterns:
131130
## Trust Boundaries
132131

133132
```mermaid
134-
%%{ init: { 'theme': 'default' } }%%
135133
flowchart TD
136134
subgraph Browser["Browser (untrusted)"]
137135
B1["Holds session cookie only<br/>(HttpOnly, Secure, SameSite)"]

astro/src/content/docs/bff/architecture/ui-hosting.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ headers. This makes the BFF and the front-end application a single deployable un
3131
what that would look like:
3232

3333
```mermaid
34-
%%{ init: { 'theme': 'default' } }%%
3534
flowchart LR
3635
subgraph Browser["Browser: https://application.url"]
3736
app["app"]
@@ -80,7 +79,6 @@ and the BFF, and you might want your static UI assets hosted on a CDN. Below is
8079
look like:
8180

8281
```mermaid
83-
%%{ init: { 'theme': 'default' } }%%
8482
flowchart LR
8583
subgraph Browser["Browser: https://application.url"]
8684
app["app"]
@@ -131,7 +129,6 @@ cookie will be sent from the frontend to the BFF automatically, and third party
131129
attribute won't present any problems. The following diagram shows how that would work:
132130

133131
```mermaid
134-
%%{ init: { 'theme': 'default' } }%%
135132
flowchart LR
136133
subgraph Browser["Browser: https://application.url"]
137134
app["app"]

astro/src/content/docs/bff/fundamentals/apis/index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ A frontend application using the BFF pattern can call two types of APIs: embedde
1818
## Choosing an API Approach
1919

2020
```mermaid
21-
%%{ init: { 'theme': 'neutral' } }%%
2221
flowchart TD
2322
Q1{"Is the API only used<br/>by this frontend?"}
2423
Q2{"Do you need load balancing,<br/>service discovery, or<br/>complex routing/transforms?"}

astro/src/content/docs/bff/fundamentals/blazor/data-access.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ Depending on your Blazor rendering mode, you need different strategies for acces
1313
## Overview
1414

1515
```mermaid
16-
%%{ init: { 'theme': 'neutral' } }%%
1716
flowchart LR
1817
WASM["Blazor WASM Component<br/>(browser)"]
1918
Server["BFF Host<br/>(server)"]
@@ -132,7 +131,6 @@ builder.Services.AddTransient(sp =>
132131
The diagram below shows the full flow:
133132

134133
```mermaid
135-
%%{ init: { 'theme': 'neutral' } }%%
136134
sequenceDiagram
137135
participant WASM as Blazor WASM
138136
participant BFF as BFF Host

astro/src/content/docs/bff/fundamentals/blazor/index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ The Duende BFF Security Framework addresses these challenges by keeping access t
2222
A BFF-backed Blazor app has three elements: the **backend** (server-side logic and APIs), the **frontend** (the Blazor application), and the **client** (the browser). The BFF host acts as the combined backend and frontend host:
2323

2424
```mermaid
25-
%%{ init: { 'theme': 'default' } }%%
2625
flowchart LR
2726
Client[Client / Browser]
2827
subgraph BFF Host

astro/src/content/docs/bff/fundamentals/deployment.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ builder.Services.AddDataProtection()
3232

3333
:::caution[Do not use in-memory keys in production]
3434
The default in-memory key ring is regenerated on every restart. Any existing sessions are invalidated when the process restarts or when traffic is routed to a new instance.
35+
36+
See also: [Data Protection](/general/data-protection/)
3537
:::
3638

3739
### Server-Side Sessions (Recommended for Multi-Instance)

astro/src/content/docs/bff/fundamentals/session/index.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ Authentication in a BFF application flows through several layers. Understanding
2121
## How Sessions Work
2222

2323
```mermaid
24-
%%{ init: { 'theme': 'neutral' } }%%
2524
sequenceDiagram
2625
participant Browser
2726
participant BFF

astro/src/content/docs/bff/index.mdx

Lines changed: 61 additions & 64 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)