[gobject-introspection: 21/30] devdocs: Distinguish between versioning notes



commit 9d0c3e1551b1f92935efb02a15df4f6e54b537fd
Author: Philip Chimento <philip chimento gmail com>
Date:   Wed Feb 3 10:11:33 2016 -0800

    devdocs: Distinguish between versioning notes
    
    Previously, Since:, Deprecated:, and Stability: annotations were all
    given the same CSS class. In order to style them differently, we give them
    different classes.

 giscanner/doctemplates/devdocs/Gjs/_doc.tmpl | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/giscanner/doctemplates/devdocs/Gjs/_doc.tmpl b/giscanner/doctemplates/devdocs/Gjs/_doc.tmpl
index b8a2d7a6..d645df17 100644
--- a/giscanner/doctemplates/devdocs/Gjs/_doc.tmpl
+++ b/giscanner/doctemplates/devdocs/Gjs/_doc.tmpl
@@ -1,19 +1,19 @@
 <%def name="format_documentation(node)">
   % if node.version:
-    <p class="versioning-note">
+    <p class="since-note">
       New in version ${node.version}.
       ${formatter.format_inline(node, node.version_doc)}
     </p>
   % endif
   % if node.deprecated:
-    <p class="versioning-note">
+    <p class="deprecated-note">
       Deprecated since ${node.deprecated}.
       ${formatter.format_inline(node, node.deprecated_doc)}
     </p>
   % endif
   % if node.stability:
     ## Not sure what this looks like in the wild
-    <p class="versioning-note">
+    <p class="stability-note">
       Stability: ${node.stability}.
       ${formatter.format_inline(node, node.stability_doc)}
     </p>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]