forked from shaneataylor/ditasearch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
33 lines (29 loc) · 1.85 KB
/
plugin.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?xml version="1.0" encoding="UTF-8"?>
<plugin id="com.taylortext.ditasearch">
<feature extension="package.support.name" value="Shane Taylor"/>
<feature extension="package.support.email" value="[email protected]"/>
<feature extension="package.version" value="1.3"/>
<require plugin="org.dita.html5"/>
<template file="build_ditasearch_template.xml"/>
<feature extension="dita.conductor.target.relative" value="conductor.xml" type="file"/>
<feature extension="depend.preprocess.post" value="ditasearch"/>
<extension-point id="com.taylortext.ditasearch.pre" name="Pre-indexing target"/>
<extension-point id="com.taylortext.ditasearch.post" name="Post-indexing target"/>
<feature extension="dita.xsl.messages" file="messages.xml"/>
<feature extension="dita.xsl.strings" file="strings/strings.xml"/>
<transtype name="html5">
<param name="args.ditasearch.configs"
desc="Specifies an optional search configuration file containing stopwords, stemming exceptions, and synonyms.
This file can be merged with or replace the default configuration." type="file"/>
<param name="args.ditasearch.nohtml" type="enum"
desc="Omit adding the search HTML to topics if you are including it yourself, for example, in a frameset
or custom header and footer.">
<val desc="Don't add the search HTML to topics.">true</val>
<val default="true" desc="The build adds <div class='ditasearch'> to the header
and <script src='{path}/ditasearch.js'> to the footer.">false</val>
</param>
</transtype>
<feature extension="dita.conductor.html5.param" file="params.xml"/>
<feature extension="dita.conductor.html5.toc.param" file="params.xml"/>
<feature extension="dita.xsl.html5" file="xsl/header-footer.xsl"/>
</plugin>