Commit Graph

20 Commits

Author SHA1 Message Date
Hiroki Sato
2bb086bf48 Add a toc.section.depth=3 parameter to use the same ToC depth as DocBook
DSSSL stylesheet.

Reported by:	gjb
2015-02-02 16:10:03 +00:00
Glen Barber
361246024a Change how the recommended mailing list to track is
added to the footer of the release/doc/ pages by
moving a hard-coded value (that is subject to human
error to change) to release.ent where other values
are regularly changed, and adding parsing logic to
release.xsl.

Approved by:	re (implicit)
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
2014-09-09 19:51:57 +00:00
Hiroki Sato
fd11bdfba7 - Purge old translations.
- Add missing footer due to DSSSL->XSLT migration and use XML catalog to
  resolve URI[*].

Based on the work by:	gabor [*]
2014-01-14 22:46:23 +00:00
Gabor Kovesdan
452f8fc444 - Update the release notes to DocBook 4.5 XML to build with the
updated documentation tree
2013-05-17 18:53:29 +00:00
Gabor Kovesdan
2914b51fcb - Rename .sgml files to .xml to track the recent doc changes
MFC after:	1 day
2012-10-01 11:26:49 +00:00
Hiroki Sato
9a7ee195f5 Bump version numbers and update descriptions for the 9-CURRENT
world. The %[no]include.historic knobs are removed because they
are not used for a long time.
2009-10-15 07:58:01 +00:00
Bruce A. Mah
aebd313860 Add support for auto-generating hardware notes entries in a
manner consistent with the new MI-style hardware notes document.

man2hwnotes.pl now defaults to generating entities for the MI-style
hardware notes (i.e. hardware/article.sgml).  A new -c
option causes it to generate entities for the older MD-style
hardware notes (i.e. hardware/common/dev.sgml).

The Makefile infrastructure supplies the -c option to man2hwnotes.pl
now unless the HWNOTES_MI Makefile variable is defined, so
compatiblity is preserved for hardware notes translations that
aren't converted to the new organization yet.  As translations
convert, they should define HWNOTES_MI in their hardware/Makefile.
When all the relevant translations catch up, the compatibility goop
in share/mk/doc.relnotes.mk and share/sgml/Makefile can be removed.

Thanks go to simon@ for help with the backwards compatiblity
mechanism.

Tested with:	en_US.ISO8859-1, zh_CN.GB2312
2007-02-16 02:10:12 +00:00
Hiroki Sato
293283dc5b - Add an -o option to specify the output file.
- Make "die()" more verbose.
- Do not put extra blank lines into the output file.
- Normalize text by using numeric entities because
  some characters such as "'" can break the generated SGML.

Reviewed by:	simon
2004-08-08 09:23:49 +00:00
Simon L. B. Nielsen
4e702f5b14 Auto generate the device listings in the Hardware Notes based on
manual pages, to avoid duplicating work between the Hardware Notes and
manual pages.

Each text line in the output from the manual page parser is generated
as a SGML entity, making it possible for translators to only translate
lines which actually contains English text (this neat idea came from
hrs).

To determine which drivers are usable on which architectures the
dev.archlist.txt file is used to explicitly list this.  It it an
imperfect solution, but the best I have been able to come up with for
now.

This commit converts most of the devices which has a section 4 manual
page with a HARDWARE section to be the new auto generated format.

Reviewed in principle by:	ru, hrs, trhodes
Good ideas for improvements:	hrs
No objections:			-doc, re
2004-08-03 22:12:45 +00:00
Bruce A. Mah
d0e8afbf5a Provide a way to keep out old ("historic") release notes from bloating
the size of the rendered release notes.  By default, any element with
a role="historic" attribute won't get rendered in the output unless
the INCLUDE_HISTORIC Makefile variable is defined.
2002-06-20 21:19:49 +00:00
Bruce A. Mah
7d2c37712b Language-dependent catalogs for RELNOTESng should override
the language-independent catalog.

Tested by:	Alex Kapranoff <kapr@acm.org>
2001-07-17 00:46:10 +00:00
Bruce A. Mah
a2ddea9863 Better support for multi-lingual release documentation. We now support
language-dependant SGML catalogs (in ${LANG_CODE}/share/sgml) and also
use a default.dsl stylesheet similar to what the rest of the DocProj
documents use.

Requested by:	hrs, Alex Kapranoff <kapr@acm.org>
Reviewed by:	hrs, dd
MFC after:	2 days
2001-07-09 16:01:38 +00:00
Bruce A. Mah
0f8d184704 Back out 1.6->1.7 change; this wasn't supposed to get committed. 2001-07-04 17:53:48 +00:00
Bruce A. Mah
43ac759d7c New release notes: lpd(8) -c and -w, lpc(8) tclean, whois(1) recursive
lookups, moused(8) -a, binutils 2.11.2.

MFCs noted:  IPv6 update.
2001-07-04 17:52:46 +00:00
Dima Dorfman
7450e06249 Change the way the value of DESTDIR is determined for the release
notes build. Instead of having doc.relnotes.mk make a guess, hardcode
quite a bit (but as little as possible) in Makefile.inc's sprinkled
strategicly throughout the tree.  This has the advantage of actually
working properly (which is a Good Thing(tm)), and the disadvantages of
more files in the repository and more hardcoded paths (which are both
Bad Things(tm)).
2001-06-21 20:43:43 +00:00
Dima Dorfman
19980bc92d Don't hardcode in "/release/doc/"; instead, make it the default of a
new RELN_ANCHOR variable.  It may be necessary to override this if the
path to the checked out release notes tree doesn't end with
"release/doc".
2001-06-14 23:23:21 +00:00
Andrey A. Chernov
f2a2da8322 ISO_* -> ISO* rename 2001-06-11 01:48:17 +00:00
Bruce A. Mah
e758685bc9 More RELNOTESng infrastructure fixup: The directory layout of
stylesheets (particularly with respect to translations) is now similar
to that of the doc/ tree.  Added a customization for HTML page footers
(this is the only reader-visible change).
2001-05-03 21:59:35 +00:00
Bruce A. Mah
1eb55ff65d RELNOTESng infrastructure fixes:
1.  There is now only one RELNOTESng stylesheet; the architecture-specific
stylesheets (to handle different values of the arch= attribute) are gone.

2.  Several Makefile variable definitions were factored into
doc.relnotes.mk.

Submitted by:	dd
2001-05-02 22:02:50 +00:00
Dima Dorfman
703471ec7f Build system:
o Define a RELN_ROOT variable which points to the root of the relnotes
  tree (i.e., src/release/doc).
o By default, define DOC_PREFIX in terms of RELN_ROOT; this gives a
  bigger chance of finding the doc/ tree without help in the form of
  setting DOC_PREFIX on the command line.
o Respect DOCDIR; `make install` works now.

Approved by:	bmah
2001-04-29 21:05:12 +00:00