Commit graph

13 commits

Author SHA1 Message Date
Simon L. B. Nielsen
a3f66a062f Make the "right box" a bit less cluttered:
- Removing the announcement links for the 5.X and the 4.X releases.
- Point the title link for the 5.X release to the
  announcement, as it is already the case for the 4.X release.
- Only show the 5 first items from the project news and the press
  sections.

Reviewed by:	hrs
2004-06-27 19:18:00 +00:00
Hiroki Sato
0f6387bcfc Fix typos. 2004-06-27 08:28:21 +00:00
Hiroki Sato
64b7893d90 Add notices.xml for Errata Notices and a new section
for them on the top page.

Based on work by:	kensmith
2004-06-27 06:22:31 +00:00
Hiroki Sato
513b27c144 Add rss feed support for the FreeBSD security advisories.
Reviewed by:	simon
2004-05-25 01:19:50 +00:00
Alex Dupre
839379aa02 Complete support for localized web sites.
Approved by:	blackend (mentor)
2004-02-03 22:25:23 +00:00
Alex Dupre
868770ec6f Enhance support for localized navigation menu.
Approved by:	josef, blackend (mentor)
2004-02-01 22:56:56 +00:00
Josef El-Rayes
b0c3856a5f Remove plain html navigation and replace it with xml/xslt based navigation
So navigation is now maintained through navigation.xml.
This makes adding links very simple now.

Approved by:    simon(mentor)
	        trhodes
2004-02-01 00:02:58 +00:00
Hiroki Sato
db86c6c974 Add a workaround to prevent bogus link generation.
Submitted by:	ceri
2004-01-24 12:10:02 +00:00
Hiroki Sato
64ef5f2490 Move templates in mkindex.xsl into includes.misc.xsl. 2004-01-17 18:58:07 +00:00
Hiroki Sato
925e309a67 Improve transtable.{xml,xsl}, including:
- The structure of transtable.xml is revised.  <word> should be
   bracketed with <group>.

 - A sorting order of the FreeBSD mirror sites rendered using
   mirrors.xml has been determined by sort(1).

 - A template "transtable-lookup" has been added for localization on
   word-by-word basis.

 - Replace English month names in news.xml, press.xml, and
   advisories.xml with numbers that correspond to the names.
   The number->name translation is performed on the fly.

 - Since information in mirrors.xml is used in www/ tree, it depends on
   doc/ tree now.  When WITHOUT_DOC is defined it can be built without
   doc/ tree, but some information becomes unavailable.  For example,
   a list of the mirror sites generated in index.html becomes a dummy
   one, and calling "transtable-lookup" with a word returns the word
   itself.

Neither www/ nor doc/ build should be broken due to this commit, but
until the necessary changes are applied in the localized directories,
the transtable does not work; it simply generates non-localized contents
even if transtable.xsl is used.
2004-01-12 21:27:01 +00:00
Hiroki Sato
ffc4169bfa Fix a condition; "@a!=b" becomes false when @a does not exist. 2004-01-06 23:47:08 +00:00
Hiroki Sato
52aee72dda - Add news/news.xml dependency to index.html.
- Add several templates for index.xsl into includes.misc.xsl.

- The structure of mirrors.xml has been changed; <host> is
  a container of <name> and <url> now.
2003-12-06 07:39:32 +00:00
Hiroki Sato
c1cc8a1352 Add refinements on mirrors.xml:
- add doc.common.mk, which defines variables, targets, and
   dependencies commonly used in www/ and doc/.

 - move www/<lang>/includes.xsl to the language independent
   directory and split into several files.

 - add transtable*.xsl and transtable.xml to support localized
   mirror names.

 - make doc/{en_US.ISO8859-1,ja_JP.eucJP}/books/handbook/ use
   mirrors.xml (mirrors and eresources).

 - make www/{en,ja}/index.xsl use mirrors.xml.

For details, please see doc/share/sgml/README.mirrors for the moment.

Reviewed by:	simon and Alex Dupre <sysadmin@alexdupre.com>
2003-11-24 18:26:35 +00:00