Skip to content

Commit 90b7615

Browse files
authored
Merge pull request #2144 from Danielle9897/RDoc-3521-fixImagesInCloudflareWorkers
RDoc-3521 Cloudflare-workers articles: Fix images & video
2 parents 5b262a4 + a25882a commit 90b7615

File tree

4 files changed

+60
-60
lines changed

4 files changed

+60
-60
lines changed

docs/start/guides/cloudflare-workers/overview.mdx

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ Using [Deploy with Workers][deploy-with-workers] step-by-step wizard is the simp
6464
but requires a GitHub account and authorized access, which may not be applicable in all situations.
6565
For example, this method will not work with GitLab or GitHub Enterprise.
6666

67-
![Screenshot of Deploy with Cloudflare Wizard][image-template-deploy-cloudflare]
67+
![Screenshot of Deploy with Cloudflare Wizard](./assets/template-deploy-cloudflare.jpg "Screenshot of Deploy with Cloudflare Wizard")
6868

6969
The wizard will guide you through deploying a Worker and hooking up a new repo with continuous
7070
deployment through GitHub actions. It will also automatically set up your repository secrets.
@@ -101,7 +101,7 @@ After you sign in, you can return to the terminal.
101101

102102
Open the browser by pressing the "B" key (e.g. `http://localhost:7071`) and you should see a screen like this:
103103

104-
![Successfully connected to RavenDB welcome screen from Cloudflare][image-template-welcome-unauthenticated]
104+
![Successfully connected to RavenDB welcome screen from Cloudflare](./assets/template-welcome-unauthenticated.jpg "Successfully connected to RavenDB welcome screen from Cloudflare (unauthenticated)")
105105

106106
This means you have successfully connected to your RavenDB database.
107107

@@ -270,13 +270,11 @@ Once started, the Worker will be running on a localhost address.
270270

271271
Open the browser by pressing the "B" key (e.g. `http://localhost:7071`) and you should see a screen like this:
272272

273-
![Successfully connected to RavenDB welcome screen from Cloudflare][image-template-welcome-authenticated]
273+
![Successfully connected to RavenDB welcome screen from Cloudflare](./assets/template-welcome-authenticated.jpg "Successfully connected to RavenDB welcome screen from Cloudflare (authenticated)")
274274

275275
If you see a green check and the correct connection details, this means you have successfully connected to your RavenDB database.
276276

277277

278-
279-
280278
## Deploying to Production
281279

282280
### Automated Deployment
@@ -306,12 +304,11 @@ If your Worker account is not yet set up, Wrangler will walk you through the ste
306304
In your Cloudflare Dashboard, the Worker should be deployed.
307305
You can find your Worker URL in the dashboard under "Preview URL" and open it to test the connection is working.
308306

309-
![Preview URL shown in the Cloudflare Worker dashboard][image-cloudflare-worker-preview]
307+
![Preview URL shown in the Cloudflare Worker dashboard](./assets/cloudflare-worker-preview.jpg "Preview URL shown in the Cloudflare Worker dashboard")
310308

311309
If it is not working, verify the Wrangler settings are being applied.
312310

313311

314-
315312
## Using RavenDB in the Worker
316313

317314
The RavenDB Cloudflare template uses the [itty-router package][npm-itty-router] to provide basic routing and middleware support.
@@ -333,12 +330,20 @@ A document session is opened per-request and accessible through `env.db`.
333330
</TabItem>
334331

335332

336-
337333
## Tutorial Video
338334

339-
Watch our _Using Cloudflare Workers with RavenDB_ tutorial:
340-
&lt;iframe width="560" height="315" src="https://www.youtube.com/embed/qMJfgQicjwk?si=Fxk7alyTQ9bDcf5O" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen&gt;&lt;/iframe&gt;
335+
Watch our _Using Cloudflare Workers with RavenDB_ tutorial:
341336

337+
<iframe
338+
width="560"
339+
height="315"
340+
src="https://www.youtube.com/embed/qMJfgQicjwk?si=Fxk7alyTQ9bDcf5O"
341+
title="YouTube video player"
342+
frameBorder="0"
343+
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
344+
referrerPolicy="strict-origin-when-cross-origin"
345+
allowFullScreen
346+
/>
342347

343348

