Skip to content

Commit

Permalink
Move old samples files to new init plug-in (#595)
Browse files Browse the repository at this point in the history
This removes the old Ant samples and garage samples from the
`docsrc/samples` subfolder of the default DITA-OT distribution package.

Follow-up to dita-ot/org.dita.init#2, which will
allow them to be restored as necessary from the
[org.dita.init](dita-ot/org.dita.init#2) plugin
via the new `init` subcommand:

```shell
dita init samples
```
  • Loading branch information
infotexture authored Feb 11, 2025
2 parents 922d469 + 4efd014 commit 4d56ffe
Show file tree
Hide file tree
Showing 69 changed files with 184 additions and 1,538 deletions.
4 changes: 2 additions & 2 deletions parameters/dita-command-arguments.dita
Original file line number Diff line number Diff line change
Expand Up @@ -431,8 +431,8 @@
example, use <parmname>--repeat</parmname>=<option>5</option>. The duration of each execution will appear in
the console when the final transformation is complete.
<codeblock outputclass="syntax-bash multi-platform">$ <cmdname>dita</cmdname> <parmname
>--input</parmname>=<filepath>docsrc/samples/sequence.ditamap</filepath> <parmname
>--format</parmname>=<option>html5</option> \
>--input</parmname>=<filepath>path/to/sample.ditamap</filepath> <parmname>--format</parmname>=<option
>html5</option> \
<parmname>--repeat</parmname>=<option>5</option>
1 11281ms
2 4132ms
Expand Down
6 changes: 1 addition & 5 deletions resources/conref-task.dita
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
<dd><filepath id="ot-dir"><varname>dita-ot-dir</varname></filepath></dd>
<dd><filepath id="dita-cmd"><cmdname>dita</cmdname></filepath></dd>
<dd><filepath id="docsrc-dir"><varname>dita-ot-dir</varname>/docsrc</filepath></dd>
<dd><filepath id="docsrc-absolute"><varname>/absolute/path/to/dita-ot-dir</varname>/docsrc</filepath></dd>
<dd><filepath id="samples-dir"><varname>dita-ot-dir</varname>/docsrc/samples</filepath></dd>
<dd><filepath id="samples-absolute"><varname
>/absolute/path/to/dita-ot-dir</varname>/docsrc/samples</filepath></dd>
Expand Down Expand Up @@ -112,11 +113,6 @@
</parml></li>
</ul>
</info>
<stepresult id="running-ditaot-results">
<p>If processing is successful, nothing is printed in the terminal window. The built output is written to the
specified output directory (by default, in the <filepath>out</filepath> subdirectory of the current
directory).</p>
</stepresult>
</step>
<step>
<cmd>Extending pre-processing</cmd>
Expand Down
26 changes: 0 additions & 26 deletions samples/ant_sample/build-chm-pdf-hybrid.xml

This file was deleted.

22 changes: 0 additions & 22 deletions samples/ant_sample/build-chm-pdf.xml

This file was deleted.

32 changes: 0 additions & 32 deletions samples/ant_sample/dita-cmd.xml

This file was deleted.

27 changes: 0 additions & 27 deletions samples/ant_sample/sample_all.xml

This file was deleted.

19 changes: 0 additions & 19 deletions samples/ant_sample/sample_eclipsehelp.xml

This file was deleted.

20 changes: 0 additions & 20 deletions samples/ant_sample/sample_html5.xml

This file was deleted.

19 changes: 0 additions & 19 deletions samples/ant_sample/sample_htmlhelp.xml

This file was deleted.

19 changes: 0 additions & 19 deletions samples/ant_sample/sample_pdf.xml

This file was deleted.

26 changes: 0 additions & 26 deletions samples/ant_sample/sample_xhtml_plus_css.xml

This file was deleted.

24 changes: 0 additions & 24 deletions samples/ant_sample/template_eclipsehelp.xml

This file was deleted.

24 changes: 0 additions & 24 deletions samples/ant_sample/template_htmlhelp.xml

This file was deleted.

24 changes: 0 additions & 24 deletions samples/ant_sample/template_pdf.xml

This file was deleted.

9 changes: 0 additions & 9 deletions samples/concepts/garageconceptsoverview.xml

This file was deleted.

11 changes: 0 additions & 11 deletions samples/concepts/lawnmower.xml

This file was deleted.

14 changes: 0 additions & 14 deletions samples/concepts/oil.xml

This file was deleted.

14 changes: 0 additions & 14 deletions samples/concepts/paint.xml

This file was deleted.

14 changes: 0 additions & 14 deletions samples/concepts/shelving.xml

This file was deleted.

Loading

0 comments on commit 4d56ffe

Please sign in to comment.