diff options
author | Martin Waitz <tali@admingilde.org> | 2005-05-01 11:59:27 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-05-01 11:59:27 -0400 |
commit | 2948e57d94bd2d2fb6d4e89d89f0bd0ddaee0513 (patch) | |
tree | 4d6146a9e30f9d8920eaae2db942dbaad1b1100e | |
parent | 8b0c2d989cc60db1767481386ca912e99807eddb (diff) |
[PATCH] Docbook: use custom stylesheet
With the custom stylesheet, functions are rendered using ANSI-C syntax and
xmlto is a bit quieter.
Signed-off-by: Martin Waitz <tali@admingilde.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r-- | Documentation/DocBook/Makefile | 3 | ||||
-rw-r--r-- | Documentation/DocBook/stylesheet.xsl | 5 |
2 files changed, 7 insertions, 1 deletions
diff --git a/Documentation/DocBook/Makefile b/Documentation/DocBook/Makefile index a2441fa99c3f..39c87666db31 100644 --- a/Documentation/DocBook/Makefile +++ b/Documentation/DocBook/Makefile | |||
@@ -49,7 +49,8 @@ installmandocs: mandocs | |||
49 | KERNELDOC = scripts/kernel-doc | 49 | KERNELDOC = scripts/kernel-doc |
50 | DOCPROC = scripts/basic/docproc | 50 | DOCPROC = scripts/basic/docproc |
51 | 51 | ||
52 | #XMLTOFLAGS = --skip-validation | 52 | XMLTOFLAGS = -m Documentation/DocBook/stylesheet.xsl |
53 | #XMLTOFLAGS += --skip-validation | ||
53 | 54 | ||
54 | ### | 55 | ### |
55 | # DOCPROC is used for two purposes: | 56 | # DOCPROC is used for two purposes: |
diff --git a/Documentation/DocBook/stylesheet.xsl b/Documentation/DocBook/stylesheet.xsl new file mode 100644 index 000000000000..e14c21dda403 --- /dev/null +++ b/Documentation/DocBook/stylesheet.xsl | |||
@@ -0,0 +1,5 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | ||
2 | <stylesheet xmlns="http://www.w3.org/1999/XSL/Transform" version="1.0"> | ||
3 | <param name="chunk.quietly">1</param> | ||
4 | <param name="funcsynopsis.style">ansi</param> | ||
5 | </stylesheet> | ||