[Telepathy-commits] [telepathy-spec/master] Mark interfaces that CAUSE HAVOC or are DEPRECATED in index.html
Davyd Madeley
davyd at madeley.id.au
Mon Mar 23 12:29:29 PDT 2009
---
doc/spec/style.css | 6 ++++++
doc/templates/index.html | 15 ++++++++++++++-
2 files changed, 20 insertions(+), 1 deletions(-)
diff --git a/doc/spec/style.css b/doc/spec/style.css
index f64b05b..e0b52d9 100644
--- a/doc/spec/style.css
+++ b/doc/spec/style.css
@@ -123,6 +123,12 @@ table.summary td {
padding-right: 1ex;
}
+li.causes-havoc {
+ font-style: italic;
+}
+
+li.deprecated,
+li.deprecated a,
table.summary tr.deprecated td,
table.summary tr.deprecated td a {
color: gray;
diff --git a/doc/templates/index.html b/doc/templates/index.html
index 667613a..ed358f6 100644
--- a/doc/templates/index.html
+++ b/doc/templates/index.html
@@ -25,7 +25,20 @@
<h3>Interfaces</h3>
<ul>
#for $interface in $interfaces
- <li><a href="$interface.get_url()">$interface.name</a></li>
+ #if $interface.causes_havoc
+ <li class="causes-havoc">
+ #elif $interface.deprecated
+ <li class="deprecated">
+ #else
+ <li>
+ #end if
+ <a href="$interface.get_url()">$interface.name</a>
+ #if $interface.causes_havoc
+ (unstable)
+ #elif $interface.deprecated
+ (deprecated)
+ #end if
+ </li>
#end for
</ul>
--
1.5.6.5
More information about the telepathy-commits
mailing list