Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Nov 2012 17:56:06 +0000 (UTC)
From:      Glen Barber <gjb@FreeBSD.org>
To:        doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org
Subject:   svn commit: r40040 - head/share/xml
Message-ID:  <201211161756.qAGHu6MY036286@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gjb
Date: Fri Nov 16 17:56:05 2012
New Revision: 40040
URL: http://svnweb.freebsd.org/changeset/doc/40040

Log:
  Unbreak in-Handbook pkg-descr links by using svnweb.

Modified:
  head/share/xml/freebsd-html.dsl

Modified: head/share/xml/freebsd-html.dsl
==============================================================================
--- head/share/xml/freebsd-html.dsl	Fri Nov 16 17:28:21 2012	(r40039)
+++ head/share/xml/freebsd-html.dsl	Fri Nov 16 17:56:05 2012	(r40040)
@@ -272,10 +272,10 @@
 	  (let*	((class		(attribute-string (normalize "role"))))
 	    (cond
 	     ((equal? class "package")
-	      (let* ((urlurl	"http://www.FreeBSD.org/cgi/url.cgi")
-		     (href	(string-append urlurl "?ports/"
+	      (let* ((urlurl	"http://svnweb.FreeBSD.org/")
+		     (href	(string-append urlurl "ports/head/"
 					       (data (current-node))
-					       "/pkg-descr")))
+					       "/pkg-descr?revision=HEAD")))
 		(create-link (list (list "HREF" href)) ($mono-seq$))))
 	     (else ($mono-seq$)))))
 



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