rebuilding-docs.html 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <!DOCTYPE html
  2. SYSTEM "about:legacy-compat">
  3. <html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="UTF-8"><meta name="copyright" content="(C) Copyright 2020"><meta name="DC.rights.owner" content="(C) Copyright 2020"><meta name="DC.type" content="task"><meta name="description" content="When you add or remove plug-ins, you can rebuild the documentation to update the information on the extension points, messages, and parameters that are available in your environment."><meta name="DC.subject" content="macOS, gradle, rebuilding documentation, Linux, Windows, gradlew"><meta name="keywords" content="macOS, gradle, rebuilding documentation, Linux, Windows, gradlew"><meta name="DC.relation" scheme="URI" content="../topics/adding-plugins.html"><meta name="DC.format" content="HTML5"><meta name="DC.identifier" content="rebuilding-docs"><link rel="stylesheet" type="text/css" href="../css/commonltr.css"><link rel="stylesheet" type="text/css" href="../css/dita-ot-doc.css"><title>Rebuilding the DITA-OT documentation</title></head><body id="rebuilding-docs"><header role="banner"><div class="header">
  4. <p>DITA Open Toolkit</p>
  5. <hr>
  6. </div></header><nav role="toc"><ul><li><a href="../index.html">DITA Open Toolkit 3.5</a></li><li><a href="../release-notes/index.html">Release Notes</a></li><li><a href="../topics/installing-client.html">Installing DITA-OT</a></li><li><a href="../topics/building-output.html">Building output</a></li><li><a href="../topics/input-formats.html">Authoring formats</a></li><li><a href="../topics/output-formats.html">Output formats</a></li><li><a href="../parameters/index.html">Parameters</a></li><li><a href="../topics/html-customization.html">Customizing HTML</a></li><li><a href="../topics/pdf-customization.html">Customizing PDF</a></li><li><a href="../topics/adding-plugins.html">Adding plug-ins</a><ul><li><a href="../topics/plugins-installing.html">Installing plug-ins</a></li><li><a href="../topics/plugins-removing.html">Removing plug-ins</a></li><li><a href="../topics/plugins-registry.html">Plug-in registry</a></li><li class="active"><a href="../topics/rebuilding-docs.html">Rebuilding documentation</a></li></ul></li><li><a href="../topics/custom-plugins.html">Creating plug-ins</a></li><li><a href="../topics/troubleshooting-overview.html">Troubleshooting</a></li><li><a href="../reference/index.html">Reference</a></li><li><a href="../topics/dita-and-dita-ot-resources.html">Resources</a></li></ul></nav><main role="main"><article role="article" aria-labelledby="ariaid-title1">
  7. <h1 class="title topictitle1" id="ariaid-title1">Rebuilding the DITA-OT documentation</h1>
  8. <div class="body taskbody"><p class="shortdesc">When you add or remove plug-ins, you can rebuild the documentation to update the information on the
  9. extension points, messages, and parameters that are available in your environment.</p>
  10. <section class="section context"><div class="tasklabel"><h2 class="sectiontitle tasklabel">About this task</h2></div>
  11. <p class="p">DITA-OT ships with a <a href="https://gradle.org" target="_blank" rel="external noopener"><span class="keyword">Gradle</span></a> build script that enables you to rebuild the toolkit
  12. documentation. The build script reads the toolkit’s plug-in configuration and automatically regenerates topics
  13. and properties file templates based on the extension points, messages, and parameters provided by the installed
  14. plug-ins.</p>
  15. <div class="note attention note_attention"><span class="note__title">Attention:</span> If you have installed new plug-ins, you may need to add the corresponding generated topics
  16. to the DITA maps to include the new information in the output.</div></section>
  17. <section><div class="tasklabel"><h2 class="sectiontitle tasklabel">Procedure</h2></div><ol class="ol steps"><li class="li step stepexpand">
  18. <span class="ph cmd">Change to the <span class="ph filepath">docsrc/</span> subdirectory of the DITA-OT installation.</span>
  19. </li><li class="li step stepexpand">
  20. <span class="ph cmd">Run one of the following commands.</span>
  21. <ul class="ul choices">
  22. <li class="li choice">On Linux and macOS:
  23. <pre class="pre codeblock"><code>./gradlew <var class="keyword varname">target</var></code></pre></li>
  24. <li class="li choice">On Windows: <pre class="pre codeblock"><code>gradlew.bat <var class="keyword varname">target</var></code></pre></li>
  25. </ul>
  26. <div class="itemgroup info">
  27. <div class="p">The <var class="keyword varname">target</var> parameter is optional and specifies a transformation type. It takes the
  28. following values:
  29. <ul class="ul">
  30. <li class="li"><span class="keyword option">html</span></li>
  31. <li class="li"><span class="keyword option">htmlhelp</span></li>
  32. <li class="li"><span class="keyword option">pdf</span></li>
  33. </ul>
  34. </div>
  35. <p class="p">If you do not specify a target, HTML5 and PDF output is generated.</p>
  36. </div>
  37. </li></ol></section>
  38. </div>
  39. <nav role="navigation" class="related-links"><div class="familylinks"><div class="parentlink"><strong>Parent topic:</strong> <a class="link" href="../topics/adding-plugins.html" title="You can extend DITA-OT with additional plug-ins to change the default output types in various ways, add entirely new kinds of output formats, or implement DITA specializations. A variety of open source plug-ins are available from the plug-in registry at dita-ot.org/plugins.">Adding and removing plug-ins</a></div></div></nav></article></main></body></html>