Skip to content

Commit 348e771

Browse files
committed
updated images
1 parent 8343a7d commit 348e771

5 files changed

+55
-6
lines changed

.tool-versions

+1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
nodejs 22.13.1
2+
python 3.13.0

docs/articles/source-control-setup-github.md docs/articles/source-control-setup-github.mdx

+12-3
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@ work with.
1616
Next, a dialog will open asking you to authorize Zuplo. Click the **Authorize
1717
Zuplo** button.
1818

19-
![Zuplo GitHub permission](https://cdn.zuplo.com/assets/d6194a80-b6d6-429e-85a6-ae1cb4a3375e.png)
19+
<Framed margin={6}>
20+
![Zuplo GitHub
21+
permission](https://cdn.zuplo.com/assets/d6194a80-b6d6-429e-85a6-ae1cb4a3375e.png)
22+
</Framed>
2023

2124
<Callout type="tip" title="GitHub Permissions" >
2225

@@ -35,13 +38,19 @@ edit a repository. If this is your first time connecting Zuplo, you will be
3538
immediately asked to select a GitHub Org to install Zuplo. Select the org you
3639
want to use.
3740

38-
![Installing Zuplo app](https://cdn.zuplo.com/assets/eef76bd7-4d26-4f86-96e8-89ebede03beb.png)
41+
<Framed margin={6}>
42+
![Installing Zuplo
43+
app](https://cdn.zuplo.com/assets/eef76bd7-4d26-4f86-96e8-89ebede03beb.png)
44+
</Framed>
3945

4046
Next, you will be asked to select the repositories that you want Zuplo to
4147
access. The easiest thing is to just select **All Repositories**, but if you
4248
want fine-grain control, you can select a specific repository.
4349

44-
![Giving Zuplo repository access](https://cdn.zuplo.com/assets/ff482269-9aa2-44c3-8266-b2682b3d6ea5.png)
50+
<Framed margin={6}>
51+
![Giving Zuplo repository
52+
access](https://cdn.zuplo.com/assets/ff482269-9aa2-44c3-8266-b2682b3d6ea5.png)
53+
</Framed>
4554

4655
<Callout type="caution" title="Existing Installation" >
4756

docs/articles/step-1-setup-basic-gateway.md

+4
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,12 @@ Add an Environment Variable called `BASE_URL`. Leave the "Secret" checkbox
102102
unchecked. This is typically not a secret, so there's no need to hide this from
103103
your colleagues.
104104

105+
<Framed margin={4}>
106+
105107
![BASE_URL Environment Variable](../../public/media/step-1-setup-basic-gateway/image-20.png)
106108

109+
</Framed>
110+
107111
Save the environment variable, head back to the **Code** tab, click
108112
`routes.oas.json`, and test your route again. You should get back the same
109113
response from Step 2.

docs/articles/step-4-deploying-to-the-edge.md docs/articles/step-4-deploying-to-the-edge.mdx

+20
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,12 @@ with.
3737
Next, a dialog will open asking you to authorize Zuplo. Click the **Authorize
3838
Zuplo** button.
3939

40+
<Framed margin={4}>
41+
4042
![Zuplo GitHub connection](https://cdn.zuplo.com/assets/d6194a80-b6d6-429e-85a6-ae1cb4a3375e.png)
4143

44+
</Framed>
45+
4246
<Callout type="tip" title="GitHub Permissions" >
4347

4448
The permission "Act on your behalf" sounds a bit scary - however, this is a
@@ -56,14 +60,22 @@ edit a repository. If this is your first time connecting Zuplo, you will be
5660
immediately asked to select a GitHub Org to install Zuplo. Select the org you
5761
want to use.
5862

63+
<Framed margin={4}>
64+
5965
![Installing Zuplo app](https://cdn.zuplo.com/assets/eef76bd7-4d26-4f86-96e8-89ebede03beb.png)
6066

67+
</Framed>
68+
6169
Next, you will be asked to select the repositories that you want Zuplo to
6270
access. The easiest thing is to just select **All Repositories**, but if you
6371
want fine-grain control, you can select a specific repository.
6472

73+
<Framed margin={4}>
74+
6575
![Choosing repository to install](https://cdn.zuplo.com/assets/ff482269-9aa2-44c3-8266-b2682b3d6ea5.png)
6676

77+
</Framed>
78+
6779
<Callout type="caution" title="Existing Installation" >
6880

6981
The next step is only if you already have Zuplo installed in a GitHub org and
@@ -137,13 +149,21 @@ Push**.
137149

138150
Enter a description of your change in the dialog that pops up:
139151

152+
<Framed margin={4}>
153+
140154
![Change Summary](../../public/media/step-4-deploying-to-the-edge/image-8.png)
141155

156+
</Framed>
157+
142158
Click **Commit & Push** will create a new temporary branch in GitHub with a name
143159
`zup-...`. On the next dialog, click **Create Pull Request**.
144160

161+
<Framed margin={4}>
162+
145163
![Create PR](../../public/media/step-4-deploying-to-the-edge/image-9.png)
146164

165+
</Framed>
166+
147167
This will navigate you to the screen in GitHub that allows you to create a Pull
148168
Request. Change the **base** branch to `development` (since that's the
149169
environment we want to update first). Click **Create pull request**.

src/components.tsx

+18-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React, { lazy, Suspense } from "react";
1+
import { lazy, Suspense } from "react";
22
import { CogIcon, CopyIcon, FileTextIcon, ListEndIcon } from "zudoku/icons";
33
import { BundlesTable } from "./BundlesTable.js";
44
import { DocusaurusDocsLicense } from "./DocusaurusDocsLicense.js";
@@ -12,7 +12,16 @@ const iconStyle = { display: "inline", verticalAlign: "-0.125em" };
1212
const EmbeddedChat = lazy(() => import("./EmbeddedChat.js"));
1313

1414
export const mdxComponents = {
15-
Screenshot: (props: any) => <img {...props} />,
15+
Framed: (props: { margin: number | undefined }) => (
16+
<div
17+
className="[&>p]:m-0 [&>p]:p-0 [&>p>img]:m-0 [&>p>img]:p-0 my-[32px]"
18+
style={{
19+
marginRight: props.margin ? `${props.margin}rem` : "auto",
20+
marginLeft: props.margin ? `${props.margin}rem` : "auto",
21+
}}
22+
{...props}
23+
/>
24+
),
1625
DocusaurusDocsLicense,
1726
GithubButton,
1827
ZupIt: (props: any) => <ZupIt {...props} />,
@@ -51,7 +60,13 @@ export const mdxComponents = {
5160
}
5261
}
5362

54-
return <img {...props} srcSet={srcSet} />;
63+
return (
64+
<img
65+
className="border border-[#eaecef] overflow-hidden rounded-sm"
66+
{...props}
67+
srcSet={srcSet}
68+
/>
69+
);
5570
},
5671
PolicyOverview,
5772
EnterpriseFeature,

0 commit comments

Comments
 (0)