Skip to content

Remove $ from bash code snippets - #1513

Merged
cert-manager-prow[bot] merged 1 commit into
cert-manager:masterfrom
lindhe:patch-1
Jul 18, 2024
Merged

cert-manager-prow[bot] merged 1 commit into
cert-manager:masterfrom
lindhe:patch-1

Conversation

@lindhe

@lindhe lindhe commented Jul 10, 2024

Copy link
Copy Markdown
Contributor

While $ is a good way to differentiate between a command and its output, it is best to leave it out whenever there is no output. This way, the user can copy the command by clicking the copy button on the rendered website without having to worry about the leading $ when pasting the command.

This was already the case for some snippets. This change removes the leading $ for some more snippets.

While $ is a good way to differentiate between a command and its output, it is best to leave it out whenever there is no output. This way, the user can copy the command by clicking the copy button on the rendered website without having to worry about the leading $ when pasting the command.

This was already the case for some snippets. This change removes the leading $ for some more snippets.

Signed-off-by: Andreas Lindhé <[email protected]>
@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. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Jul 10, 2024
@lindhe

lindhe commented Jul 10, 2024

Copy link
Copy Markdown
Contributor Author

Here's an example of what it looks like before my change:

Screenshot 2024-07-10 092421

The $ will be included if the users copies via the copy button in the web interface.

@netlify

netlify Bot commented Jul 10, 2024

Copy link
Copy Markdown

✅ Deploy Preview for cert-manager ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 59ff413
🔍 Latest deploy log https://app.netlify.com/sites/cert-manager/deploys/668e3994fdc8550008dd8ed9
😎 Deploy Preview https://deploy-preview-1513--cert-manager.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 site configuration.

@lindhe

lindhe commented Jul 10, 2024

Copy link
Copy Markdown
Contributor Author

Looks good:

image

@wallrj wallrj left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks @lindhe

/lgtm
/approve

@cert-manager-prow cert-manager-prow Bot added the lgtm Indicates that a PR is ready to be merged. label Jul 18, 2024
@cert-manager-prow

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: wallrj

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

@cert-manager-prow cert-manager-prow Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 18, 2024
@cert-manager-prow
cert-manager-prow Bot merged commit eff6a29 into cert-manager:master Jul 18, 2024
@lindhe
lindhe deleted the patch-1 branch July 18, 2024 15:57
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. dco-signoff: yes Indicates that all commits in the pull request have the valid DCO sign-off message. lgtm Indicates that a PR is ready to be merged. 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