summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Chimento <philip.chimento@gmail.com>2016-02-03 10:11:33 -0800
committerrockon999 <rockon999@users.noreply.github.com>2018-08-06 02:53:46 -0500
commit9d0c3e1551b1f92935efb02a15df4f6e54b537fd (patch)
treefdd997a0fc7c551d70f09e855c29517490d04582
parentd69aad5810fb35a4b38796f9378787bc08a9a981 (diff)
downloadgobject-introspection-9d0c3e1551b1f92935efb02a15df4f6e54b537fd.tar.gz
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.
-rw-r--r--giscanner/doctemplates/devdocs/Gjs/_doc.tmpl6
1 files 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>