Skip to content

Redirects image urls - #6684

Merged
knative-prow[bot] merged 1 commit into
knative:mainfrom
Hanse00:main
Aug 17, 2026
Merged

Redirects image urls#6684
knative-prow[bot] merged 1 commit into
knative:mainfrom
Hanse00:main

Conversation

@Hanse00

@Hanse00 Hanse00 commented Aug 16, 2026

Copy link
Copy Markdown
Contributor

I'm working my way through @evankanderson's book, and when writing out the example code he has listed I ran into a 404, because the URL https://knative.dev/docs/images/logo/rgb/knative-logo-rgb.png doesn't serve the Knative logo.

It took me a little sleuthing around this repo to realize that's because it's served at https://knative.dev/images/logo/rgb/knative-logo-rgb.png instead.

Since the book is in print, it's too late to fix the code listing there - So in the service if saving someone else from the same rabbit hole I just went down, I figured I'd pitch adding a redirect that makes the former URL valid.

Totally up to you all if you want to adopt it, obviously I have no particular stake in this project, I wouldn't be offended if you reject the PR :)

In Evan's book the example URL to use is docs/images/logo/rbg/knative-logo-rgb.png,
however the file is actually served at /images/* without the docs prefix.

Since the book is already out there, I figured the neatest solution to the problem I ran into when following his example code, is to make that URL valid.
@knative-prow
knative-prow Bot requested review from Cali0707 and nainaz August 16, 2026 23:00
@netlify

netlify Bot commented Aug 16, 2026

Copy link
Copy Markdown

Deploy Preview for knative ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 1e50550
🔍 Latest deploy log https://app.netlify.com/projects/knative/deploys/6a82412660f4310008e93caa
😎 Deploy Preview https://deploy-preview-6684--knative.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@linux-foundation-easycla

linux-foundation-easycla Bot commented Aug 16, 2026

Copy link
Copy Markdown

CLA Signed
The committers listed above are authorized under a signed CLA.

  • ✅ login: Hanse00 / name: Philip Mallegol-Hansen (1e50550)

@knative-prow

knative-prow Bot commented Aug 16, 2026

Copy link
Copy Markdown

Welcome @Hanse00! It looks like this is your first PR to knative/docs 🎉

@knative-prow knative-prow Bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Aug 16, 2026
@knative-prow knative-prow Bot added the lgtm Indicates that a PR is ready to be merged. label Aug 17, 2026
@knative-prow

knative-prow Bot commented Aug 17, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: evankanderson, Hanse00

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@knative-prow knative-prow Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 17, 2026
@evankanderson

Copy link
Copy Markdown
Member

/ok-to-test

@knative-prow
knative-prow Bot merged commit 563a3db into knative:main Aug 17, 2026
18 checks passed
@knative-prow knative-prow Bot added the ok-to-test Indicates a non-member PR verified by an org member that is safe to test. label Aug 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants