New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add link descriptions and update wording #9507
Conversation
Hey @svx, Thank you for this contribution. |
@nmengin Should I close this one and create a new PR for the v2.9 branch? |
No, you just have to rebase your branch.
If you need help ping me. |
@ldez ping! I know how to rebase from a branch, but my PR is coming from a fork 😄 |
I will expect that you have the following state locally: $ git remote -v
origin git@github.com:svx/traefik.git (fetch)
origin git@github.com:svx/traefik.git (push)
upstream git@github.com:traefik/traefik.git (fetch)
upstream git@github.com:traefik/traefik.git (push) Then you have to run the following command: git rebase --onto=upstream/v2.9 HEAD^ Otherwise, when you create a PR, I recommend using a dedicated branch instead of If you still have a problem, I can do it for you. |
@ldez Yeah, a branch would have been better, I will do that next time! OK, so I have now git remote -v
origin git@github.com:svx/traefik.git (fetch)
origin git@github.com:svx/traefik.git (push)
upstream git@github.com:traefik/traefik (fetch)
upstream git@github.com:traefik/traefik (push) When I try I am getting fatal: Does not point to a valid commit 'upstream/v2.9' Sorry for the mess and extra time/work, I should know better. |
I think you have to fetch the remote:
|
@ldez I am closing this PR. |
You can leave your PR open, I can fix that. It's more complex to fix than creating a PR on the right base, so it's not a problem if you don't feel comfortable with that. |
FYI, you are not trying to "rebase forks with branches", you are just trying to rebase a branch from another branch. The |
@ldez Ok, thanks for the explanation! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 📖
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks 👍
Quick last question, sorry for being off-topic. What are the best practices for PRs, I was not able to find that in detailed in the docs and would love to add it. In a nutshell:
|
In fact, creating a dedicated branch is a generic best practice, not specific to Traefik.
The branch depends on the content of the PR, everything is explained inside the pull request description template (take a look at the description content of your own PR). FYI, in the past, a fork would get all branches, but recently GitHub changed that to only clone the main/default branch. |
@ldez Ok, great! Thank you! |
What does this PR do?
This PR enhances the documentation about "contributing to the documentation" by:
Motivation
This tiny change improves the docs for people who use screen readers (accessibility) and it explains that the user has to have Docker installed to use this method.
Some less experienced people, or people who are new, may not know that.
More
Additional Notes