344349
[cloud-signup]: https://cloud.ravendb.net?utm_source=ravendb_docs&utm_medium=web&utm_campaign=howto_template_cloudflare_worker&utm_content=cloud_signup
@@ -356,8 +361,3 @@ Watch our _Using Cloudflare Workers with RavenDB_ tutorial:
356361
[gh-workflows]: https://docs.github.com/en/actions/learn-github-actions/understanding-github-actions
357362
[gh-workflows-manual]: https://docs.github.com/en/actions/managing-workflow-runs/manually-running-a-workflow
358363
[gh-template-repo]: https://docs.github.com/en/repositories/creating-and-managing-repositories/creating-a-template-repository
359-
[image-template-deploy-cloudflare]: images/template-deploy-cloudflare.jpg "Screenshot of Deploy with Cloudflare Wizard"
360-
[image-template-welcome-unauthenticated]: images/template-welcome-unauthenticated.jpg "Successfully connected to RavenDB welcome screen from Cloudflare (unauthenticated)"
361-
[image-template-welcome-authenticated]: images/template-welcome-authenticated.jpg "Successfully connected to RavenDB welcome screen from Cloudflare (authenticated)"
362-
[image-cloudflare-worker-preview]: images/cloudflare-worker-preview.jpg "Preview URL shown in the Cloudflare Worker dashboard"
363-

versioned_docs/version-6.0/start/guides/cloudflare-workers/overview.mdx

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ Using [Deploy with Workers][deploy-with-workers] step-by-step wizard is the simp
6464
but requires a GitHub account and authorized access, which may not be applicable in all situations.
6565
For example, this method will not work with GitLab or GitHub Enterprise.
6666

67-
![Screenshot of Deploy with Cloudflare Wizard][image-template-deploy-cloudflare]
67+
![Screenshot of Deploy with Cloudflare Wizard](./assets/template-deploy-cloudflare.jpg "Screenshot of Deploy with Cloudflare Wizard")
6868

6969
The wizard will guide you through deploying a Worker and hooking up a new repo with continuous
7070
deployment through GitHub actions. It will also automatically set up your repository secrets.
@@ -101,7 +101,7 @@ After you sign in, you can return to the terminal.
101101

102102
Open the browser by pressing the "B" key (e.g. `http://localhost:7071`) and you should see a screen like this:
103103

104-
![Successfully connected to RavenDB welcome screen from Cloudflare][image-template-welcome-unauthenticated]
104+
![Successfully connected to RavenDB welcome screen from Cloudflare](./assets/template-welcome-unauthenticated.jpg "Successfully connected to RavenDB welcome screen from Cloudflare (unauthenticated)")
105105

106106
This means you have successfully connected to your RavenDB database.
107107

@@ -270,13 +270,11 @@ Once started, the Worker will be running on a localhost address.
270270

271271
Open the browser by pressing the "B" key (e.g. `http://localhost:7071`) and you should see a screen like this:
272272

273-
![Successfully connected to RavenDB welcome screen from Cloudflare][image-template-welcome-authenticated]
273+
![Successfully connected to RavenDB welcome screen from Cloudflare](./assets/template-welcome-authenticated.jpg "Successfully connected to RavenDB welcome screen from Cloudflare (authenticated)")
274274

275275
If you see a green check and the correct connection details, this means you have successfully connected to your RavenDB database.
276276

277277

278-
279-
280278
## Deploying to Production
281279

282280
### Automated Deployment
@@ -306,12 +304,11 @@ If your Worker account is not yet set up, Wrangler will walk you through the ste
306304
In your Cloudflare Dashboard, the Worker should be deployed.
307305
You can find your Worker URL in the dashboard under "Preview URL" and open it to test the connection is working.
308306

309-
![Preview URL shown in the Cloudflare Worker dashboard][image-cloudflare-worker-preview]
307+
![Preview URL shown in the Cloudflare Worker dashboard](./assets/cloudflare-worker-preview.jpg "Preview URL shown in the Cloudflare Worker dashboard")
310308

311309
If it is not working, verify the Wrangler settings are being applied.
312310

313311

314-
315312
## Using RavenDB in the Worker
316313

