This repository was archived by the owner on Dec 4, 2017. It is now read-only.
docs(badges): add experiment, stable, and deprecated badges to API doc. #1118
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Change log
@experimental
,@stable
, and@deprecated
for dgeni to process.@docsNotRequired
as well, not actually being used yet.jade.template
, which generates a_data.json
(a harp.js data context for jade), to include astability
status_hero.jade
and_hero.scss
to add badgesexample-title.scss
Preview
For demonstration purposes, I've included these tags in my local copy of the angular2 project, and hosted a test instance of angular.io. With the current state of angular2 docs, we will only see the doc type, and in some cases (such as FORM_BINDING) the deprecated badge.
The logic which decides which badge to pick is the following:
@naomiblack @IgorMinar @petebacondarwin
CLOSES:
#1098
#1097