# 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.
<para>To customize the look and feel of the help, study the following
css files:<itemizedlist>
<listitem>
- <para><filename>doc/common/css/positioning.css</filename>: This
+ <para><filename>docs/common/css/positioning.css</filename>: This
handles the Positioning of DIVs in appropriate positions. For
example, it causes the <code>leftnavigation</code> div to appear
on the left, the header on top, and so on. Use this if you need to
</listitem>
<listitem>
- <para><filename>doc/common/jquery/theme-redmond/jquery-ui-1.8.2.custom.css</filename>:
+ <para><filename>docs/common/jquery/theme-redmond/jquery-ui-1.8.2.custom.css</filename>:
This is the theming part which adds colors and stuff. This is a
default theme comes with <ulink
url="http://jqueryui.com/download">jqueryui</ulink> unchanged. You
</listitem>
<listitem>
- <para><filename>doc/common/jquery/treeview/jquery.treeview.css</filename>:
+ <para><filename>docs/common/jquery/treeview/jquery.treeview.css</filename>:
This styles the toc Tree. Generally, you don't have to edit this
file.</para>
</listitem>
Mainly the search mechanism has two parts.
<itemizedlist>
<listitem>
- <para>Indexing: First we need to traverse the content in the doc/content folder and index
+ <para>Indexing: First we need to traverse the content in the docs/content folder and index
the words in it. This is done by <filename>nw-cms.jar</filename>. You can invoke it by
<code>ant index</code> command from the root of webhelp of directory. You can recompile it
again and build the jar file by <code>ant build-indexer</code>. Indexer has some extensive
cdata-section-elements=""/>
<!-- webhelp-specific params! -->
+ <!-- To be added to normal params file someday -->
<xsl:param name="webhelp.include.search.tab">true</xsl:param>
<xsl:param name="webhelp.start.filename">index.html</xsl:param>
- <xsl:param name="webhelp.base.dir">doc</xsl:param>
+ <xsl:param name="webhelp.base.dir">docs</xsl:param>
<xsl:param name="webhelp.tree.cookie.id" select="concat( 'treeview-', count(//node()) )"/>
<xsl:param name="webhelp.indexer.language">en</xsl:param>
+ <xsl:param name="webhelp.default.topic"/>
+ <xsl:param name="webhelp.autolabel">0</xsl:param>
<!-- webhelp-specific params! -->
<!-- Set some reasonable defaults for webhelp output -->
<xsl:param name="para.propagates.style" select="1"/>
<xsl:param name="phrase.propagates.style" select="1"/>
<xsl:param name="chunk.first.sections" select="1"/>
- <xsl:param name="chapter.autolabel" select="0"/>
+ <xsl:param name="chapter.autolabel" select="1"/>
<xsl:param name="section.autolabel" select="0"/>
<!--xsl:param name="generate.toc">book toc</xsl:param-->
<xsl:choose>
<xsl:when test="$rootid != ''">
<xsl:variable name="title">
- <xsl:if test="$eclipse.autolabel=1">
+ <xsl:if test="$webhelp.autolabel=1">
<xsl:variable name="label.markup">
<xsl:apply-templates select="key('id',$rootid)" mode="label.markup"/>
</xsl:variable>
<xsl:otherwise>
<xsl:variable name="title">
- <xsl:if test="$eclipse.autolabel=1">
+ <xsl:if test="$webhelp.autolabel=1">
<xsl:variable name="label.markup">
<xsl:apply-templates select="/*" mode="label.markup"/>
</xsl:variable>
mode="webhelptoc">
<xsl:param name="currentid"/>
<xsl:variable name="title">
- <xsl:if test="$eclipse.autolabel=1">
+ <xsl:if test="$webhelp.autolabel=1">
<xsl:variable name="label.markup">
<xsl:apply-templates select="." mode="label.markup"/>
</xsl:variable>
<xsl:template name="index.html">
<xsl:variable name="default.topic">
<xsl:choose>
+ <xsl:when test="$webhelp.default.topic != ''">
+ <xsl:value-of select="$htmlhelp.default.topic"/>
+ </xsl:when>
<xsl:when test="$htmlhelp.default.topic != ''">
<xsl:value-of select="$htmlhelp.default.topic"/>
</xsl:when>
<html>
<head>
<link rel="shortcut icon" href="favicon.ico"/>
- <meta http-equiv="Refresh" content="1; URL=content/ch01.html"/>
+ <meta http-equiv="Refresh" content="1; URL=content/{$default.topic}"/>
<title><xsl:value-of select="//title[1]"/> 
</title>
</head>