diff --git a/astro.config.mjs b/astro.config.mjs
index 7ec7d875bb6..55f3ff72ecd 100644
--- a/astro.config.mjs
+++ b/astro.config.mjs
@@ -253,7 +253,7 @@ export default defineConfig({
lastUpdated: true,
}),
astroD2({
- skipGeneration: true,
+ skipGeneration: process.env.CONTEXT === 'production',
theme: {
default: '105'
}
diff --git a/public/d2/docs/concept/process-model-1.svg b/public/d2/docs/concept/process-model-1.svg
deleted file mode 100644
index 51493f18265..00000000000
--- a/public/d2/docs/concept/process-model-1.svg
+++ /dev/null
@@ -1,199 +0,0 @@
-
diff --git a/public/d2/docs/start/index-0.svg b/public/d2/docs/start/index-0.svg
deleted file mode 100644
index a8b1a6df419..00000000000
--- a/public/d2/docs/start/index-0.svg
+++ /dev/null
@@ -1,193 +0,0 @@
-
-
-
-
-
-
-
-
-AstroD2SVGBrowserMarkdownDiagrams
-
-
-
-
-
-
-
-
diff --git a/src/content/docs/concept/process-model.md b/src/content/docs/concept/process-model.md
index 65edb3f0380..ee94bfc494d 100644
--- a/src/content/docs/concept/process-model.md
+++ b/src/content/docs/concept/process-model.md
@@ -30,12 +30,6 @@ guarantees memory safety while retaining excellent performance.
-![IPC Diagram](@assets/concept/process-model.svg)
-
-Figure 1-1: Simplified representation of the Tauri process model. A single Core process manages one or more WebView processes.
-
-
-
```d2 sketch pad=50
direction: right
@@ -64,6 +58,9 @@ Core -> "Events & Commands 3"
"Events & Commands 3" -> WebView3
```
+Simplified representation of the Tauri process model. A single Core process manages one or more WebView processes.
+
+
## The WebView Process
diff --git a/src/styles/custom.scss b/src/styles/custom.scss
index 9055618ce73..bfcf189d3ee 100644
--- a/src/styles/custom.scss
+++ b/src/styles/custom.scss
@@ -145,3 +145,8 @@ article.card {
body {
overflow-y: scroll;
}
+
+figcaption {
+ font-size: 0.9rem;
+ text-align: center;
+}