migrating-to-3.0.dita 3.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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. <refbody>
  13. <section>
  14. <note>This topic provides a summary of changes in DITA-OT 3.0 that may require modifications to custom stylesheets
  15. or plug-ins. For more information on changes in this release, see the
  16. <xref keyref="3.0-release-notes"/>.</note>
  17. </section>
  18. <section id="30-legacy-plugin-removal">
  19. <title>Legacy plug-ins removed</title>
  20. <p>DITA-OT 3.0 no longer includes the following legacy transformation plug-ins in the default distribution:</p>
  21. <table frame="none" rowsep="1" colsep="0">
  22. <title>Legacy plug-ins</title>
  23. <tgroup cols="2">
  24. <colspec colname="c1" colnum="1" colwidth="1.0*"/>
  25. <colspec colname="c2" colnum="2" colwidth="1.0*"/>
  26. <thead>
  27. <row>
  28. <entry>Plug-in </entry>
  29. <entry>Source code location</entry>
  30. </row>
  31. </thead>
  32. <tbody>
  33. <row>
  34. <entry>JavaHelp</entry>
  35. <entry>
  36. <xref href="https://github.com/dita-ot/org.dita.javahelp" format="html" scope="external"/></entry>
  37. </row>
  38. </tbody>
  39. </tgroup>
  40. </table>
  41. <note>If necessary, legacy plug-ins may be re-installed from earlier DITA-OT distributions, but they are no longer
  42. actively maintained or supported by the core toolkit committers. The source code is available on GitHub for
  43. anyone interested in maintaining the plug-ins for use with future toolkit versions.</note>
  44. <p>To re-install the JavaHelp plug-in, run the following command:</p>
  45. <codeblock><cmdname>dita</cmdname> <parmname>--install</parmname> <filepath>https://github.com/dita-ot/org.dita.javahelp/archive/2.5.zip</filepath></codeblock>
  46. </section>
  47. <section id="map-first">
  48. <title>Map-first preprocessing</title>
  49. <p><ph conref="../reference/map-first-preprocessing.dita#ID/map-first-preproc-desc"/></p>
  50. <note type="tip">See
  51. <xref keyref="map-first-preproc"/> for information on how to use (or test) map-first preprocessing, or revert to
  52. the default <codeph>preprocess</codeph> target.</note>
  53. </section>
  54. <section>
  55. <title>New <codeph>ant.import</codeph> extension point</title>
  56. <p>A new extension point has been added to make it easier to add new targets to the Ant processing pipeline.</p>
  57. <p>Earlier versions of DITA-OT use the <codeph>dita.conductor.target.relative</codeph> to call a wrapper file with
  58. a dummy task that imports the Ant project file. This approach is still supported for backwards compatibility,
  59. but the simpler <codeph>ant.import</codeph> approach should be used for all new customizations. </p>
  60. <note type="tip">See
  61. <xref keyref="plugin-anttarget"/> for details.</note>
  62. </section>
  63. </refbody>
  64. </reference>