[Telepathy-commits] [telepathy-spec/master] Move docstring above possible errors for methods

Davyd Madeley davyd at madeley.id.au
Mon Mar 23 12:29:34 PDT 2009


---
 doc/templates/interface.html |    5 +++--
 doc/templates/style.css      |    7 +++++++
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/doc/templates/interface.html b/doc/templates/interface.html
index 74622fc..499f7fb 100644
--- a/doc/templates/interface.html
+++ b/doc/templates/interface.html
@@ -183,7 +183,10 @@
      </div>
      #end if
      
+     $method.get_docstring()
+     
      #if $method.possible_errors
+     <hr/>
      <div class="indent">
       <h3>Possible Errors</h3>
       <ul>
@@ -197,8 +200,6 @@
       </ul>
      </div>
      #end if
-    
-     $method.get_docstring()
     </div>
     #end for
    </div>
diff --git a/doc/templates/style.css b/doc/templates/style.css
index fa388e7..25db011 100644
--- a/doc/templates/style.css
+++ b/doc/templates/style.css
@@ -15,6 +15,13 @@ ul {
 	padding: 0;
 }
 
+hr {
+	border-style: none;
+	color: #cccccc;
+	background-color: #cccccc;
+	height: 1px;
+}
+
 div.header {
 	position: fixed;
 	height: 4em;
-- 
1.5.6.5




More information about the telepathy-commits mailing list