From 2e524f93fc03353e6fb05333d8041505948959eb Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Fri, 13 Mar 2020 09:20:45 +0000 Subject: Since LFS started using docbook-1.78.1, there is a lot of unused data in the stylesheet directory. Basically, a whole docbook-stylesheet is there, while we need only fo and xhtml (+ some common dirs). Each time we checkout the repo, we have to download this whole thing, which is by far the biggest part of the repo (~33 M). By removing unused cruft, this could be down to ~12 M. Of course, it would be even better to remove completely the stylesheets and use host ones (repo size down to 2M). but let's do this first, it is easier :) git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11778 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- .../docbook-xsl-1.78.1/webhelp/docs/ch02s03.html | 157 --------------------- 1 file changed, 157 deletions(-) delete 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 deleted file mode 100644 index 3cfb5dfda..000000000 --- a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/webhelp/docs/ch02s03.html +++ /dev/null @@ -1,157 +0,0 @@ - - - - -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