From a7e12b7959212f2fa88fe17d5a045cc9d8b22922 Mon Sep 17 00:00:00 2001 From: Matias Niemelä Date: Wed, 16 Oct 2013 22:48:32 -0400 Subject: feat(docs): provide index pages for each angular module --- docs/src/templates/css/docs.css | 23 ++++++++++++++++++++++ docs/src/templates/js/docs.js | 42 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) (limited to 'docs/src/templates') diff --git a/docs/src/templates/css/docs.css b/docs/src/templates/css/docs.css index 430ff4c9..783f1d21 100644 --- a/docs/src/templates/css/docs.css +++ b/docs/src/templates/css/docs.css @@ -508,3 +508,26 @@ pre ol li { font-size: 16px; word-break: normal; } + +.text-info { + color:#3a87ad; +} + +.definition-table tr > td:first-child { + font-weight:bold; + width:30%; +} + +.definition-table.spaced { + margin-bottom:30px; +} + +.component-heading { + text-transform:capitalize; +} + +.component-breakdown { + margin-bottom:30px; + padding-bottom:30px; + border-bottom:1px solid #aaa; +} diff --git a/docs/src/templates/js/docs.js b/docs/src/templates/js/docs.js index fbabf193..2c5c56d2 100644 --- a/docs/src/templates/js/docs.js +++ b/docs/src/templates/js/docs.js @@ -207,6 +207,48 @@ docsApp.directive.sourceEdit = function(getEmbeddedTemplate) { } }; +docsApp.directive.docModuleComponents = ['sections', function(sections) { + return { + template: '
| Name | ' + + 'Description | ' + + '
|---|---|
| {{ component.shortName }} | ' + + '{{ component.shortDescription }} | ' + + '