Introduce a <port> element that answers the question of how to mark up
a port name. Right now, it renders as monospace, and with a hyperlink to the port's pkg-descr file if possible.
This commit is contained in:
parent
de4dca94cc
commit
59292e255d
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=10018
2 changed files with 15 additions and 3 deletions
|
|
@ -1,4 +1,4 @@
|
|||
<!-- $FreeBSD: doc/share/sgml/freebsd.dsl,v 1.39 2001/07/21 02:29:59 murray Exp $ -->
|
||||
<!-- $FreeBSD: doc/share/sgml/freebsd.dsl,v 1.40 2001/07/21 09:09:59 murray Exp $ -->
|
||||
|
||||
<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [
|
||||
<!ENTITY % output.html "IGNORE">
|
||||
|
|
@ -132,6 +132,13 @@
|
|||
(if %refentry-xref-italic%
|
||||
($italic-seq$)
|
||||
($charseq$)))))
|
||||
|
||||
(element port
|
||||
(let* ((urlurl "http://www.FreeBSD.org/cgi/url.cgi")
|
||||
(href (string-append urlurl "?ports/"
|
||||
(data (current-node)))))
|
||||
(create-link (list (list "HREF" href))
|
||||
($mono-seq$))))
|
||||
]]>
|
||||
|
||||
<!-- HTML with images ............................................ -->
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
The FPI for this DTD is "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN"
|
||||
|
||||
$FreeBSD: doc/share/sgml/freebsd41.dtd,v 1.1 2001/02/20 19:10:26 nik Exp $
|
||||
$FreeBSD: doc/share/sgml/freebsd41.dtd,v 1.2 2001/05/22 03:32:17 dd Exp $
|
||||
-->
|
||||
|
||||
<!-- ..................................................................... -->
|
||||
|
|
@ -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|Port">
|
||||
|
||||
<!ENTITY % local.cptr.char.mix "|CO">
|
||||
|
||||
|
|
@ -116,6 +116,11 @@
|
|||
%common.attrib;
|
||||
>
|
||||
|
||||
<!ELEMENT Port - - ((%cptr.char.mix;)+)>
|
||||
<!ATTLIST Port
|
||||
%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