Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Mar 2000 20:53:49 +0000
From:      Nik Clayton <nik@freebsd.org>
To:        doc@freebsd.org
Subject:   Appending mailing list links to documents
Message-ID:  <20000313205349.A48293@kilt.nothing-going-on.org>

next in thread | raw e-mail | index | archive | help

--bp/iNruPH9dso1Pn
Content-Type: text/plain; charset=us-ascii

-doc,

Attached is a patch that appends:

    <p align="center">
      <small>For questions about FreeBSD, e-mail &lt;<a href= 
      "mailto:questions@freebsd.org">questions@freebsd.org</a>&gt;.<br>

      For questions about this documentation, e-mail &lt;<a href= 
      "mailto:doc@freebsd.org">doc@freebsd.org</a>&gt;.</small>
    </p>

to the bottom of each generated docs HTML file.  Actually, it adds a <hr> as
necessary too.

Comments, please on 

  1.  The wording.

  2.  The best way to handle i18n in the patch.

I'll commit in a couple of days.

N
-- 
Internet connection, $19.95 a month.  Computer, $799.95.  Modem, $149.95.
Telephone line, $24.95 a month.  Software, free.  USENET transmission,
hundreds if not thousands of dollars.  Thinking before posting, priceless.
Somethings in life you can't buy.  For everything else, there's MasterCard.
  -- Graham Reed, in the Scary Devil Monastery

--bp/iNruPH9dso1Pn
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=diff

Index: freebsd.dsl
===================================================================
RCS file: /home/ncvs/doc/share/sgml/freebsd.dsl,v
retrieving revision 1.13
diff -u -r1.13 freebsd.dsl
--- freebsd.dsl	2000/02/15 01:57:17	1.13
+++ freebsd.dsl	2000/03/13 20:34:42
@@ -80,6 +80,28 @@
              port as well, and then this can be removed. -->
         (define (gentext-fr-nav-prev prev)
           (make sequence (literal "Pr\U-00E9;c\U-00E9;dent")))
+
+        <!-- Add a footer to all documents, pointing at the -questions
+	     and -doc mailing lists as appropriate. -->
+	(define ($html-body-end$)
+          (make sequence
+            (if nochunks
+              (make empty-element gi: "hr")
+              (empty-sosofo))
+	    (make element gi: "p"
+                  attributes: (list (list "align" "center"))
+	      (make element gi: "small"
+	        (literal "For questions about FreeBSD, e-mail <")
+	        (make element gi: "a"
+                      attributes: (list (list "href" "mailto:questions@freebsd.org"))
+		  (literal "questions@freebsd.org"))
+	        (literal ">.")
+                (make empty-element gi: "br")
+                (literal "For questions about this documentation, e-mail <")
+	        (make element gi: "a"
+                     attributes: (list (list "href" "mailto:doc@freebsd.org"))
+		  (literal "doc@freebsd.org"))
+	        (literal ">.")))))
       ]]>
 
       <!-- Print only ................................................... --> 

--bp/iNruPH9dso1Pn--


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?20000313205349.A48293>