From c993fc87094127f61ec616caf951b3061d357467 Mon Sep 17 00:00:00 2001 From: gjb Date: Wed, 7 May 2014 19:20:54 +0000 Subject: [PATCH] Modify release.xsl to allow proper attribution for sponsored and/or contributed works. This works similarly to how the subversion revision is suffixed in release notes entries when 'revision="NNNNNN"' is set. The tag in relnotes/article.xml can now take the following new elements: - contrib: defined to what type of contribution the change is. Right now, only 'vendor' or 'sponsor' are used. 'vendor' is intended for vendor-contributed code, such as driver updates, etc. 'sponsor' is intended for sponsored work (the 'Sponsored by:' in the commit template). - vendor: The canonical name of the vendor. - sponsor: The canonical name of the sponsor. - vendorurl: The URL for the vendor website, if applicable. - sponsorurl: The URL for the sponsor website, if applicable. If 'vendor' or 'sponsor' are set, but 'contrib' is not, nothing is rendered. If 'contrib' is set, but no 'vendor' or 'sponsor' are defined, nothing is printed. If 'vendorurl' or 'sponsorurl' are set, the 'vendor' or 'sponsor' text is link, otherwise is non-clickable text. Sponsored by: The FreeBSD Foundation --- release/doc/share/xml/release.xsl | 45 +++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/release/doc/share/xml/release.xsl b/release/doc/share/xml/release.xsl index 787cb28284f9..d3616a0c2beb 100644 --- a/release/doc/share/xml/release.xsl +++ b/release/doc/share/xml/release.xsl @@ -43,6 +43,51 @@ + + + + + + + + + (Sponsored by + + + + + + + + + + + + + + + + + + (Contributed / provided by + + + + + + + + + + + + + + + + + +