Give each language and encoding it's own freebsd.dsl, to contain style
sheet definitions for that language only. Each file reads in the defaults from the master share/sgml/freebsd.dsl file, and adds overrides, or new definitions, as necessary. Move the per-language hacks from share/sgml/freebsd.dsl in to <lang>/share/sgml/freebsd.dsl as necessary. Add links to the -questions and -doc mailing lists to the bottom of the generated HTML output for some languages. The -questions link will become a link to Greg's "Getting the most from questions" document when I bring that in, but I haven't done that yet, and I didn't want these patches hanging around my local tree. This was the real reason for making freebsd.dsl language local, as it makes it much easier to translate generated text, such as the text of the links, without polluting share/sgml/freebsd.dsl. Update doc.docbook.mk to use the new, per-language freebsd.dsl file when building the docs. While I'm here, update .pdb generation so that it creates a symlink to ${CURDIR:T}.pdb as well (e.g., the Handbook generates "book.pdb" and "handbook.pdb"). This makes it easier to install more than one document on a Palm, because two docs called "book.pdb" or "article.pdb" can not co-exist.
This commit is contained in:
parent
2194956cdd
commit
a595525171
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=6844
14 changed files with 287 additions and 34 deletions
30
en_US.ISO8859-1/share/sgml/freebsd.dsl
Normal file
30
en_US.ISO8859-1/share/sgml/freebsd.dsl
Normal file
|
@ -0,0 +1,30 @@
|
||||||