Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 06 May 2001 21:12:43 -0700
From:      Dima Dorfman <dima@unixfreak.org>
To:        doc@freebsd.org
Subject:   rel.current and friends for www/
Message-ID:  <20010507041244.1C7A33E0B@bazooka.unixfreak.org>

next in thread | raw e-mail | index | archive | help
Hi folks,

Some time ago I posted a patch to add a rel.current entity to the web
site and define the other "convenient links" entities in terms of it,
but the discussion veered off into talking about how these should be
the same for doc/ and the relnotes (which is a good idea, but nobody
knows how to implement it without duplicating information).
Nevertheless, I think updating these on the web site is a good idea;
if anything, it will serve as a starting point for integrating them in
doc/ and friends.  Attached is an updated patch (after comments from
Nik) to do this.

Comments?

Thanks,

					Dima Dorfman
					dima@unixfreak.org

Index: includes.sgml
===================================================================
RCS file: /home/ncvs/www/en/includes.sgml,v
retrieving revision 1.40
diff -u -r1.40 includes.sgml
--- includes.sgml	2001/05/07 00:50:55	1.40
+++ includes.sgml	2001/05/07 04:09:21
@@ -53,9 +53,28 @@
 <!ENTITY footer '<HR NOSHADE>
 <address>&author;<br>&date;</address>'>
 
-<!-- Short names for various anchor points -->
-<!ENTITY a.latest.not '<a href="&base;/releases/4.3R/notes.html">'>
-<!ENTITY a.latest.ann '<a href="&base;/releases/4.3R/announce.html">'>
+<!-- XXX rel.current and u.rel.* should be available in doc/ -->
+<!-- The currently released version of FreeBSD.  This value is used to
+     create some links on web sites and such, so do NOT change it until
+     it's really release time.  When you update this, you should also
+     update (at least) the following:
+
+	- similar entity in the Handbook
+	- similar entity in the Relnotes
+	- releases/index.sgml has the date of the current release
+	- the FAQ has links to the release FTP url
+	- "versions supported" in security.sgml
+
+     (If you're the release engineer, feel free to update this list with
+     other doc-related things you had to do.  It'll save you time and
+     trouble the next time around :-).)
+-->
+<!ENTITY rel.current '4.3'>
+
+<!-- URLs to information on the latest release -->
+<!ENTITY u.rel.notes '&base;/releases/&rel.current;R/notes.html'>
+<!ENTITY u.rel.announce '&base;/releases/&rel.current;R/announce.html'>
+<!ENTITY u.rel.errata '&base;/releases/&rel.current;R/errata.html'>
 
 
 <!-- macro for webbuild paper --> 
Index: index.sgml
===================================================================
RCS file: /home/ncvs/www/en/index.sgml,v
retrieving revision 1.112
diff -u -r1.112 index.sgml
--- index.sgml	2001/04/25 15:48:13	1.112
+++ index.sgml	2001/05/07 04:09:23
@@ -136,15 +136,15 @@
 		      <tbody>
 			<tr>
 			  <td colspan="2" align="center"><b>Current Release:
-			      4.3</b></td>
+			      &rel.current;</b></td>
 			</tr>
 
 			<tr>
-			  <td><small>&#187; <a href="&base;/releases/4.3R/announce.html">Announcement</a><br>
+			  <td><small>&#187; <a href="&u.rel.announce;">Announcement</a><br>
 			      &#187; <a href="&base;/doc/en_US.ISO_8859-1/books/handbook/install.html">Installation Guide</a></small></td>
 
-			  <td><small>&#187; <a href="&base;/releases/4.3R/notes.html">Release Notes</a><br>
-			      &#187; <a href="&base;/releases/4.3R/errata.html">Errata</a></small></td>
+			  <td><small>&#187; <a href="&u.rel.notes;">Release Notes</a><br>
+			      &#187; <a href="&u.rel.errata;">Errata</a></small></td>
 			</tr>
 		      </tbody>
 		    </table>
Index: where.sgml
===================================================================
RCS file: /home/ncvs/www/en/where.sgml,v
retrieving revision 1.49
diff -u -r1.49 where.sgml
--- where.sgml	2001/04/28 05:36:02	1.49
+++ where.sgml	2001/05/07 04:09:23
@@ -38,8 +38,8 @@
 	  href="ftp://ftp.FreeBSD.org/pub/FreeBSD">ftp://ftp.FreeBSD.org/pub/FreeBSD</a>:
 	
 	<ul>
-	<li><a href="ftp://ftp.FreeBSD.org/pub/FreeBSD/releases/alpha/4.3-RELEASE">FreeBSD 4.3-RELEASE/alpha</a></li>
-	<li><a href="ftp://ftp.FreeBSD.org/pub/FreeBSD/releases/i386/4.3-RELEASE">FreeBSD 4.3-RELEASE/i386</a></li>
+	<li><a href="ftp://ftp.FreeBSD.org/pub/FreeBSD/releases/alpha/&rel.current;-RELEASE">FreeBSD &rel.current;-RELEASE/alpha</a></li>
+	<li><a href="ftp://ftp.FreeBSD.org/pub/FreeBSD/releases/i386/&rel.current;-RELEASE">FreeBSD &rel.current;-RELEASE/i386</a></li>
 	<li><a href="ftp://ftp.FreeBSD.org/pub/FreeBSD/releases/i386/ISO-IMAGES/">FreeBSD ISO-IMAGES/i386</a></li>
 	<li><a href="ftp://ftp.FreeBSD.org/pub/FreeBSD/releases/alpha/ISO-IMAGES/">FreeBSD ISO-IMAGES/alpha</a></li>
 	</ul>
Index: projects/newbies.sgml
===================================================================
RCS file: /home/ncvs/www/en/projects/newbies.sgml,v
retrieving revision 1.19
diff -u -r1.19 newbies.sgml
--- projects/newbies.sgml	2001/04/17 12:21:55	1.19
+++ projects/newbies.sgml	2001/05/07 04:09:26
@@ -48,7 +48,7 @@
 
     <ul>
       <li><p>If you haven't installed yet, look for the
-          &a.latest.ann;latest mainstream release</a>.
+	  <a href="&u.rel.announce;">latest mainstream release</a>.
           (See the Handbook for why you should <strong>not</strong> be tempted
           by any of the other branches.) Before you begin, carefully read the
           <a href="../handbook/install.html">installation instructions</a>,
Index: releases/index.sgml
===================================================================
RCS file: /home/ncvs/www/en/releases/index.sgml,v
retrieving revision 1.54
diff -u -r1.54 index.sgml
--- releases/index.sgml	2001/04/28 05:36:04	1.54
+++ releases/index.sgml	2001/05/07 04:09:26
@@ -16,11 +16,11 @@
 <a name="current"></A>
 <h2>Current Release(s)</h2>
 
-<p><b>Release 4.3</b> (April, 2001)
+<p><b>Release &rel.current;</b> (April 2001)
 <em>
-<A HREF="./4.3R/announce.html">Announcement</A> :
-<A HREF="./4.3R/notes.html">Release Notes</A> :
-<A HREF="./4.3R/errata.html">Errata</A>
+<a href="&u.rel.announce;">Announcement</a> :
+<a href="&u.rel.notes;">Release Notes</a> :
+<a href="&u.rel.errata;">Errata</a>
 </em></p>
 
 <p>The latest daily release from our <A

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




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