diff options
| author | Peter Bacon Darwin | 2014-02-15 20:57:38 +0000 | 
|---|---|---|
| committer | Peter Bacon Darwin | 2014-02-16 19:03:45 +0000 | 
| commit | 0b28de1e550d4811cd7206d2883fde157e500e83 (patch) | |
| tree | f0b950140143f69fcfe8881d1bb4083b47eb5bd5 /docs/config/templates | |
| parent | 84d9a574169e40013f605549074fbf8057466ad5 (diff) | |
| download | angular.js-0b28de1e550d4811cd7206d2883fde157e500e83.tar.bz2 | |
chore(doc-gen): improve error page navigation
Diffstat (limited to 'docs/config/templates')
| -rw-r--r-- | docs/config/templates/errorNamespace.template.html | 28 | 
1 files changed, 28 insertions, 0 deletions
| diff --git a/docs/config/templates/errorNamespace.template.html b/docs/config/templates/errorNamespace.template.html new file mode 100644 index 00000000..ebd48e04 --- /dev/null +++ b/docs/config/templates/errorNamespace.template.html @@ -0,0 +1,28 @@ +{% extends 'base.template.html' %} + +{% block content %} +<h1>{$ doc.name $}</h1> + +<div class="description"> +  Here are the list of errors in the {$ doc.name $} namespace. + +</div> + +<div class="component-breakdown"> +  <div> +    <table class="definition-table"> +      <tr> +        <th>Name</th> +        <th>Description</th> +      </tr> +      {% for errorDoc in doc.errors -%} +      <tr> +        <td><a href="{$ errorDoc.path $}">{$ errorDoc.name $}</td> +        <td>{$ errorDoc.fullName $}</td> +      </tr> +      {% endfor %} +    </table> +  </div> +</div> + +{% endblock %}
\ No newline at end of file | 
