From owner-freebsd-doc Wed Apr 25 1: 4:14 2001 Delivered-To: freebsd-doc@freebsd.org Received: from bazooka.unixfreak.org (bazooka.unixfreak.org [63.198.170.138]) by hub.freebsd.org (Postfix) with ESMTP id CD61437B422; Wed, 25 Apr 2001 01:04:01 -0700 (PDT) (envelope-from dima@unixfreak.org) Received: from spike.unixfreak.org (spike [63.198.170.139]) by bazooka.unixfreak.org (Postfix) with ESMTP id D33653E2C; Wed, 25 Apr 2001 01:03:56 -0700 (PDT) To: www@freebsd.org, doc@freebsd.org Subject: rel.current entity for www/en a la Handbook Reply-To: www@freebsd.org, dd@freebsd.org Date: Wed, 25 Apr 2001 01:03:56 -0700 From: Dima Dorfman Message-Id: <20010425080356.D33653E2C@bazooka.unixfreak.org> Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org [ replies to -www, please, but keep me on the cc list ] Greetings, In order to simplify trasitioning from one release to another, I think the web site could use an entity similar to &rel.current; that the Handbook uses. From looking at includes.sgml it looks like something like this has been attempted (see a.latest.ann and a.latest.not entities), but died off (the aforementioned entities still point to 3.4!). Attached is a patch to resurrect this idea. It goes further by making a rel.current entity and defining a.latest.ann, a.latest.not, and a.latest.errata in terms of it. It also changes various files that refer to 4.3 explicitly to use the new entity. I think doing it this way will ease the work for whoever is updating everything when a new release comes out (probably jkh). It's still not as simple as changing the numbers in the entity definition--particularly, releases/index.sgml will still need to be updated manually--but I think it goes a long way. At the very least it will avoid horribly stale links (as I said, a.latest.ann points to 3.4 right now, and it *is* used). Any objections to me committing this some time this week? Thanks, Dima Dorfman dima@unixfreak.org Index: includes.sgml =================================================================== RCS file: /st/src/FreeBSD/www/en/includes.sgml,v retrieving revision 1.38 diff -u -r1.38 includes.sgml --- includes.sgml 2001/04/21 21:03:23 1.38 +++ includes.sgml 2001/04/25 02:45:01 @@ -53,9 +53,16 @@
&author;
&date;
'> + + + -'> -'> +'> +'> +'> Index: index.sgml =================================================================== RCS file: /st/src/FreeBSD/www/en/index.sgml,v retrieving revision 1.110 diff -u -r1.110 index.sgml --- index.sgml 2001/04/22 05:22:04 1.110 +++ index.sgml 2001/04/25 02:45:01 @@ -131,13 +131,13 @@ - + Guide · &a.latest.errata;Errata + +
Current Release: 4.3
- Announcement +
Current Release: &rel.current;
+ &a.latest.ann;Announcement · Installation - Guide · Errata
Index: where.sgml =================================================================== RCS file: /st/src/FreeBSD/www/en/where.sgml,v retrieving revision 1.48 diff -u -r1.48 where.sgml --- where.sgml 2001/04/22 05:50:59 1.48 +++ where.sgml 2001/04/25 02:45:01 @@ -38,8 +38,8 @@ href="ftp://ftp.FreeBSD.org/pub/FreeBSD">ftp://ftp.FreeBSD.org/pub/FreeBSD: Index: releases/index.sgml =================================================================== RCS file: /st/src/FreeBSD/www/en/releases/index.sgml,v retrieving revision 1.53 diff -u -r1.53 index.sgml --- releases/index.sgml 2001/04/22 17:49:53 1.53 +++ releases/index.sgml 2001/04/25 02:45:02 @@ -16,11 +16,11 @@

Current Release(s)

-

Release 4.3 (April, 2001) +

Release &rel.current; (April 2001) -Announcement : -Release Notes : -Errata +Announcement : +Release Notes : +Errata

The latest daily release from our