[Telepathy-commits] [telepathy-spec/master] Add permalinks to each method/signal/etc in the spec
Davyd Madeley
davyd at madeley.id.au
Mon Mar 23 12:29:18 PDT 2009
---
doc/spec/style.css | 5 +++++
doc/templates/interface.html | 3 +++
2 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/doc/spec/style.css b/doc/spec/style.css
index a3ce895..b1a5968 100644
--- a/doc/spec/style.css
+++ b/doc/spec/style.css
@@ -64,3 +64,8 @@ div.signal {
div.property {
border: 1px solid #75507b;
}
+
+span.permalink {
+ float: right;
+ font-size: x-small;
+}
diff --git a/doc/templates/interface.html b/doc/templates/interface.html
index caa5788..1e6e0d9 100644
--- a/doc/templates/interface.html
+++ b/doc/templates/interface.html
@@ -19,6 +19,7 @@
<h1>Methods</h1>
#for $method in $interface.methods.values()
<div id="$method.name" class="inset method">
+ <span class="permalink">(<a href="$method.get_url()">Permalink</a>)</span>
<h2>$method.get_short_name()</h2>
#if $method.in_args
<div class="indent">
@@ -46,6 +47,7 @@
<h1>Signals</h1>
#for $signal in $interface.signals.values()
<div id="$signal.name" class="inset signal">
+ <span class="permalink">(<a href="$signal.get_url()">Permalink</a>)</span>
<h2>$signal.get_short_name()</h2>
#if $signal.args
<div class="indent">
@@ -65,6 +67,7 @@
<h1>Properties</h1>
#for $property in $interface.properties.values()
<div id="$property.name" class="inset property">
+ <span class="permalink">(<a href="$property.get_url()">Permalink</a>)</span>
<h2>$property.get_short_name()</h2>
</div>
#end for
--
1.5.6.5
More information about the telepathy-commits
mailing list