317314
The RavenDB Cloudflare template uses the [itty-router package][npm-itty-router] to provide basic routing and middleware support.
@@ -333,12 +330,20 @@ A document session is opened per-request and accessible through `env.db`.
333330
</TabItem>
334331

335332

336-
337333
## Tutorial Video
338334

339-
Watch our _Using Cloudflare Workers with RavenDB_ tutorial:
340-
&lt;iframe width="560" height="315" src="https://www.youtube.com/embed/qMJfgQicjwk?si=Fxk7alyTQ9bDcf5O" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen&gt;&lt;/iframe&gt;
335+
Watch our _Using Cloudflare Workers with RavenDB_ tutorial:
341336

337+
<iframe
338+
width="560"
339+
height="315"
340+
src="https://www.youtube.com/embed/qMJfgQicjwk?si=Fxk7alyTQ9bDcf5O"
341+
title="YouTube video player"
342+
frameBorder="0"
343+
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
344+
referrerPolicy="strict-origin-when-cross-origin"
345+
allowFullScreen
346+
/>
342347

343348

344349
[cloud-signup]: https://cloud.ravendb.net?utm_source=ravendb_docs&utm_medium=web&utm_campaign=howto_template_cloudflare_worker&utm_content=cloud_signup
@@ -356,8 +361,3 @@ Watch our _Using Cloudflare Workers with RavenDB_ tutorial:
356361
[gh-workflows]: https://docs.github.com/en/actions/learn-github-actions/understanding-github-actions
357362
[gh-workflows-manual]: https://docs.github.com/en/actions/managing-workflow-runs/manually-running-a-workflow
358363
[gh-template-repo]: https://docs.github.com/en/repositories/creating-and-managing-repositories/creating-a-template-repository
359-
[image-template-deploy-cloudflare]: images/template-deploy-cloudflare.jpg "Screenshot of Deploy with Cloudflare Wizard"
360-
[image-template-welcome-unauthenticated]: images/template-welcome-unauthenticated.jpg "Successfully connected to RavenDB welcome screen from Cloudflare (unauthenticated)"
361-
[image-template-welcome-authenticated]: images/template-welcome-authenticated.jpg "Successfully connected to RavenDB welcome screen from Cloudflare (authenticated)"
362-
[image-cloudflare-worker-preview]: images/cloudflare-worker-preview.jpg "Preview URL shown in the Cloudflare Worker dashboard"
363-

versioned_docs/version-6.2/start/guides/cloudflare-workers/overview.mdx

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ Using [Deploy with Workers][deploy-with-workers] step-by-step wizard is the simp
6464
but requires a GitHub account and authorized access, which may not be applicable in all situations.
6565
For example, this method will not work with GitLab or GitHub Enterprise.
6666

67-
![Screenshot of Deploy with Cloudflare Wizard][image-template-deploy-cloudflare]
67+
![Screenshot of Deploy with Cloudflare Wizard](./assets/template-deploy-cloudflare.jpg "Screenshot of Deploy with Cloudflare Wizard")
6868

6969
The wizard will guide you through deploying a Worker and hooking up a new repo with continuous
7070
deployment through GitHub actions. It will also automatically set up your repository secrets.
@@ -101,7 +101,7 @@ After you sign in, you can return to the terminal.
101101

102102
Open the browser by pressing the "B" key (e.g. `http://localhost:7071`) and you should see a screen like this:
103103

104-
![Successfully connected to RavenDB welcome screen from Cloudflare][image-template-welcome-unauthenticated]
104+
![Successfully connected to RavenDB welcome screen from Cloudflare](./assets/template-welcome-unauthenticated.jpg "Successfully connected to RavenDB welcome screen from Cloudflare (unauthenticated)")
105105

106106
This means you have successfully connected to your RavenDB database.
107107

@@ -270,13 +270,11 @@ Once started, the Worker will be running on a localhost address.
270270

271271
Open the browser by pressing the "B" key (e.g. `http://localhost:7071`) and you should see a screen like this:
272272

273-
![Successfully connected to RavenDB welcome screen from Cloudflare][image-template-welcome-authenticated]
273+
![Successfully connected to RavenDB welcome screen from Cloudflare](./assets/template-welcome-authenticated.jpg "Successfully connected to RavenDB welcome screen from Cloudflare (authenticated)")
274274

275275
If you see a green check and the correct connection details, this means you have successfully connected to your RavenDB database.
276276

