diff options
Diffstat (limited to 'doc/templates/interfaces.html')
-rw-r--r-- | doc/templates/interfaces.html | 47 |
1 files changed, 24 insertions, 23 deletions
diff --git a/doc/templates/interfaces.html b/doc/templates/interfaces.html index d3c5fee6..d4b04990 100644 --- a/doc/templates/interfaces.html +++ b/doc/templates/interfaces.html @@ -2,59 +2,60 @@ <!DOCTYPE html PUBLIC "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd" ""> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> - <title>$spec.title — v$spec.version</title> + <title>{{ spec.title }} — v{{ spec.version }}</title> + <meta charset="UTF-8"> <link rel="stylesheet" href="style.css" type="text/css"/> <link rel="shortcut icon" type="image/png" media="all" href="favicon.png" /> </head> <body> <div class="header"> - <h1>$spec.title</h1> + <h1>{{ spec.title }}</h1> <a href="index.html">Full</a> -#if len($spec.generic_types) > 0 +{% if spec.generic_types|length > 0 %} | <a href="generic-types.html">Generic Types</a> -#end if -#if len($spec.errors) > 0 +{% endif %} +{% if spec.errors|length > 0 %} | <a href="errors.html">Errors</a> -#end if +{% endif %} | <a href="fullindex.html">Full Index</a> </div> <div class="main"> - <b>Version $spec.version</b> + <b>Version {{ spec.version }}</b> <a name="interfaces"></a> <h3>Interfaces</h3> <ul> - #for $interface in $spec.interfaces - #if $interface.causes_havoc + {% for interface in spec.interfaces %} + {% if interface.causes_havoc %} <li class="causes-havoc"> - #elif $interface.is_deprecated + {% elif interface.is_deprecated %} <li class="deprecated"> - #else + {% else %} <li> - #end if - <a href="$interface.get_url()">$interface.name</a> - #if $interface.causes_havoc + {% endif %} + <a href="{{ interface.get_url() }}">{{ interface.name }}</a> + {% if interface.causes_havoc %} (unstable) - #elif $interface.is_deprecated + {% elif interface.is_deprecated %} (deprecated) - #end if + {% endif %} </li> - #end for + {% endfor %} </ul> -#if len($spec.generic_types) > 0 or len($spec.errors) > 0 +{% if spec.generic_types|length > 0 or spec.errors|length > 0 %} <a name="other"></a> <h3>Other</h3> <ul> - #if len($spec.generic_types) > 0 + {% if spec.generic_types|length > 0 %} <li><a href="generic-types.html">Generic Types</a></li> - #end if - #if len($spec.errors) > 0 + {% endif %} + {% if spec.errors|length > 0 %} <li><a href="errors.html">Errors</a></li> - #end if + {% endif %} </ul> -#end if +{% endif %} </div> </body> |