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

This commit is contained in:
Glen Barber 2012-11-16 17:56:05 +00:00
parent 2e31c8d145
commit f138c0fee9
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=40040

View file

@ -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$)))))