summaryrefslogtreecommitdiff
path: root/Documentation/DocBook
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2010-07-01 09:57:41 +1000
committerStephen Rothwell <sfr@canb.auug.org.au>2010-07-01 09:57:41 +1000
commit80f61bb50e59448e128e158dd5e5a3efbfb40edf (patch)
treec54c29d4e0ca3d0ee1b84aab9f9892c9a8fd52c5 /Documentation/DocBook
parent95e0ae69ebbcabc26c8a56de0a9df9a9e2287a50 (diff)
docbook-use-id-as-filename
I'm trying to generate a <set> of <book>s in docbook for wireless to link together all the cfg80211 and mac80211 documentation. However, docbook will generate "re01.html" anew for each book for the first <refentry>, presumably due to a bug in the stylesheets. An effective workaround is to use IDs for the filenames, which makes them more descriptive as well, e.g. API-enum-ieee80211-band.html. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Diffstat (limited to 'Documentation/DocBook')
-rw-r--r--Documentation/DocBook/stylesheet.xsl1
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/DocBook/stylesheet.xsl b/Documentation/DocBook/stylesheet.xsl
index 254c1d5d2e50..85b25275196f 100644
--- a/Documentation/DocBook/stylesheet.xsl
+++ b/Documentation/DocBook/stylesheet.xsl
@@ -6,4 +6,5 @@
<param name="callout.graphics">0</param>
<!-- <param name="paper.type">A4</param> -->
<param name="generate.section.toc.level">2</param>
+<param name="use.id.as.filename">1</param>
</stylesheet>