From: Martin Waitz <tali@admingilde.org>
To: Alexey Dobriyan <adobriyan@mail.ru>
Cc: Andrew Morton <akpm@osdl.org>, linux-kernel@vger.kernel.org
Subject: [patch 1/2] Docbook: use custom stylesheet
Date: Mon, 11 Apr 2005 17:58:07 +0200 [thread overview]
Message-ID: <20050411160739.635973000@faui31y> (raw)
In-Reply-To: <20050411155806.754650000@faui31y>
[-- Attachment #1: docbook-custom-stylesheet.patch --]
[-- Type: text/plain, Size: 1422 bytes --]
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>
---
Documentation/DocBook/Makefile | 3 ++-
Documentation/DocBook/stylesheet.xsl | 5 +++++
2 files changed, 7 insertions(+), 1 deletion(-)
Index: linux-docbook/Documentation/DocBook/Makefile
===================================================================
--- linux-docbook.orig/Documentation/DocBook/Makefile 2005-04-06 15:46:05.000000000 +0200
+++ linux-docbook/Documentation/DocBook/Makefile 2005-04-10 12:57:53.678951360 +0200
@@ -49,7 +49,8 @@ installmandocs: mandocs
KERNELDOC = scripts/kernel-doc
DOCPROC = scripts/basic/docproc
-#XMLTOFLAGS = --skip-validation
+XMLTOFLAGS = -m Documentation/DocBook/stylesheet.xsl
+#XMLTOFLAGS += --skip-validation
###
# DOCPROC is used for two purposes:
Index: linux-docbook/Documentation/DocBook/stylesheet.xsl
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
+++ linux-docbook/Documentation/DocBook/stylesheet.xsl 2005-04-09 13:59:56.000000000 +0200
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<stylesheet xmlns="http://www.w3.org/1999/XSL/Transform" version="1.0">
+<param name="chunk.quietly">1</param>
+<param name="funcsynopsis.style">ansi</param>
+</stylesheet>
--
Martin Waitz
next prev parent reply other threads:[~2005-04-11 16:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-11 15:58 [patch 0/2] DocBook xmlto fixes Martin Waitz
2005-04-11 15:58 ` Martin Waitz [this message]
2005-04-11 20:49 ` [patch 1/2] Docbook: use custom stylesheet Alexey Dobriyan
2005-04-11 15:58 ` [patch 2/2] DocBook: fix html link Martin Waitz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050411160739.635973000@faui31y \
--to=tali@admingilde.org \
--cc=adobriyan@mail.ru \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®