Skip to content

Commit 509b145

Browse files
committed
docs: initial commit of Angular Package Format documentation (angular#43987)
This commit adds the Angular Package Format to AIO. Previously this document was updated and versioned in Google Docs. The document is also updated for the Angular Package Format version 13. PR Close angular#43987
1 parent 1f8d5c3 commit 509b145

6 files changed

Lines changed: 387 additions & 2 deletions

File tree

.pullapprove.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1091,7 +1091,8 @@ groups:
10911091
contains_any_globs(files, [
10921092
'aio/content/guide/creating-libraries.md',
10931093
'aio/content/guide/libraries.md',
1094-
'aio/content/guide/using-libraries.md'
1094+
'aio/content/guide/using-libraries.md',
1095+
'aio/content/guide/angular-package-format.md'
10951096
])
10961097
reviewers:
10971098
users:
@@ -1223,6 +1224,7 @@ groups:
12231224
contains_any_globs(files.exclude("goldens/public-api/manage.js"), [
12241225
'goldens/public-api/**',
12251226
'docs/NAMING.md',
1227+
'aio/content/guide/angular-package-format.md',
12261228
'aio/content/errors/*.md',
12271229
'aio/content/guide/glossary.md',
12281230
'aio/content/guide/styleguide.md',

aio/content/guide/angular-package-format.md

Lines changed: 366 additions & 0 deletions
Large diffs are not rendered by default.

aio/content/guide/glossary.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,14 @@ An Angular [component](#component) packaged as a [custom element](#custom-elemen
3434

3535
Learn more in [Angular Elements Overview](guide/elements).
3636

37+
{@a apf}
38+
39+
## Angular package format (APF)
40+
41+
An Angular specific specification for layout of npm packages that is used by all first-party Angular packages, and most third-party Angular libraries.
42+
43+
Learn more in the [Angular Package Format specification](guide/angular-package-format).
44+
3745
{@a annotation}
3846

3947
## annotation

aio/content/navigation.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -740,6 +740,11 @@
740740
"url": "guide/creating-libraries",
741741
"title": "Creating Libraries",
742742
"tooltip": "Extend Angular by creating, publishing, and using your own libraries."
743+
},
744+
{
745+
"url": "guide/angular-package-format",
746+
"title": "Angular Package Format",
747+
"tooltip": "Information about the Angular Package Format."
743748
}
744749
]
745750
}
@@ -1232,4 +1237,4 @@
12321237
]
12331238
}
12341239
]
1235-
}
1240+
}

aio/firebase.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,9 @@
188188
// Use discoverable link for Angular DevTools and redirect to the guide page
189189
{"type": 301, "source": "/devtools", "destination": "/guide/devtools"},
190190

191+
// Use discoverable link for Angular Package Format and redirect to the guide page
192+
{"type": 301, "source": "/apf", "destination": "/guide/angular-package-format"},
193+
191194
// Temporarily serve the guide at `/devtools` as well as `/guide/devtools` until users have
192195
// their SW updated to a version that knows about the `/devtools` redirect.
193196
{"type": 302, "source": "/generated/docs/devtools.json", "destination": "/generated/docs/guide/devtools.json"}

aio/tests/deployment/shared/URLS_TO_REDIRECT.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/apf --> /guide/angular-package-format
12
/api/animate/AnimationBuilder --> /api/animations/AnimationBuilder
23
/api/animate/CssAnimationBuilder --> /api/animations/CssAnimationBuilder
34
/api/api/core/ElementRef --> /api/core/ElementRef

0 commit comments

Comments
 (0)