New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build(docs-infra): package entry points API templates #25453
build(docs-infra): package entry points API templates #25453
Conversation
You can preview 16e2f1a at https://pr25453-16e2f1a.ngbuilds.io/. |
You can see a class inside a secondary entry point, which is inside a package here: https://pr25453-16e2f1a.ngbuilds.io/api/animations/browser/AnimationDriver |
LGTM |
@@ -24,12 +24,12 @@ <h3>{$ title $}</h3> | |||
|
|||
{% include "includes/see-also.html" %} | |||
|
|||
<h2>Entry points</h2> | |||
{$ listItems([doc.packageInfo.primary], 'Primary') $} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we keep the primary entry point listed on the package page along with the description of the entry point as we had it? Otherwise the "Primary entry point exports" heading seems a bit out of place.
So the package template would contain:
## Entry Points
### Primary
| @angular/animations | once sentence description |
### Secondary
| @angular/animations/foo | once sentence description |
| @angular/animations/bar | once sentence description |
## Primary Entry Point Exports
...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would also be awesome if we could make the primary entry point table entry (e.g. @angular/animations
) a link to the Primary Entry Point Exports
rather than link back to the package, which will confuse people.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll make that happen
packages/animations/PACKAGE.md
Outdated
@@ -27,3 +27,4 @@ and reverse an animation sequence. | |||
|
|||
@see Find out more in the [animations guide](guide/animations). | |||
@see See what polyfills you might need in the [browser support guide](guide/browser-support). | |||
@experimental |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pete, I think you missed the discussion where we agreed that these tags are meaningless because users don't really see them and as of now, all apis regardless of the experimental label are considered stable and can't be broken without a deprecation/update plan.
Can you please remove this tag and also remove the support for displaying these tags in the templates you touched here. Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK - I did miss that
16e2f1a
to
e588bf9
Compare
@IgorMinar - done PTAL |
You can preview e588bf9 at https://pr25453-e588bf9.ngbuilds.io/. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yup. looks good to me now! thanks
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
No description provided.