Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Aug 2002 12:48:15 +0200
From:      Marc Fonvieille <blackend@FreeBSD.org>
To:        Nik Clayton <nik@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: doc/en_US.ISO8859-1/share/sgml freebsd.dsl
Message-ID:  <20020827124815.C37885@abigail.blackend.org>
In-Reply-To: <200208270818.g7R8IfLC033337@freefall.freebsd.org>; from nik@FreeBSD.org on Tue, Aug 27, 2002 at 01:18:41AM -0700
References:  <200208270818.g7R8IfLC033337@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Aug 27, 2002 at 01:18:41AM -0700, Nik Clayton wrote:
> nik         2002/08/27 01:18:41 PDT
> 
>   Modified files:
>     en_US.ISO8859-1/share/sgml freebsd.dsl 
>   Log:
>   Add support for the 'vendor' attribute on <citerefentry> to select which
>   of the CGI manual page collections to use.  Currently supports XFree86,
>   NetBSD, and FreeBSD Port man pages.
>

I just tried to build docs with it, and it failed. Some changes are
missing in doc/share/sgml/freebsd.dsl

Here's the patch that unbreak the thing:

Index: freebsd.dsl
===================================================================
RCS file: /home/ncvs/doc/share/sgml/freebsd.dsl,v
retrieving revision 1.64
diff -u -r1.64 freebsd.dsl
--- freebsd.dsl	27 Feb 2002 04:56:44 -0000	1.64
+++ freebsd.dsl	27 Aug 2002 10:41:48 -0000
@@ -121,17 +121,11 @@
           #f)
 
         ; Empty function to quiet warnings
-        (define ($create-refentry-xref-link$ refentrytitle manvolnum)
+        (define ($create-refentry-xref-link$)
           (literal ""))
 
         (element citerefentry
-          (let* ((refentrytitle (select-elements (children (current-node))
-                                                 (normalize "refentrytitle")))
-		 (manvolnum     (select-elements (children (current-node))
-						 (normalize "manvolnum")))
-		 (href          ($create-refentry-xref-link$
-                                                 (data refentrytitle)
-                                                 (data manvolnum))))
+          (let* ((href          ($create-refentry-xref-link$)))
             (if %refentry-xref-link%
               (create-link (list (list "HREF" href))
                 (if %refentry-xref-italic%

Tell me, if it's Ok, to commit it before the website build.
I tested it, and it runs.

Marc

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020827124815.C37885>