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
[-- Attachment #1 --]
-doc,
Attached is a patch that appends:
<p align="center">
<small>For questions about FreeBSD, e-mail <<a href=
"mailto:questions@freebsd.org">questions@freebsd.org</a>>.<br>
For questions about this documentation, e-mail <<a href=
"mailto:doc@freebsd.org">doc@freebsd.org</a>>.</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
[-- Attachment #2 --]
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 ................................................... -->
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000313205349.A48293>
