plugin.xml 4.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. This file is part of the DITA Open Toolkit project.
  4. Copyright 2015 Jarno Elovirta
  5. See the accompanying LICENSE file for applicable license.
  6. -->
  7. <plugin id="org.dita.html5" version="3.5.0">
  8. <!-- extension points -->
  9. <extension-point id="dita.xsl.html5" name="HTML5 XSLT import"/>
  10. <extension-point id="dita.conductor.html5.param" name="HTML5 XSLT parameters"/>
  11. <extension-point id="dita.conductor.html5.toc.param" name="HTML/XSLT XSLT parameter"/>
  12. <extension-point id="dita.xsl.html5.toc" name="HTML5 TOC XSLT import"/>
  13. <extension-point id="dita.xsl.html5.cover" name="HTML5 Cover XSLT import"/>
  14. <!-- extensions -->
  15. <transtype name="html5" desc="HTML5">
  16. <param name="args.artlbl" desc="Specifies whether to generate a label for each image; the label will contain the image file name." type="enum">
  17. <val>yes</val>
  18. <val default="true">no</val>
  19. </param>
  20. <param name="args.copycss" desc="Specifies whether to copy the custom .css file to the output directory." type="enum">
  21. <val>yes</val>
  22. <val default="true">no</val>
  23. </param>
  24. <param name="args.css" desc="Specifies the name of a custom .css file." type="string"/>
  25. <param name="args.csspath" desc="Specifies the location of a copied .css file relative to the output directory." type="string"/>
  26. <param name="args.cssroot" desc="Specifies the directory that contains the custom .css file." type="string"/>
  27. <param name="args.dita.locale" desc="Specifies the language locale file to use for sorting index entries." type="string"/>
  28. <param name="args.ftr" desc="Specifies an XML file that contains content for a running footer." type="file"/>
  29. <param name="args.gen.default.meta" desc="Generate metadata for parental control scanners, meta elements with name=&#34;security&#34; and name=&#34;Robots&#34;." type="enum">
  30. <val>yes</val>
  31. <val default="true">no</val>
  32. </param>
  33. <param name="args.hdf" desc="Specifies an XML file that contains content to be placed in the document head." type="file"/>
  34. <param name="args.hdr" desc="Specifies an XML file that contains content for a running header." type="file"/>
  35. <param name="args.hide.parent.link" desc="Specifies whether to hide links to parent topics in the HTML5 output." type="enum">
  36. <val>yes</val>
  37. <val default="true">no</val>
  38. </param>
  39. <param name="args.html5.classattr" desc="Specifies whether to include the DITA class ancestry inside the HTML5 elements." type="enum">
  40. <val default="true">yes</val>
  41. <val>no</val>
  42. </param>
  43. <param name="args.html5.contenttarget" desc="Specifies the value of the @target attribute on the &lt;base&gt; element in the TOC file." type="string">
  44. <val default="true">contentwin</val>
  45. </param>
  46. <param name="html5.toc.generate" desc="Generate TOC file from the DITA map." type="enum">
  47. <val default="true">yes</val>
  48. <val>no</val>
  49. </param>
  50. <param name="args.html5.toc" desc="Specifies the base name of the TOC file." type="string">
  51. <val default="true">index</val>
  52. </param>
  53. <param name="args.html5.toc.class" desc="Specifies the value of the @class attribute on the &lt;body&gt; element in the TOC file." type="string"/>
  54. <param name="args.html5.toc.xsl" desc="Specifies a custom XSL file to be used for TOC generation." type="file"/>
  55. <param name="args.indexshow" desc="Specifies whether the content of &lt;indexterm&gt; elements are rendered in the output." type="enum">
  56. <val>yes</val>
  57. <val default="true">no</val>
  58. </param>
  59. <param name="args.outext" desc="Specifies the file extension for HTML5 output." type="string">
  60. <val default="true">html</val>
  61. </param>
  62. <param name="args.xsl" desc="Specifies a custom XSL file to be used instead of the default XSL transformation." type="file"/>
  63. <param name="nav-toc" type="enum" desc="Specifies whether to generate a navigation TOC in topic pages.">
  64. <val default="true" desc="No TOC">none</val>
  65. <val desc="Partial TOC that shows the current topic">partial</val>
  66. <val desc="Full TOC">full</val>
  67. </param>
  68. </transtype>
  69. <feature extension="ant.import" file="build_dita2html5.xml"/>
  70. <feature extension="dita.conductor.html5.param" file="params.xml"/>
  71. <!--feature extension="dita.xsl.messages" file="resource/messages.xml"/-->
  72. <template file="build_dita2html5_template.xml"/>
  73. <template file="xsl/dita2html5Impl_template.xsl"/>
  74. <template file="xsl/map2html5-coverImpl_template.xsl"/>
  75. </plugin>