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:
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
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue