migrating-to-3.0.dita 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN" "reference.dtd">
  3. <!-- This file is part of the DITA Open Toolkit project. See the accompanying LICENSE file for applicable license. -->
  4. <reference id="migrating-to-3.0">
  5. <title>Migrating to release 3.0</title>
  6. <titlealts>
  7. <navtitle>To 3.0</navtitle>
  8. </titlealts>
  9. <shortdesc>DITA-OT 3.0 <ph id="summary">adds support for Markdown, normalized DITA output, and the alternative
  10. authoring formats proposed for Lightweight DITA. The map-first preprocessing approach provides a modern
  11. alternative to the default <codeph>preprocess</codeph> operation.</ph></shortdesc>
  12. <prolog>
  13. <metadata>
  14. <keywords>
  15. <indexterm>Lightweight DITA</indexterm>
  16. <indexterm>GitHub</indexterm>
  17. </keywords>
  18. </metadata>
  19. </prolog>
  20. <refbody>
  21. <section>
  22. <note>This topic provides a summary of changes in DITA-OT 3.0 that may require modifications to custom stylesheets
  23. or plug-ins. For more information on changes in this release, see the
  24. <xref keyref="3.0-release-notes"/>.</note>
  25. </section>
  26. <section conkeyref="reusable-components/use-xslt2"/>
  27. <section id="30-legacy-plugin-removal">
  28. <title>Legacy plug-ins removed</title>
  29. <indexterm>JavaHelp</indexterm>
  30. <indexterm>deprecated features
  31. <indexterm>JavaHelp plug-in</indexterm></indexterm>
  32. <indexterm>plug-ins
  33. <indexterm>JavaHelp</indexterm></indexterm>
  34. <p>DITA-OT 3.0 no longer includes the following legacy transformation plug-ins in the default distribution:</p>
  35. <table outputclass="table-hover" frame="none" colsep="0" rowsep="1">
  36. <title>Legacy plug-ins</title>
  37. <tgroup cols="2">
  38. <colspec colwidth="1*"/>
  39. <colspec colwidth="1*"/>
  40. <thead>
  41. <row>
  42. <entry>Plug-in </entry>
  43. <entry>Source code location</entry>
  44. </row>
  45. </thead>
  46. <tbody>
  47. <row>
  48. <entry>JavaHelp
  49. <indexterm>JavaHelp</indexterm></entry>
  50. <entry>
  51. <xref href="https://github.com/dita-ot/org.dita.javahelp" format="html" scope="external"/></entry>
  52. </row>
  53. </tbody>
  54. </tgroup>
  55. </table>
  56. <note conkeyref="reusable-components/legacy-plugins-note"/>
  57. <p>To re-install the JavaHelp plug-in, run the following command:</p>
  58. <codeblock><cmdname>dita</cmdname> <parmname>--install</parmname>=<filepath>https://github.com/dita-ot/org.dita.javahelp/archive/2.5.zip</filepath></codeblock>
  59. </section>
  60. <section id="map-first">
  61. <title>Map-first preprocessing</title>
  62. <p><ph conkeyref="map-first-preproc/map-first-preproc-desc"/></p>
  63. <p conkeyref="reusable-components/no-internal-preprocess2-ext"/>
  64. <note type="tip">See
  65. <xref keyref="map-first-preproc"/> for information on how to use (or test) map-first preprocessing, or revert to
  66. the default <codeph>preprocess</codeph> target.</note>
  67. </section>
  68. <section>
  69. <title>New <codeph>ant.import</codeph> extension point</title>
  70. <p>A new extension point has been added to make it easier to add new targets to the Ant processing pipeline.</p>
  71. <p>Earlier versions of DITA-OT use the <codeph>dita.conductor.target.relative</codeph> to call a wrapper file with
  72. a dummy task that imports the Ant project file. This approach is still supported for backwards compatibility,
  73. but the simpler <codeph>ant.import</codeph> approach should be used for all new customizations. </p>
  74. <note type="tip">See
  75. <xref keyref="plugin-anttarget"/> for details.</note>
  76. </section>
  77. </refbody>
  78. </reference>