-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DITA-OT 4.2.4 * tag '4.2.4': Promote .ditaotrc note in local.properties topic Implement feedback on .ditaotrc Link from args.rellinks to include.rellinks (#567) Add topic on runtime configuration file: .ditaotrc Add details on 4551 Edit configuration.properties for blank keyrefs Edit description for 4543 Add details on recently resolved issues Add stub for treat-blank-as-empty config Add stub for #4543 in the release notes Draft 4.2.4 Release Notes stub Bump Docker image version to ”4.2.4“ Bump 'maintenance-version' key to “4.2.4”
- Loading branch information
Showing
10 changed files
with
148 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN" "reference.dtd"> | ||
<!-- This file is part of the DITA Open Toolkit project. See the accompanying LICENSE file for applicable license. --> | ||
<reference id="ditaotrc"> | ||
<title>The <filepath>.ditaotrc</filepath> configuration file</title> | ||
<titlealts> | ||
<navtitle><filepath>.ditaotrc</filepath></navtitle> | ||
</titlealts> | ||
<shortdesc>As of DITA-OT 4.2, new files can be used to store DITA-OT runtime configurations in multiple places to | ||
support fine-grained configuration layers.</shortdesc> | ||
<prolog> | ||
<metadata> | ||
<keywords> | ||
<indexterm>files | ||
<indexterm>.ditaotrc</indexterm></indexterm> | ||
<indexterm><filepath>.ditaotrc</filepath> file</indexterm> | ||
</keywords> | ||
</metadata> | ||
</prolog> | ||
<refbody> | ||
<section> | ||
<p>DITA-OT looks for <filepath>.ditaotrc</filepath> configuration files in the current directory or any ancestor | ||
directory first, then in the user’s home directory, and finally in the root directory of the DITA-OT | ||
installation. These files are read in order and combined with the contents of the | ||
<filepath>local.properties</filepath> file in the toolkit directory.</p> | ||
<p>The first occurrence of a property takes precedence. This approach can be used to define multiple layers of | ||
configuration, so personal defaults that apply to multiple projects can be stored in the home folder, with local | ||
overrides in project folders.</p> | ||
</section> | ||
<example>For example, if the current directory includes a <filepath>.ditaotrc</filepath> file that sets | ||
<codeblock outputclass="language-properties">pdf.formatter=fop</codeblock> and the user’s home directory has a | ||
<filepath>.ditaotrc</filepath> file with the following content, | ||
<codeblock outputclass="language-properties">pdf.formatter=xep | ||
args.grammar.cache=no</codeblock> DITA-OT will be run as if the following options were set on the command line: | ||
<codeblock outputclass="language-bash">--pdf.formatter=fop --args.grammar.cache=no</codeblock> | ||
<note type="tip">As of DITA-OT 4.2, any configurations in | ||
<xref keyref="local-properties-file"><filepath>local.properties</filepath> files</xref> should be migrated to | ||
<filepath>.ditaotrc</filepath> files.</note> | ||
</example> | ||
</refbody> | ||
</reference> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters