From: David Cramer Date: Wed, 25 Aug 2010 13:44:11 +0000 (+0000) Subject: Change output doc dir to docs to avoid problem where content is not included in the... X-Git-Tag: release/1.79.1~6^2~831^2~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=09827bd7c3c2711dbbd907e0ea8da89f027d1377;p=docbook-dsssl Change output doc dir to docs to avoid problem where content is not included in the distrib because of existing exclusion pattern in the Makefile --- diff --git a/xsl/webhelp/build.properties b/xsl/webhelp/build.properties index 348d1593a..7f45d069e 100755 --- a/xsl/webhelp/build.properties +++ b/xsl/webhelp/build.properties @@ -6,7 +6,7 @@ input-xml=docsrc/readme.xml # The directory in which to put the output files. # This directory is created if it does not exist. -output-dir=doc +output-dir=docs # If you are using a customization layer that imports webhelp.xsl, use # this property to point to it. @@ -40,3 +40,4 @@ webhelp.include.search.tab=true # see the documentation for details. en=English, fr=French, de=German, # zh=Chinese, ja=Japanese etc. webhelp.indexer.language=en + diff --git a/xsl/webhelp/docsrc/readme.xml b/xsl/webhelp/docsrc/readme.xml index a3fe2ecab..f920b0070 100755 --- a/xsl/webhelp/docsrc/readme.xml +++ b/xsl/webhelp/docsrc/readme.xml @@ -435,7 +435,7 @@ input-xml=docsrc/readme.xml # The directory in which to put the output files. # This directory is created if it does not exist. -output-dir=doc +output-dir=docs # If you are using a customization layer that imports webhelp.xsl, use # this property to point to it. @@ -542,7 +542,7 @@ webhelp.indexer.language=en To customize the look and feel of the help, study the following css files: - doc/common/css/positioning.css: This + docs/common/css/positioning.css: This handles the Positioning of DIVs in appropriate positions. For example, it causes the leftnavigation div to appear on the left, the header on top, and so on. Use this if you need to @@ -551,7 +551,7 @@ webhelp.indexer.language=en - doc/common/jquery/theme-redmond/jquery-ui-1.8.2.custom.css: + docs/common/jquery/theme-redmond/jquery-ui-1.8.2.custom.css: This is the theming part which adds colors and stuff. This is a default theme comes with jqueryui unchanged. You @@ -562,7 +562,7 @@ webhelp.indexer.language=en - doc/common/jquery/treeview/jquery.treeview.css: + docs/common/jquery/treeview/jquery.treeview.css: This styles the toc Tree. Generally, you don't have to edit this file. @@ -806,7 +806,7 @@ persist: "cookie" Mainly the search mechanism has two parts. - Indexing: First we need to traverse the content in the doc/content folder and index + Indexing: First we need to traverse the content in the docs/content folder and index the words in it. This is done by nw-cms.jar. You can invoke it by ant index command from the root of webhelp of directory. You can recompile it again and build the jar file by ant build-indexer. Indexer has some extensive diff --git a/xsl/webhelp/xsl/webhelp.xsl b/xsl/webhelp/xsl/webhelp.xsl index 561a2322c..9d72d5df1 100755 --- a/xsl/webhelp/xsl/webhelp.xsl +++ b/xsl/webhelp/xsl/webhelp.xsl @@ -13,11 +13,14 @@ cdata-section-elements=""/> + true index.html - doc + docs en + + 0 @@ -32,7 +35,7 @@ - + @@ -525,7 +528,7 @@ These problems go away when you add this IE=7 mode meta tag. - + @@ -553,7 +556,7 @@ These problems go away when you add this IE=7 mode meta tag. - + @@ -656,7 +659,7 @@ These problems go away when you add this IE=7 mode meta tag. mode="webhelptoc"> - + @@ -718,6 +721,9 @@ These problems go away when you add this IE=7 mode meta tag. + + + @@ -761,7 +767,7 @@ These problems go away when you add this IE=7 mode meta tag. - + <xsl:value-of select="//title[1]"/>