277277

278-
279-
280278
## Deploying to Production
281279

282280
### Automated Deployment
@@ -306,12 +304,11 @@ If your Worker account is not yet set up, Wrangler will walk you through the ste
306304
In your Cloudflare Dashboard, the Worker should be deployed.
307305
You can find your Worker URL in the dashboard under "Preview URL" and open it to test the connection is working.
308306

309-
![Preview URL shown in the Cloudflare Worker dashboard][image-cloudflare-worker-preview]
307+
![Preview URL shown in the Cloudflare Worker dashboard](./assets/cloudflare-worker-preview.jpg "Preview URL shown in the Cloudflare Worker dashboard")
310308

311309
If it is not working, verify the Wrangler settings are being applied.
312310

313311

314-
315312
## Using RavenDB in the Worker
316313

317314
The RavenDB Cloudflare template uses the [itty-router package][npm-itty-router] to provide basic routing and middleware support.
@@ -333,12 +330,20 @@ A document session is opened per-request and accessible through `env.db`.
333330
</TabItem>
334331

335332

336-
337333
## Tutorial Video
338334

339-
Watch our _Using Cloudflare Workers with RavenDB_ tutorial:
340-
&lt;iframe width="560" height="315" src="https://www.youtube.com/embed/qMJfgQicjwk?si=Fxk7alyTQ9bDcf5O" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen&gt;&lt;/iframe&gt;
335+
Watch our _Using Cloudflare Workers with RavenDB_ tutorial:
341336

337+
<iframe
338+
width="560"
339+
height="315"
340+
src="https://www.youtube.com/embed/qMJfgQicjwk?si=Fxk7alyTQ9bDcf5O"
341+
title="YouTube video player"
342+
frameBorder="0"
343+
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
344+
referrerPolicy="strict-origin-when-cross-origin"
345+
allowFullScreen
346+
/>
342347

343348

344349
[cloud-signup]: https://cloud.ravendb.net?utm_source=ravendb_docs&utm_medium=web&utm_campaign=howto_template_cloudflare_worker&utm_content=cloud_signup
@@ -356,8 +361,3 @@ Watch our _Using Cloudflare Workers with RavenDB_ tutorial:
356361
[gh-workflows]: https://docs.github.com/en/actions/learn-github-actions/understanding-github-actions
357362
[gh-workflows-manual]: https://docs.github.com/en/actions/managing-workflow-runs/manually-running-a-workflow
358363
[gh-template-repo]: https://docs.github.com/en/repositories/creating-and-managing-repositories/creating-a-template-repository
359-
[image-template-deploy-cloudflare]: images/template-deploy-cloudflare.jpg "Screenshot of Deploy with Cloudflare Wizard"
360-
[image-template-welcome-unauthenticated]: images/template-welcome-unauthenticated.jpg "Successfully connected to RavenDB welcome screen from Cloudflare (unauthenticated)"
361-
[image-template-welcome-authenticated]: images/template-welcome-authenticated.jpg "Successfully connected to RavenDB welcome screen from Cloudflare (authenticated)"
362-
[image-cloudflare-worker-preview]: images/cloudflare-worker-preview.jpg "Preview URL shown in the Cloudflare Worker dashboard"
363-

versioned_docs/version-7.0/start/guides/cloudflare-workers/overview.mdx

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ Using [Deploy with Workers][deploy-with-workers] step-by-step wizard is the simp
6464
but requires a GitHub account and authorized access, which may not be applicable in all situations.
6565
For example, this method will not work with GitLab or GitHub Enterprise.
6666

67-
![Screenshot of Deploy with Cloudflare Wizard][image-template-deploy-cloudflare]
67+
![Screenshot of Deploy with Cloudflare Wizard](./assets/template-deploy-cloudflare.jpg "Screenshot of Deploy with Cloudflare Wizard")
6868

6969
The wizard will guide you through deploying a Worker and hooking up a new repo with continuous
7070
deployment through GitHub actions. It will also automatically set up your repository secrets.
@@ -101,7 +101,7 @@ After you sign in, you can return to the terminal.
101101

102102
Open the browser by pressing the "B" key (e.g. `http://localhost:7071`) and you should see a screen like this:
103103

