forked from github/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of github.com:github/docs-internal into build-ind…
…ices-for-given-version
- Loading branch information
Showing
25 changed files
with
408 additions
and
74 deletions.
There are no files selected for viewing
Binary file modified
BIN
+95 KB
(120%)
assets/images/help/package-registry/packages-overview-diagram.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
title: Release notes | ||
intro: The release notes for {{ allVersions[currentVersion].versionTitle }}. | ||
layout: release-notes | ||
versions: | ||
enterprise-server: '*' | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
```shell | ||
$ ssh-add ~/.ssh/id_rsa | ||
$ ssh-add ~/.ssh/id_ed25519 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
If you created your key with a different name, or if you are adding an existing key that has a different name, replace *id_rsa* in the command with the name of your private key file. | ||
If you created your key with a different name, or if you are adding an existing key that has a different name, replace *id_ed25519* in the command with the name of your private key file. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{% assign sectionTitle = section.title | default: 'Misc' %} | ||
|
||
{% case sectionTitle %} | ||
{% when "New Feature" %} | ||
{% assign colors = "bg-orange text-white" %} | ||
{% when "Bugs" %} | ||
{% assign colors = "bg-purple text-white" %} | ||
{% else %} | ||
{% assign colors = "bg-blue text-white" %} | ||
{% endcase %} | ||
|
||
<span class="{{ colors }} px-3 py-2 f5 text-uppercase text-mono">{{ sectionTitle }}</span> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
{% assign product = siteTree[currentLanguage][currentVersion].products[currentProduct] %} | ||
|
||
<!doctype html> | ||
<html lang="{{currentLanguage}}"> | ||
{% include head %} | ||
|
||
<body class="d-lg-flex"> | ||
{% include sidebar %} | ||
|
||
<main class="width-full"> | ||
{% include header %} | ||
{% include deprecation-banner %} | ||
|
||
<div class="container-xl px-3 px-md-6 my-4 my-lg-4 markdown-body"> | ||
<div class="d-lg-flex flex-justify-between"> | ||
<div class="d-block d-lg-none">{% include article-version-switcher %}</div> | ||
<div class="d-flex flex-items-center" style="height: 39px;"> | ||
{% include breadcrumbs %} | ||
</div> | ||
<div class="d-none d-lg-block">{% include article-version-switcher %}</div> | ||
</div> | ||
|
||
<article class="mt-2 d-flex gutter"> | ||
<div class="col-12 col-md-10"> | ||
<header> | ||
<h1>{{ allVersions[currentVersion].versionTitle }}</h1> | ||
</header> | ||
|
||
{% for patch in releaseNotes %} | ||
<details id="{{ patch.version }}" class="details-reset mb-3" {% if forloop.first %}open{% endif %}> | ||
<summary class="position-sticky top-0 bg-white pb-2 d-flex flex-items-center flex-justify-between border-bottom"> | ||
<h2 class="d-flex flex-items-center border-bottom-0"> | ||
{{ patch.version }} | ||
|
||
{% if patch.release_candidate %} | ||
<span class="IssueLabel bg-orange text-white mx-2">Release Candidate</span> | ||
{% endif %} | ||
</h2> | ||
|
||
<div> | ||
<span class="text-gray-light text-mono text-small" style="margin-left: auto">{{ patch.date | date: "%B %d, %Y" }}</span> | ||
|
||
<div class="mt-1 d-flex flex-items-center f5"> | ||
<a href="https://enterprise.github.com/releases/{{ patch.version }}/download"> | ||
Download GHES {{ patch.version }} | ||
</a> | ||
|
||
<button class="js-print btn-link ml-6"> | ||
</button> | ||
</div> | ||
</div> | ||
</summary> | ||
|
||
<p>{{ patch.intro }}</p> | ||
|
||
{% for section in patch.sortedNotes %} | ||
<div class="py-6 border-bottom d-block d-md-flex flex-items-baseline"> | ||
<div class="mr-2 flex-shrink-0 mb-3"> | ||
{% include 'release-notes-category-label' %} | ||
</div> | ||
|
||
<ul class="flex-auto container-xl"> | ||
{% for note in section.notes %} | ||
{% if note.note and note.note != '<p>n/a</p>' %} | ||
<li> | ||
{{ note.note }} | ||
</li> | ||
{% endif %} | ||
{% endfor %} | ||
</ul> | ||
</div> | ||
{% endfor %} | ||
</details> | ||
{% endfor %} | ||
</div> | ||
|
||
<aside class="col-2 d-none d-md-block no-print"> | ||
<h3 class="f5">Patch versions</h3> | ||
<ul> | ||
{% for patch in releaseNotes %} | ||
<li><a href="#{{ patch.version }}">{{ patch.version }}</a></li> | ||
{% endfor %} | ||
</ul> | ||
</aside> | ||
</article> | ||
</div> | ||
|
||
{% include support %} | ||
{% include small-footer %} | ||
</main> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
module.exports = { | ||
properties: { | ||
intro: { | ||
type: 'string', | ||
required: true | ||
}, | ||
date: { | ||
type: 'string', | ||
format: 'date', | ||
required: true | ||
}, | ||
release_candidate: { | ||
type: 'boolean', | ||
default: false | ||
}, | ||
notes: { | ||
required: true, | ||
type: 'array', | ||
items: { | ||
type: 'object', | ||
properties: { | ||
note: { | ||
type: 'string', | ||
required: true | ||
}, | ||
type: { | ||
type: 'string', | ||
required: true | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,6 +26,13 @@ renderContent.liquid.registerFilters({ | |
obj_size: (input) => { | ||
if (!input) return 0 | ||
return Object.keys(input).length | ||
}, | ||
/** | ||
* Returns the version number of a GHES version string | ||
* ex: [email protected] => 2.22 | ||
*/ | ||
version_num: (input) => { | ||
return input.split('@')[1] | ||
} | ||
}) | ||
|
||
|
Oops, something went wrong.