Skip to content

Fix markdown links#57

Closed
samm-git wants to merge 1 commit intocert-manager:mainfrom
samm-git:fix_links
Closed

Fix markdown links#57
samm-git wants to merge 1 commit intocert-manager:mainfrom
samm-git:fix_links

Conversation

@samm-git
Copy link
Copy Markdown

Hi, while implementing my own issuer, I found that the links in README.md are broken, so I decided to submit this PR.

@cert-manager-prow cert-manager-prow bot added dco-signoff: no Indicates that at least one commit in this pull request is missing the DCO sign-off message. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Apr 30, 2025
Signed-off-by: Alex Samorukov <samm@net-art.cz>
@cert-manager-prow cert-manager-prow bot added dco-signoff: yes Indicates that all commits in the pull request have the valid DCO sign-off message. and removed dco-signoff: no Indicates that at least one commit in this pull request is missing the DCO sign-off message. labels Apr 30, 2025
Copy link
Copy Markdown
Member

@wallrj wallrj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These links are not broken.
They are Markdown Link Reference definitions.
The intention is to avoid cluttering the paragraphs with long URLs, and instead adding those URLs as references.

They work well when you look at the rendered README in GitHub.

@samm-git
Copy link
Copy Markdown
Author

samm-git commented Apr 30, 2025

For whatever reason, it does not work for me, neither in GitHub nor the VS Code preview, links section is just empty:

image

Copy link
Copy Markdown
Member

@erikgb erikgb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! 🚀

/lgtm
/approve

@cert-manager-prow
Copy link
Copy Markdown
Contributor

@erikgb: adding LGTM is restricted to approvers and reviewers in OWNERS files.

Details

In response to this:

Thanks! 🚀

/lgtm
/approve

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@cert-manager-prow
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: erikgb
Once this PR has been reviewed and has the lgtm label, please assign wallrj for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found 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

@erikgb
Copy link
Copy Markdown
Member

erikgb commented May 3, 2025

@wallrj, sorry! I noticed your comments on this PR just now. Don't know how I could overlook it... 🙈

@samm-git
Copy link
Copy Markdown
Author

samm-git commented May 4, 2025

@wallrj @erikgb i still dont think that it works as expected, links section renders empty for me

@erikgb
Copy link
Copy Markdown
Member

erikgb commented May 4, 2025

@samm-git Links on https://github.com/cert-manager/sample-external-issuer/blob/main/README.md render perfectly fine in my browser. Which client is not working for you? In your screenshot in #57 (comment), I see a single link. Doesn't the link work for you? I notice that the final "Links" paragraph is empty, but I don't think just in-lining the links is the correct fix for this.

image

@erikgb
Copy link
Copy Markdown
Member

erikgb commented May 4, 2025

I have just opened up an alternative PR to fix this rather confusing empty "Links" paragraph: #61. PTAL!

@wallrj
Copy link
Copy Markdown
Member

wallrj commented May 6, 2025

I'd just remove the ## Links heading.

When I wrote this content, I thought it looked weird to just include a bunch of links after the final paragraph, so I added a heading. I imagined (but didn't check) that the link reference definitions would show up when rendered in GitHub.

@samm-git
Copy link
Copy Markdown
Author

samm-git commented May 6, 2025

whatever works best :) I never used such .md syntax before, so I apologize for the confusion. Either removing Links section or convert it to list of reference would work

@wallrj
Copy link
Copy Markdown
Member

wallrj commented May 6, 2025

I approved #61. Thanks both of you for noticing this and fixing the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dco-signoff: yes Indicates that all commits in the pull request have the valid DCO sign-off message. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants