diff --git a/share/misc/docbook.css b/share/misc/docbook.css --- a/share/misc/docbook.css +++ b/share/misc/docbook.css @@ -265,6 +265,10 @@ color: #007a00; } +.gitref { + color: #007a00; +} + .guimenu, .guimenuitem, .guisubmenu, .guilabel, .interface, .shortcut, .shortcut .keycap { diff --git a/share/xml/docbook50.dtd b/share/xml/docbook50.dtd --- a/share/xml/docbook50.dtd +++ b/share/xml/docbook50.dtd @@ -321,7 +321,7 @@ > + revnumber|buildtarget|xi:include|githash)*> - + + + + + + revnumber|buildtarget|githash)*> + + + + + @@ -25,7 +30,15 @@ - + + + + + + + diff --git a/share/xml/freebsd-fo.xsl b/share/xml/freebsd-fo.xsl --- a/share/xml/freebsd-fo.xsl +++ b/share/xml/freebsd-fo.xsl @@ -581,6 +581,23 @@ + + + + + + + + + + + + + + + + + diff --git a/share/xml/freebsd-xhtml-common.xsl b/share/xml/freebsd-xhtml-common.xsl --- a/share/xml/freebsd-xhtml-common.xsl +++ b/share/xml/freebsd-xhtml-common.xsl @@ -212,6 +212,24 @@ + + + + + + + + + + + + + + + + + + https://www.FreeBSD.org/cgi/man.cgi?query= diff --git a/share/xml/freebsd50.rnc b/share/xml/freebsd50.rnc --- a/share/xml/freebsd50.rnc +++ b/share/xml/freebsd50.rnc @@ -39,6 +39,7 @@ # FreeBSD extension: add buildtarget element to allowed inlines db.extension.inlines = db.buildtarget | db.revnumber + | db.githash # | db.trademark