Skip to content

Commit c23b228

Browse files
authored
Add discovery landing page for packages docs (#60283)
1 parent 75cfa67 commit c23b228

21 files changed

+55
-16
lines changed

content/packages/index.md

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,30 +4,30 @@ shortTitle: '{% data variables.product.prodname_registry %}'
44
intro: 'Learn to safely publish and consume packages, store your packages alongside your code, and share your packages privately with your team or publicly with the open source community. You can also automate your packages with {% data variables.product.prodname_actions %}.'
55
introLinks:
66
quickstart: /packages/quickstart
7-
reference: /packages/learn-github-packages
8-
featuredLinks:
9-
startHere:
10-
- /packages/learn-github-packages
11-
- /packages/managing-github-packages-using-github-actions-workflows
7+
overview: /packages/learn-github-packages/introduction-to-github-packages
8+
includedCategories:
9+
- Get started with packages
10+
- Publish and manage packages
11+
- Work with a package registry
12+
carousels:
13+
recommended:
14+
- /packages/quickstart
15+
- /packages/learn-github-packages/introduction-to-github-packages
16+
- /packages/learn-github-packages/about-permissions-for-github-packages
17+
- /packages/learn-github-packages/publishing-a-package
1218
- /packages/learn-github-packages/installing-a-package
13-
popular:
14-
- /packages/working-with-a-github-packages-registry/working-with-the-npm-registry
15-
- '{% ifversion ghes %}/packages/working-with-a-github-packages-registry/migrating-to-the-container-registry-from-the-docker-registry{% endif %}'
16-
- /packages/learn-github-packages
17-
- /packages/working-with-a-github-packages-registry/working-with-the-apache-maven-registry
18-
guideCards:
19-
- '{% ifversion ghes %}/packages/working-with-a-github-packages-registry/migrating-to-the-container-registry-from-the-docker-registry{% endif %}'
19+
- /packages/managing-github-packages-using-github-actions-workflows/publishing-and-installing-a-package-with-github-actions
2020
- /packages/working-with-a-github-packages-registry/working-with-the-container-registry
21-
- '{% ifversion packages-npm-v2 %}/packages/working-with-a-github-packages-registry/working-with-the-npm-registry{% endif %}'
22-
- /packages/working-with-a-github-packages-registry/working-with-the-rubygems-registry
21+
- /packages/working-with-a-github-packages-registry/working-with-the-npm-registry
22+
- /packages/learn-github-packages/configuring-a-packages-access-control-and-visibility
2323
changelog:
2424
label: packages
2525
prefix: 'Packages: '
2626
redirect_from:
2727
- /github/managing-packages-with-github-packages
2828
- /categories/managing-packages-with-github-package-registry
2929
- /github/managing-packages-with-github-package-registry
30-
layout: product-landing
30+
layout: discovery-landing
3131
versions:
3232
fpt: '*'
3333
ghes: '*'
@@ -38,4 +38,3 @@ children:
3838
- /working-with-a-github-packages-registry
3939
- /managing-github-packages-using-github-actions-workflows
4040
---
41-
<!--This section is needed to determine the order of the left sidebar for now-->

content/packages/learn-github-packages/about-permissions-for-github-packages.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ versions:
77
ghes: '*'
88
ghec: '*'
99
shortTitle: About permissions
10+
category:
11+
- Get started with packages
1012
---
1113

1214
The permissions for packages can be scoped either to a user or an organization or to a repository.

content/packages/learn-github-packages/configuring-a-packages-access-control-and-visibility.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ versions:
1010
ghec: '*'
1111
ghes: '*'
1212
shortTitle: Access control & visibility
13+
category:
14+
- Publish and manage packages
1315
---
1416
{% data reusables.package_registry.container-registry-ghes-beta %}
1517

content/packages/learn-github-packages/connecting-a-repository-to-a-package.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ versions:
1010
ghec: '*'
1111
ghes: '*'
1212
shortTitle: Connect a repository
13+
category:
14+
- Publish and manage packages
1315
---
1416

1517
When you publish a package that is scoped to a personal account or an organization, the package is not linked to a repository by default. If you connect a package to a repository, the package's landing page will show information and links from the repository, such as the README. You can also choose to have the package inherit its access permissions from the linked repository. For more information, see [AUTOTITLE](/packages/learn-github-packages/configuring-a-packages-access-control-and-visibility).

content/packages/learn-github-packages/deleting-and-restoring-a-package.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ versions:
1212
ghes: '*'
1313
ghec: '*'
1414
shortTitle: Delete & restore a package
15+
category:
16+
- Publish and manage packages
1517
---
1618

1719
{% data reusables.package_registry.packages-ghes-release-stage %}

content/packages/learn-github-packages/installing-a-package.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ versions:
1111
fpt: '*'
1212
ghes: '*'
1313
ghec: '*'
14+
category:
15+
- Get started with packages
1416
---
1517

1618
{% data reusables.package_registry.packages-ghes-release-stage %}

content/packages/learn-github-packages/introduction-to-github-packages.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ versions:
1515
ghes: '*'
1616
ghec: '*'
1717
shortTitle: Introduction
18+
category:
19+
- Get started with packages
1820
---
1921

2022
{% data reusables.package_registry.packages-ghes-release-stage %}

content/packages/learn-github-packages/publishing-a-package.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ versions:
1010
fpt: '*'
1111
ghes: '*'
1212
ghec: '*'
13+
category:
14+
- Publish and manage packages
1315
---
1416

1517
{% data reusables.package_registry.packages-ghes-release-stage %}

content/packages/learn-github-packages/viewing-packages.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ versions:
1313
fpt: '*'
1414
ghes: '*'
1515
ghec: '*'
16+
category:
17+
- Get started with packages
1618
---
1719

1820
{% data reusables.package_registry.packages-ghes-release-stage %}

content/packages/managing-github-packages-using-github-actions-workflows/about-github-packages-and-github-actions.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ versions:
88
shortTitle: Packages & Actions
99
redirect_from:
1010
- /actions/publishing-packages/about-packaging-with-github-actions
11+
category:
12+
- Get started with packages
1113
---
1214

1315
{% data reusables.package_registry.packages-ghes-release-stage %}

0 commit comments

Comments
 (0)