Skip to content

Commit b3e1ff4

Browse files
authored
Update documentation for GitHub AE's December 2021 release (#23405)
1 parent db3254b commit b3e1ff4

File tree

284 files changed

+622
-2372
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

284 files changed

+622
-2372
lines changed
25.8 KB
Loading
27.9 KB
Loading
102 KB
Loading
18 KB
Loading
65.8 KB
Loading

components/release-notes/GHAEReleaseNotePatch.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@ export function GHAEReleaseNotePatch({ patch, didEnterView }: Props) {
1616
}
1717
}, [onScreen])
1818

19-
const bannerText = patch.currentWeek
20-
? t('banner_text_current')
21-
: `${t('banner_text_past')} ${patch.friendlyDate}.`
19+
const bannerText = t('banner_text')
2220

2321
return (
2422
<div
@@ -45,7 +43,7 @@ export function GHAEReleaseNotePatch({ patch, didEnterView }: Props) {
4543
<button className="js-print btn-link ml-3 text-small text-bold">Print</button>
4644
</div>
4745
<p className="color-fg-muted mt-1">
48-
{patch.friendlyDate} - {bannerText}
46+
{bannerText} {patch.friendlyDate}.
4947
</p>
5048
</header>
5149

components/release-notes/GHAEReleaseNotes.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ const CollapsibleReleaseSection = ({
8585
{release.version}
8686
<div className="d-flex">
8787
<span className="color-fg-muted text-small text-normal mr-1">
88-
{release.patches.length} releases
88+
{release.patches.length} {release.patches.length === 1 ? 'release' : 'releases'}
8989
</span>
9090
<ChevronDownIcon className={isOpen ? 'rotate-180' : ''} />
9191
</div>

components/release-notes/GHESReleaseNotes.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ const CollapsibleReleaseSection = ({
166166
{release.version}
167167
<div className="d-flex">
168168
<span className="color-fg-muted text-small text-normal mr-1">
169-
{release.patches.length} releases
169+
{release.patches.length} {release.patches.length === 1 ? 'release' : 'releases'}
170170
</span>
171171
<ChevronDownIcon className={isOpen ? 'rotate-180' : ''} />
172172
</div>

components/release-notes/PatchNotes.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -93,11 +93,7 @@ export function PatchNotes({ patch, withReleaseNoteLabel }: Props) {
9393
</h4>
9494
{item.notes.map((note) => {
9595
return (
96-
<li
97-
key={note}
98-
className={cx(!withReleaseNoteLabel && 'list-style-none', 'f4')}
99-
dangerouslySetInnerHTML={{ __html: note }}
100-
/>
96+
<li key={note} className="f4" dangerouslySetInnerHTML={{ __html: note }} />
10197
)
10298
})}
10399
</Fragment>

content/account-and-profile/managing-subscriptions-and-notifications-on-github/managing-subscriptions-for-activity-on-github/managing-your-subscriptions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ When you unwatch a repository, you unsubscribe from future updates from that rep
6565
1. In the left sidebar, under the list of repositories, use the "Manage notifications" drop-down to click **Watched repositories**.
6666
![Manage notifications drop down menu options](/assets/images/help/notifications-v2/manage-notifications-options.png)
6767
2. On the watched repositories page, after you've evaluated the repositories you're watching, choose whether to:
68-
{% ifversion fpt or ghes > 3.0 or ghae-next or ghec %}
68+
{% ifversion fpt or ghes > 3.0 or ghae or ghec %}
6969
- Unwatch a repository
7070
- Ignore all notifications for a repository
7171
- Customize the types of event you receive notifications for ({% data reusables.notifications-v2.custom-notification-types %}, if enabled)

0 commit comments

Comments
 (0)