build(docs-infra): separate NgModules from Classes in API docs (#25734)

PR Close #25734
This commit is contained in:
Pete Bacon Darwin
2018-08-29 17:23:08 +01:00
committed by Kara Erickson
parent 34b848ad51
commit bc5cb8153e
8 changed files with 132 additions and 29 deletions

View File

@ -49,6 +49,7 @@ export class ApiListComponent implements OnInit {
{ value: 'function', title: 'Function' },
{ value: 'interface', title: 'Interface' },
{ value: 'pipe', title: 'Pipe'},
{ value: 'ngmodule', title: 'NgModule'},
{ value: 'type-alias', title: 'Type alias' },
{ value: 'package', title: 'Package'}
];

View File

@ -61,6 +61,14 @@ $api-symbols: (
content: ' ',
background: $white
),
class: (
content: 'C',
background: $blue-500
),
const: (
content: 'K',
background: $mediumgray
),
decorator: (
content: '@',
background: $blue-800
@ -69,46 +77,42 @@ $api-symbols: (
content: 'D',
background: $pink-600
),
pipe: (
content: 'P',
background: $blue-grey-600
),
class: (
content: 'C',
background: $blue-500
),
interface: (
content: 'I',
background: $teal-500
enum: (
content: 'E',
background: $amber-700
),
function: (
content: 'F',
background: $green-500
),
enum: (
content: 'E',
background: $amber-700
),
const: (
content: 'K',
background: $mediumgray
interface: (
content: 'I',
background: $teal-500
),
let: (
content: 'K',
background: $mediumgray
),
var: (
content: 'K',
background: $mediumgray
ngmodule: (
content: 'M',
background: $darkred
),
package: (
content: 'Pk',
background: $purple-600
),
pipe: (
content: 'P',
background: $blue-grey-600
),
type-alias: (
content: 'T',
background: $light-green-600
),
package: (
content: 'Pk',
background: $purple-600
)
var: (
content: 'K',
background: $mediumgray
),
);
// OTHER