Skip to content

Commit ca3a4e4

Browse files
authored
Merge branch 'main' into broken-links
2 parents 57048a3 + a122f0f commit ca3a4e4

11 files changed

Lines changed: 43 additions & 10 deletions

File tree

69.1 KB
Loading
67.1 KB
Loading

content/desktop/contributing-and-collaborating-using-github-desktop/managing-tags.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,14 @@ versions:
3434

3535
3. All tags associated with the commit are visible in that commit's metadata.
3636
![Viewing a tag in the commit](/assets/images/help/desktop/viewing-tags-in-commit.png)
37+
38+
### Deleting tags
39+
40+
{% note %}
41+
42+
**Note**: You can only delete tags associated with commits that have not yet been pushed.
43+
44+
{% endnote %}
45+
46+
{% data reusables.desktop.history-tab %}
47+
{% data reusables.desktop.delete-tag %}

content/github/building-a-strong-community/blocking-a-user-from-your-organization.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,13 @@ When you block a user, you can choose to block them indefinitely or for a specif
1313

1414
{% tip %}
1515

16-
**Tip:** If you're blocking a user because of a heated conversation, consider [locking the conversation](/articles/locking-conversations) so only collaborators can comment.
16+
**Tip:** If you're blocking a user because of a heated conversation, consider locking the conversation so only collaborators can comment. For more information, see "[Locking conversations](/github/building-a-strong-community/locking-conversations)."
1717

1818
{% endtip %}
1919

2020
At the time that you block a user from your organization:
2121
- The user stops watching your organization's repositories
2222
- The user's stars and issue assignments are removed from your repositories
23-
- The user's forks of your organization's repositories are deleted
2423
- The user's votes on discussions or comments in your organization's repositories are deleted
2524
- The user is removed as a collaborator on your organization's repositories
2625
- The user's contributions to your organization's repositories are no longer counted as contributions for them

content/github/building-a-strong-community/blocking-a-user-from-your-personal-account.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ versions:
99

1010
### About blocking users
1111

12-
You can block a user in your account settings or from the user's profile. {% data variables.product.prodname_dotcom %} will not notify the user when you block them. If you want to avoid contributing to the same project as someone you've blocked, you can [choose to display a warning](/articles/blocking-a-user-from-your-personal-account/#blocking-a-user-in-your-account-settings) on any repositories with prior contributions from a blocked user. You may still see the activity of blocked users in shared spaces and blocked users can delete their existing content.
12+
You can block a user in your account settings or from the user's profile. {% data variables.product.prodname_dotcom %} will not notify the user when you block them. If you want to avoid contributing to the same project as someone you've blocked, you can choose to display a warning on any repositories with prior contributions from a blocked user. For more information, see "[Blocking a user in your account settings](#blocking-a-user-in-your-account-settings)." You may still see the activity of blocked users in shared spaces and blocked users can delete their existing content.
1313

1414
{% tip %}
1515

16-
**Tip:** If you're blocking a user because of a heated conversation, consider [locking the conversation](/articles/locking-conversations) so only collaborators can comment.
16+
**Tip:** If you're blocking a user because of a heated conversation, consider locking the conversation so only collaborators can comment. For more information, see "[Locking conversations](/github/building-a-strong-community/locking-conversations)."
1717

1818
{% endtip %}
1919

@@ -22,8 +22,6 @@ When you block a user:
2222
- The user stops watching and unpins your repositories
2323
- The user is not able to join any organizations you are an owner of
2424
- The user's stars and issue assignments are removed from your repositories
25-
- The user's forks of your repositories are deleted
26-
- You delete any forks of the user's repositories
2725
- The user's votes on discussions or comments in your repositories are deleted
2826
- The user is removed as a collaborator on your repositories
2927
- The user's contributions to your repositories are no longer counted as contributions for them

content/github/setting-up-and-managing-your-github-profile/managing-your-profile-readme.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ GitHub will display your profile README on your profile page if all of the follo
5454
The generated README file is pre-populated with a template to give you some inspiration for your profile README.
5555
![README file with pre-populated template](/assets/images/help/repository/personal-repository-readme-template.png)
5656

57+
For a summary of all the available emojis and their codes, see "[Emoji cheat sheet](http://www.emoji-cheat-sheet.com/)."
58+
5759
### Removing a profile README
5860

5961
The profile README is removed from your {% data variables.product.prodname_dotcom %} profile if any of the following apply:

content/github/site-policy/github-subprocessors-and-cookies.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ When we bring on a new subprocessor who handles our Users' Personal Information,
4646

4747
GitHub uses cookies to provide and secure our websites, as well as to analyze the usage of our websites, in order to offer you a great user experience. Please take a look at our [Privacy Statement](/github/site-policy/github-privacy-statement#our-use-of-cookies-and-tracking) if you’d like more information about cookies, and on how and why we use them.
4848

49-
Since the number and names of cookies may change,the table below may be updated from time to time.
49+
Since the number and names of cookies may change, the table below may be updated from time to time.
5050

5151
| Service Provider | Cookie Name | Description | Expiration* |
5252
|:---|:---|:---|:---|
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
1. Right-click the commit.
2+
3+
- If a commit has only one tag, click **Delete Tag TAG NAME**.
4+
![Select the delete tag menu item](/assets/images/help/desktop/select-delete-tag.png)
5+
- If a commit has multiple tags, hover over **Delete Tag...** and then click the tag that you want to delete.
6+
![Hover over the delete tag menu](/assets/images/help/desktop/delete-tag-multiple.png)

lib/liquid-tags/link.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const Liquid = require('liquid')
44
const liquid = new Liquid.Engine()
55
const LiquidTag = require('./liquid-tag')
66
const findPage = require('../find-page')
7-
const { getPathWithoutLanguage } = require('../path-utils')
7+
const { getPathWithoutLanguage, getPathWithoutVersion } = require('../path-utils')
88
const getApplicableVersions = require('../get-applicable-versions')
99
const removeFPTFromPath = require('../remove-fpt-from-path')
1010

@@ -74,7 +74,7 @@ module.exports = class Link extends LiquidTag {
7474
}
7575

7676
// add language code and version
77-
fullPath = removeFPTFromPath(path.posix.join('/', ctx.currentLanguage, ctx.currentVersion, getPathWithoutLanguage(fullPath)))
77+
fullPath = removeFPTFromPath(path.posix.join('/', ctx.currentLanguage, ctx.currentVersion, getPathWithoutLanguage(getPathWithoutVersion(fullPath))))
7878

7979
// find the page based on the full path
8080
const page = findPage(fullPath, ctx.pages, ctx.redirects)

lib/path-utils.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,12 @@ function getPathWithoutLanguage (href) {
2222

2323
// Remove the version segment from the path
2424
function getPathWithoutVersion (href) {
25-
return href.replace(`/${getVersionStringFromPath(href)}`, '')
25+
const versionFromPath = getVersionStringFromPath(href)
26+
27+
// If the derived version is not found in the list of all versions, just return the HREF
28+
return allVersions[versionFromPath]
29+
? href.replace(`/${getVersionStringFromPath(href)}`, '')
30+
: href
2631
}
2732

2833
// Return the version segment in a path

0 commit comments

Comments
 (0)