docs
docs copied to clipboard
Add anchors to bullet points in authoring guidelines.
With #156 it's possible to put linkable anchors in bullet points, so reviewers would be able to post links to specific guidelines. Two branches which could use it are already there and I do not know how to make the feature available there (my git-fu is almost non-existant), so I will add anchors later, after branches are merged.
Or if someone would explain to me how to do rebase properly, or would do this for me, it would be great.
Awaiting for #134 , #19
Or if someone would explain to me how to do rebase properly
Make sure your local master is up to date:
$ git checkout master # if you're not there yet
$ git pull
Then rebase the branch:
$ git checkout some-branch
$ git rebase master
There shouldn't be any conflicts so rebase should work. Then, you'll need to force push the changes because now your local branch is different from what you had pushed before.
$ git push --force-with-lease
# If you don't have the tracking set up
$ git push --force-with-lease origin some-branch
or would do this for me
I can do it for you, but I just realized that I've never done this with PRs with review comments. So I'm not sure how force push will affect those suggestions.
Maybe it's safer to just add them after merge. Or you can just add them now and it'll work after merging.
Would it be possible o have something what would let me to copy a link pointing to a specific bullet point or excerpt of a guideline and paste it as a link AND when a user would arrive via this link, then a guideline I wanted to point them to would be highlighted?
From Zola experiment:
https://user-images.githubusercontent.com/639336/104797867-8be91d80-5776-11eb-9def-0c8ed7cd362b.mp4
Syntax:
- {{ anchored(id='novelty', text='**Make sure your kata adds some new value to Codewars.**') }}
Hovering over will reveal a link that you can click or copy the URL. Anchored content is styled differently when targeted.