Skip to content

Commit

Permalink
Add support for preserving path separator
Browse files Browse the repository at this point in the history
Signed-off-by: Jarno Elovirta <[email protected]>
  • Loading branch information
jelovirt committed Jul 24, 2020
1 parent 0592485 commit 702f1f4
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
13 changes: 13 additions & 0 deletions resources/subjectscheme-outputclass.ditamap
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,14 @@
<subjectdef keys="preprocess"/>
</subjectdef>

<subjectdef keyref="filepath-outputclass">
<topicmeta>
<navtitle>Filepath</navtitle>
<shortdesc>Control multi-platform processing</shortdesc>
</topicmeta>
<subjectdef keys="preserve-separator"/>
</subjectdef>

<subjectdef keys="title-outputclass">
<topicmeta>
<navtitle>Titles</navtitle>
Expand All @@ -111,6 +119,11 @@
<subjectdef keyref="codeph-outputclass"/>
<subjectdef keyref="codeblock-syntax"/>
</enumerationdef>
<enumerationdef>
<elementdef name="filepath"/>
<attributedef name="outputclass"/>
<subjectdef keyref="filepath-outputclass"/>
</enumerationdef>
<enumerationdef>
<elementdef name="ph"/>
<attributedef name="outputclass"/>
Expand Down
4 changes: 2 additions & 2 deletions topics/using-docker-images.dita
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
<p>This command sequence specifies the following options:
<ul>
<li><option>-v</option> mounts the <filepath>source</filepath> subfolder of your home directory and binds
it to the <filepath>/src</filepath> volume in the container</li>
it to the <filepath outputclass="preserve-separator">/src</filepath> volume in the container</li>
<li><option>-i</option> specifies the <filepath>input.ditamap</filepath> file in your
<filepath>source</filepath> folder as the input map file</li>
<li><option>-o</option> writes the output to <filepath>source/out</filepath></li>
Expand All @@ -119,7 +119,7 @@
</stepxmp>
<info>
<note>The DITA-OT container image uses the <codeph>ENTRYPOINT</codeph> instruction to run the
<cmdname>dita</cmdname> command from the <filepath>/opt/app/bin/</filepath> directory of the container
<cmdname>dita</cmdname> command from the <filepath outputclass="preserve-separator">/opt/app/bin/</filepath> directory of the container
automatically, so you there’s no need to include the <cmdname>dita</cmdname> command itself, only the
arguments and options you need to publish your content.</note>
</info>
Expand Down

0 comments on commit 702f1f4

Please sign in to comment.