Implement <SVNref> tag element, which generates link to SVNweb to the given

revision.

Mark last two __FreeBSD_version bumps with it, and format long lines.

Prodded by:			glebius
With great DSL help from:	pluknet
This commit is contained in:
Dmitry Morozovsky 2011-12-18 12:51:56 +00:00
parent 72c6ce51d7
commit 4a50f95240
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=38059
4 changed files with 26 additions and 3 deletions
en_US.ISO8859-1/books/porters-handbook
share

View file

@ -14544,12 +14544,18 @@ Reference: &lt;http://www.freebsd.org/ports/portaudit/74a9541d-5d6c-11d8-80e3-00
<row>
<entry>1000002</entry>
<entry>Dec 12, 2011</entry>
<entry>10-CURRENT after defining boolean true/false in sys/types.h, sizeof(bool) may had changed (r228444). 10-CURRENT after xlocale.h had been introduced (r227753).</entry>
<entry>10-CURRENT after defining boolean true/false in
sys/types.h, sizeof(bool) may had changed (rev <svnref>228444</svnref>).
10-CURRENT after xlocale.h had been introduced (rev <svnref>227753</svnref>).
</entry>
</row>
<row>
<entry>1000003</entry>
<entry>Dec 16, 2011</entry>
<entry>10-CURRENT after major changes to carp(4), changing size of struct in_aliasreq, struct in6_aliasreq (r228571) and straitening arguments check of SIOCAIFADDR (r228574).</entry>
<entry>10-CURRENT after major changes to carp(4), changing size of
struct&nbsp;in_aliasreq, struct&nbsp;in6_aliasreq (rev <svnref>228571</svnref>)
and straitening arguments check of SIOCAIFADDR (rev <svnref>228574</svnref>).
</entry>
</row>
</tbody>
</tgroup>

View file

@ -133,6 +133,10 @@ BODY P B.APPLICATION {
color: #007a00;
}
SVNREF {
color: #007a00;
}
.GUIMENU, .GUIMENUITEM, .GUISUBMENU,
.GUILABEL, .INTERFACE,
.SHORTCUT, .SHORTCUT .KEYCAP {

View file

@ -206,6 +206,14 @@
(("ports") (string-append u "&" "amp;" "manpath=FreeBSD+8.2-RELEASE+and+Ports"))
(else u))))
<!-- Specify how to generate the link HREF to SVN revision commit page -->
<!-- http://svnweb.freebsd.org/base?view=revision&revision=222741 -->
(element svnref
(let ((svnurl (string-append
"http://svnweb.freebsd.org/base?view=revision" "&" "amp;" "revision="
(data (current-node)))))
(create-link (list (list "HREF" svnurl)) ($mono-seq$))))
(element application ($bold-seq$))
(element citerefentry

View file

@ -26,7 +26,7 @@
<!-- Entities for element classes and mixtures ........................... -->
<!-- Character level classes -->
<!ENTITY % local.tech.char.class "|HostID|Username|Groupname|Devicename|MakeTarget|MakeVar">
<!ENTITY % local.tech.char.class "|HostID|Username|Groupname|Devicename|MakeTarget|MakeVar|SVNref">
<!ENTITY % local.cptr.char.mix "|CO">
@ -116,6 +116,11 @@
%common.attrib;
>
<!ELEMENT SVNRef - - ((%cptr.char.mix;)+)>
<!ATTLIST SVNRef
%common.attrib;
>
<!-- The content model for <filename> was changed between DocBook 3.1 and
4.1. Specifically, <envar> was disallowed. There's a suggestion from
the DocBook maintainers that this may have been a mistake. In the