plugin.xml 1.8 KB

12345678910111213141516171819202122232425262728293031
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. This file is part of the DITA Open Toolkit project.
  4. See the accompanying license.txt file for applicable licenses.
  5. -->
  6. <plugin id="org.dita.eclipsehelp">
  7. <!-- extension points -->
  8. <extension-point id="dita.xsl.eclipse.plugin" name="Eclipse plugin XSLT import"/>
  9. <extension-point id="dita.map.eclipse.index.pre" name="Eclipse index extraction pre-target"/>
  10. <extension-point id="dita.xsl.eclipse.toc" name="Eclipse TOC XSLT import"/>
  11. <extension-point id="dita.conductor.eclipse.toc.param" name="Eclipse Help TOC XSLT parameter"/>
  12. <!-- extensions -->
  13. <transtype name="eclipsehelp" extends="base-html" desc="Eclipse Help">
  14. <param name="args.eclipsehelp.country" desc="Specifies the region for the language that is specified by the args." type="string"/>
  15. <param name="args.eclipsehelp.language" desc="Specifies the base language for translated content, such as en for English." type="string"/>
  16. <param name="args.eclipse.provider" desc="Specifies the name of the person or organization that provides the Eclipse help." type="string">
  17. <val default="true">DITA</val>
  18. </param>
  19. <param name="args.eclipse.version" desc="Specifies the version number to include in the output." type="string">
  20. <val default="true">0.0.0</val>
  21. </param>
  22. <param name="args.eclipse.symbolic.name" desc="Specifies the symbolic name (aka plugin ID) in the output for an Eclipse Help project." type="string">
  23. <val default="true">org.sample.help.doc</val>
  24. </param>
  25. </transtype>
  26. <require plugin="org.dita.xhtml"/>
  27. <feature extension="dita.conductor.target.relative" file="conductor.xml"/>
  28. <template file="build_dita2eclipsehelp_template.xml"/>
  29. <template file="xsl/map2eclipse_template.xsl"/>
  30. <template file="xsl/map2plugin_template.xsl"/>
  31. </plugin>