Turn on the generation of links to the man->HTML gateway.
Provide a function which, given the manual page name and the section, returns the URL of man->HTML gateway to select the correct page. Translation teams should adjust this as necessary for their language specific freebsd.dsl so that the man pages that come up are in the correct language.
This commit is contained in:
parent
8e5b858d5b
commit
2595ff3b9a
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=9063
2 changed files with 24 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
<!-- $FreeBSD: doc/en_US.ISO_8859-1/share/sgml/freebsd.dsl,v 1.4 2000/09/28 23:29:45 nbm Exp $ -->
|
||||
<!-- $FreeBSD: doc/en_US.ISO_8859-1/share/sgml/freebsd.dsl,v 1.5 2001/02/20 19:41:41 nik Exp $ -->
|
||||
|
||||
<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [
|
||||
<!ENTITY freebsd.dsl PUBLIC "-//FreeBSD//DOCUMENT DocBook Language Neutral Stylesheet//EN" CDATA DSSSL>
|
||||
|
@ -47,6 +47,17 @@
|
|||
(literal "``")
|
||||
(process-children)
|
||||
(literal "''")))
|
||||
|
||||
<!-- Generate links to HTML man pages -->
|
||||
(define %refentry-xref-link% #t)
|
||||
|
||||
<!-- Specify how to generate the man page link HREF -->
|
||||
(define ($create-refentry-xref-link$ refentrytitle manvolnum)
|
||||
(string-append "http://www.FreeBSD.org/cgi/man.cgi?"
|
||||
refentrytitle
|
||||
"("
|
||||
manvolnum
|
||||
")"))
|
||||
]]>
|
||||
</style-specification-body>
|
||||
</style-specification>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<!-- $FreeBSD: doc/en_US.ISO_8859-1/share/sgml/freebsd.dsl,v 1.4 2000/09/28 23:29:45 nbm Exp $ -->
|
||||
<!-- $FreeBSD: doc/en_US.ISO_8859-1/share/sgml/freebsd.dsl,v 1.5 2001/02/20 19:41:41 nik Exp $ -->
|
||||
|
||||
<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [
|
||||
<!ENTITY freebsd.dsl PUBLIC "-//FreeBSD//DOCUMENT DocBook Language Neutral Stylesheet//EN" CDATA DSSSL>
|
||||
|
@ -47,6 +47,17 @@
|
|||
(literal "``")
|
||||
(process-children)
|
||||
(literal "''")))
|
||||
|
||||
<!-- Generate links to HTML man pages -->
|
||||
(define %refentry-xref-link% #t)
|
||||
|
||||
<!-- Specify how to generate the man page link HREF -->
|
||||
(define ($create-refentry-xref-link$ refentrytitle manvolnum)
|
||||
(string-append "http://www.FreeBSD.org/cgi/man.cgi?"
|
||||
refentrytitle
|
||||
"("
|
||||
manvolnum
|
||||
")"))
|
||||
]]>
|
||||
</style-specification-body>
|
||||
</style-specification>
|
||||
|
|
Loading…
Reference in a new issue