svn commit: r42739 - head/en_US.ISO8859-1/htdocs/releases/9.2R

Glen Barber gjb at FreeBSD.org
Mon Sep 30 00:20:38 UTC 2013


Author: gjb
Date: Mon Sep 30 00:20:37 2013
New Revision: 42739
URL: http://svnweb.freebsd.org/changeset/doc/42739

Log:
  Add release.version macro to reduce repeated 9.2-RELEASE occurrances.
  Add manlink.begin macro to set up the links to manual pages.
  Add sample entry (commented) using the manlink.begin macro.

Modified:
  head/en_US.ISO8859-1/htdocs/releases/9.2R/relnotes.xml

Modified: head/en_US.ISO8859-1/htdocs/releases/9.2R/relnotes.xml
==============================================================================
--- head/en_US.ISO8859-1/htdocs/releases/9.2R/relnotes.xml	Sun Sep 29 23:30:42 2013	(r42738)
+++ head/en_US.ISO8859-1/htdocs/releases/9.2R/relnotes.xml	Mon Sep 30 00:20:37 2013	(r42739)
@@ -1,7 +1,13 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
 <!DOCTYPE html PUBLIC "-//FreeBSD//DTD XHTML 1.0 Transitional-Based Extension//EN"
 "http://www.FreeBSD.org/XML/doc/share/xml/xhtml10-freebsd.dtd" [
-<!ENTITY title "FreeBSD 9.2-RELEASE Release Notes">
+<!ENTITY release.version "9.2-RELEASE">
+<!ENTITY title "&os; &release.version; Release Notes">
+<!ENTITY manlink.begin "http://www.FreeBSD.org/cgi/man.cgi?manpath=&os;+&release.version;">
+<!--
+     Sample manual page entity:
+     <!ENTITY man.fstab.5 "<a xmlns='http://www.w3.org/1999/xhtml' href='&manlink.begin;&query=fstab&sektion=5'>fstab(5)</a>">
+-->
 ]>
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
@@ -12,7 +18,7 @@
 
   <body class="navinclude.download">
 
-    <p>This is a simplified version of the &os; 9.2-RELEASE release notes.</p>
+    <p>This is a simplified version of the &os; &release.version; release notes.</p>
 
     <div class="IMPORTANT">
       <blockquote class="IMPORTANT">


More information about the svn-doc-all mailing list