Skip to content

Commit 2e7313d

Browse files
dcpenapedrosousa
andauthored
[R2] Added Tutorials folder (#17437)
* Added tutorials folder & moved pages into folder * Added redirects * Fixed broken link * Renamed page to index * Forgot to move Postman tutorial * Apply suggestions from code review Co-authored-by: Pedro Sousa <[email protected]> * Removed content type --------- Co-authored-by: Pedro Sousa <[email protected]>
1 parent a0c3706 commit 2e7313d

File tree

7 files changed

+9
-3
lines changed

7 files changed

+9
-3
lines changed

public/_redirects

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1159,6 +1159,10 @@
11591159
/r2/reference/changelog/index.xml /r2/platform/changelog/index.xml 301
11601160
/r2/reference/limits/ /r2/platform/limits/ 301
11611161
/r2/reference/metrics-analytics/ /r2/platform/metrics-analytics/ 301
1162+
/r2/examples/mastodon/ /r2/tutorials/mastodon/ 301
1163+
/r2/examples/postman/ /r2/tutorials/postman/ 301
1164+
/r2/examples/cloudflare-access/ /r2/tutorials/cloudflare-access/ 301
1165+
/r2/examples/upload-logs-event-notifications/ /r2/tutorials/upload-logs-event-notifications/ 301
11621166

11631167
# style-guide
11641168
/style-guide/formatting/symbols-in-ui-element-names/ /style-guide/formatting/ui-elements/ 301

src/content/docs/r2/buckets/event-notifications.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ $ npx wrangler r2 bucket notification create <BUCKET_NAME> --event-type <EVENT_T
5050
$ npx wrangler r2 bucket notification create <BUCKET_NAME> --event-type <EVENT_TYPE> --queue <QUEUE_NAME> --prefix "<PREFIX_VALUE>" --suffix "<SUFFIX_VALUE>"
5151
```
5252

53-
For a more complete step-by-step example, refer to the [Log and store upload events in R2 with event notifications](/r2/examples/upload-logs-event-notifications/) example.
53+
For a more complete step-by-step example, refer to the [Log and store upload events in R2 with event notifications](/r2/tutorials/upload-logs-event-notifications/) example.
5454

5555
## Event notification rules
5656

src/content/docs/r2/examples/cloudflare-access.mdx renamed to src/content/docs/r2/tutorials/cloudflare-access.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: Protect an R2 Bucket with Cloudflare Access
3-
pcx_content_type: example
3+
pcx_content_type: tutorial
4+
content_type: 📝 Tutorial
45

56
---
67

File renamed without changes.
File renamed without changes.

src/content/docs/r2/examples/postman.mdx renamed to src/content/docs/r2/tutorials/postman.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
---
22
title: Postman
33
summary: Learn how to configure Postman to interact with R2.
4-
pcx_content_type: example
4+
content_type: 📝 Tutorial
5+
pcx_content_type: tutorial
56
description: Learn how to configure Postman to interact with R2.
67

78
---
File renamed without changes.

0 commit comments

Comments
 (0)