From 60ccf50433d823f18ee63e9c25c979e7b81f2fc1 Mon Sep 17 00:00:00 2001 From: Mateusz Kowalczyk Date: Thu, 18 Dec 2014 07:30:58 +0000 Subject: Update docs for @since --- doc/haddock.xml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/doc/haddock.xml b/doc/haddock.xml index 3b58f824..2ffd7d78 100644 --- a/doc/haddock.xml +++ b/doc/haddock.xml @@ -2210,6 +2210,40 @@ This belongs to the list above! +
+ Metadata + Since Haddock 2.16.0, some support for embedding + metadata in the comments has started to appear. The use of + such data aims to standardise various community conventions in + how such information is conveyed and to provide uniform + rendering. + + +
+ Since + @since annotation can be used to + convey information about when the function was introduced or + when it has changed in the way significant to the user. + @since is a paragraph-level element. + While multiple such annotations are not an error, only the + one to appear in the comment last will be used. + @since has to be followed with a version + number, no further description is currently allowed. The + meaning of this feature is subject to change in the future + per user feedback. + + + +-- | +-- Some comment +-- +-- @since 1.2.3 + + +
+ +
+ -- cgit v1.2.3