From 15c7d39533a1eb1da0748011f3378fd0f02ed14d Mon Sep 17 00:00:00 2001 From: Matthew Burgess Date: Tue, 8 Oct 2013 20:03:29 +0000 Subject: Update stylesheets to docbook-xsl-1.78.1. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10355 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- .../docbook-xsl-1.78.1/webhelp/docs/ch02s03.html | 157 +++++++++++++++++++++ 1 file changed, 157 insertions(+) create mode 100644 stylesheets/lfs-xsl/docbook-xsl-1.78.1/webhelp/docs/ch02s03.html (limited to 'stylesheets/lfs-xsl/docbook-xsl-1.78.1/webhelp/docs/ch02s03.html') diff --git a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/webhelp/docs/ch02s03.html b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/webhelp/docs/ch02s03.html new file mode 100644 index 000000000..3cfb5dfda --- /dev/null +++ b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/webhelp/docs/ch02s03.html @@ -0,0 +1,157 @@ + + + + +Search indexing - - README: Web-based Help from DocBook XML

Search indexing

+

Run ant index in the webhelp directory to index the content. Running + ant webhelp will do the indexing as part of the process as well.

Here's some detailed information about invoking the indexer. The indexing process is + pretty smooth, so probably you doesn't need to be concerned with following details. Webhelp + Ant script does all the needed bits.

  • Following should be in the CLASSPATH.

    +

    • webhelpindexer.jar, + lucene-analyzers-3.0.0.jar, + lucene-core-3.0.0.jar - These three are available in the + extensions/ directory of docsbook-xsl-1.76.1, and is automatically fetched to the + webhelp's Ant script. Go for a XSL snapshot if you can which contains the latest + version http://docbook.sourceforge.net/snapshot/

    • xercesImpl.jar, xml-apis.jar - + These two comes by default with Ant 1.8.0 or prior versions. These are available + under /usr/share/java directory of Linux distributions as well. Else, you may have + to download, and put them to jre/lib/endorsed.

    +

  • The main class is com.nexwave.nquindexer.IndexerMain for the + version 1.76.1+. It's com.nexwave.nquindexer.IndexerTask for the + versions 1.76.0 and 1.76.1.

    +

    • Needs two parameters as command-line arguments:

      +

      • The folder where the files to be indexed reside

      +

      • (Optional) language. defaults to "en". See build.properties for + details

      +

    +

    Note

    We have changed the way we invoke the webhelp indexer from the Ant Task to + indexertask to direct invocation. This seems to have remove the + CLASSPATH issue some people were having.

    +

To build the indexer, you must have installed the JDK version 1.5 or + higher and set the ANT_HOME environment variable.

-- cgit v1.2.3-54-g00ecf