104-
![Successfully connected to RavenDB welcome screen from Cloudflare][image-template-welcome-unauthenticated]
104+
![Successfully connected to RavenDB welcome screen from Cloudflare](./assets/template-welcome-unauthenticated.jpg "Successfully connected to RavenDB welcome screen from Cloudflare (unauthenticated)")
105105

106106
This means you have successfully connected to your RavenDB database.
107107

@@ -270,13 +270,11 @@ Once started, the Worker will be running on a localhost address.
270270

271271
Open the browser by pressing the "B" key (e.g. `http://localhost:7071`) and you should see a screen like this:
272272

273-
![Successfully connected to RavenDB welcome screen from Cloudflare][image-template-welcome-authenticated]
273+
![Successfully connected to RavenDB welcome screen from Cloudflare](./assets/template-welcome-authenticated.jpg "Successfully connected to RavenDB welcome screen from Cloudflare (authenticated)")
274274

275275
If you see a green check and the correct connection details, this means you have successfully connected to your RavenDB database.
276276

277277

278-
279-
280278
## Deploying to Production
281279

282280
### Automated Deployment
@@ -306,12 +304,11 @@ If your Worker account is not yet set up, Wrangler will walk you through the ste
306304
In your Cloudflare Dashboard, the Worker should be deployed.
307305
You can find your Worker URL in the dashboard under "Preview URL" and open it to test the connection is working.
308306

309-
![Preview URL shown in the Cloudflare Worker dashboard][image-cloudflare-worker-preview]
307+
![Preview URL shown in the Cloudflare Worker dashboard](./assets/cloudflare-worker-preview.jpg "Preview URL shown in the Cloudflare Worker dashboard")
310308

311309
If it is not working, verify the Wrangler settings are being applied.
312310

313311

314-
315312
## Using RavenDB in the Worker
316313

317314
The RavenDB Cloudflare template uses the [itty-router package][npm-itty-router] to provide basic routing and middleware support.
@@ -333,12 +330,20 @@ A document session is opened per-request and accessible through `env.db`.
333330
</TabItem>
334331

335332

336-
337333
## Tutorial Video
338334

339-
Watch our _Using Cloudflare Workers with RavenDB_ tutorial:
340-
&lt;iframe width="560" height="315" src="https://www.youtube.com/embed/qMJfgQicjwk?si=Fxk7alyTQ9bDcf5O" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen&gt;&lt;/iframe&gt;
335+
Watch our _Using Cloudflare Workers with RavenDB_ tutorial:
341336

337+
<iframe
338+
width="560"
339+
height="315"
340+
src="https://www.youtube.com/embed/qMJfgQicjwk?si=Fxk7alyTQ9bDcf5O"
341+
title="YouTube video player"
342+
frameBorder="0"
343+
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
344+
referrerPolicy="strict-origin-when-cross-origin"
345+
allowFullScreen
346+
/>
342347

343348

344349
[cloud-signup]: https://cloud.ravendb.net?utm_source=ravendb_docs&utm_medium=web&utm_campaign=howto_template_cloudflare_worker&utm_content=cloud_signup
@@ -356,8 +361,3 @@ Watch our _Using Cloudflare Workers with RavenDB_ tutorial:
356361
[gh-workflows]: https://docs.github.com/en/actions/learn-github-actions/understanding-github-actions
357362
[gh-workflows-manual]: https://docs.github.com/en/actions/managing-workflow-runs/manually-running-a-workflow
358363
[gh-template-repo]: https://docs.github.com/en/repositories/creating-and-managing-repositories/creating-a-template-repository
359-
[image-template-deploy-cloudflare]: images/template-deploy-cloudflare.jpg "Screenshot of Deploy with Cloudflare Wizard"
360-
[image-template-welcome-unauthenticated]: images/template-welcome-unauthenticated.jpg "Successfully connected to RavenDB welcome screen from Cloudflare (unauthenticated)"
361-
[image-template-welcome-authenticated]: images/template-welcome-authenticated.jpg "Successfully connected to RavenDB welcome screen from Cloudflare (authenticated)"
362-
[image-cloudflare-worker-preview]: images/cloudflare-worker-preview.jpg "Preview URL shown in the Cloudflare Worker dashboard"
363-

0 commit comments

Comments
 (0)