From 3c8c742350bb0765482b87d3d1a86f50946932b5 Mon Sep 17 00:00:00 2001 From: WcaleNieWolny Date: Sun, 18 Jan 2026 11:02:46 +0100 Subject: [PATCH 1/3] fix: replace mermaid code block with custom component for build process diagram --- src/components/BuildProcessFlow.astro | 70 +++++++++++++++++++ .../docs/cli/cloud-build/getting-started.mdx | 10 +-- 2 files changed, 72 insertions(+), 8 deletions(-) create mode 100644 src/components/BuildProcessFlow.astro diff --git a/src/components/BuildProcessFlow.astro b/src/components/BuildProcessFlow.astro new file mode 100644 index 000000000..a4b86f1ab --- /dev/null +++ b/src/components/BuildProcessFlow.astro @@ -0,0 +1,70 @@ +--- +--- + + + +
+
+flowchart LR
+    A[Your Machine] -->|1. Zip Project| B[Local Temp]
+    B -->|2. Upload| C[Capgo Cloud]
+    C -->|3. Build| D[Build Server]
+    D -->|4. Logs Stream| A
+    D -->|5. Cleanup| E[Auto Delete]
+  
+
diff --git a/src/content/docs/docs/cli/cloud-build/getting-started.mdx b/src/content/docs/docs/cli/cloud-build/getting-started.mdx index a33700097..9bc55677a 100644 --- a/src/content/docs/docs/cli/cloud-build/getting-started.mdx +++ b/src/content/docs/docs/cli/cloud-build/getting-started.mdx @@ -6,6 +6,7 @@ sidebar: --- import { Steps, Card, CardGrid } from '@astrojs/starlight/components'; +import BuildProcessFlow from '@/components/BuildProcessFlow.astro'; Get started with Capgo Cloud Build and create your first iOS or Android native build in minutes. @@ -128,14 +129,7 @@ Before you begin, ensure you have: When you run the build command, here's what happens: -```mermaid -graph LR - A[Your Machine] -->|1. Zip Project| B[Local Temp] - B -->|2. Upload| C[Capgo Cloud] - C -->|3. Build| D[Build Server] - D -->|4. Logs Stream| A - D -->|5. Cleanup| E[Auto Delete] -``` + 1. **Local Preparation** - Your project is zipped (excluding `node_modules` and dotfiles) 2. **Upload** - The zip is uploaded to secure cloud storage (Cloudflare R2) From 30e09d6dac3d9f3d7aeaa798cbc2650323d5e65c Mon Sep 17 00:00:00 2001 From: WcaleNieWolny <50914789+WcaleNieWolny@users.noreply.github.com> Date: Sun, 18 Jan 2026 11:42:54 +0100 Subject: [PATCH 2/3] chore: accessibility for screen readers Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --- src/components/BuildProcessFlow.astro | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/components/BuildProcessFlow.astro b/src/components/BuildProcessFlow.astro index a4b86f1ab..9f9b39f95 100644 --- a/src/components/BuildProcessFlow.astro +++ b/src/components/BuildProcessFlow.astro @@ -58,8 +58,16 @@ } -
-
+
+