Skip to content

Commit

Permalink
Fix typos in documentation and code (#538)
Browse files Browse the repository at this point in the history
All of them were found using `typos`.

Signed-off-by: Stefan Weil <[email protected]>
  • Loading branch information
stweil authored Feb 21, 2024
1 parent d001d52 commit 8379a36
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion reference/extended-functionality.dita
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<shortdesc>DITA-OT provides additional processing support beyond that which is mandated by the DITA specification.
These extensions can be used to define character encodings or line ranges for code references, normalize
indendation, add line numbers or display whitespace characters in code blocks.</shortdesc>
indentation, add line numbers or display whitespace characters in code blocks.</shortdesc>
<prolog>
<metadata>
<keywords>
Expand Down
2 changes: 1 addition & 1 deletion reference/markdown/Common-syntax.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ Term
<dl>
<dlentry>
<dt>Term</dt>
<dd>Defintion.</dd>
<dd>Definition.</dd>
</dlentry>
</dl>
```
Expand Down
2 changes: 1 addition & 1 deletion reference/processing-structure.dita
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<indexterm>XHTML</indexterm>
<indexterm>PDF</indexterm>
<indexterm>HTML5
<indexterm>preprocesing</indexterm></indexterm>
<indexterm>preprocessing</indexterm></indexterm>
<indexterm>pipelines
<indexterm>description of</indexterm></indexterm>
<indexterm>pipelines
Expand Down
2 changes: 1 addition & 1 deletion resources/dita-ot-doc.css
Original file line number Diff line number Diff line change
Expand Up @@ -844,7 +844,7 @@ h2 .codeph {
}

/****************************************
Basic identation, padding, and margins
Basic indentation, padding, and margins
****************************************/

@media screen and (min-width: 992px) {
Expand Down
2 changes: 1 addition & 1 deletion samples/concepts/tools.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<li>Level</li>
<li>Saws</li>
<li>Drill</li>
<li>Air pressure guage</li>
<li>Air pressure gauge</li>
<li>Spade</li>
<li>Rake</li>
</ul>
Expand Down
2 changes: 1 addition & 1 deletion samples/taskbook/webtrouble.dita
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<!-- This file is part of the DITA Open Toolkit project. See the accompanying LICENSE file for applicable license. -->
<!-- (c) Copyright IBM Corp. 2004, 2005 All Rights Reserved. -->
<task id="webtrouble" xml:lang="en-us">
<title>Troublshooting Web Server problems</title>
<title>Troubleshooting Web Server problems</title>
<shortdesc>There are several things to try if your Web Server is not functioning properly.</shortdesc>
<prolog>
<metadata>
Expand Down
2 changes: 1 addition & 1 deletion topics/building-output.dita
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd">
<!-- This file is part of the DITA Open Toolkit project. See the accompanying LICENSE file for applicable license. -->
<task id="tranforming-dita-content">
<task id="transforming-dita-content">
<title>Building output</title>
<shortdesc>You can use the <cmdname>dita</cmdname> command-line tool, Ant, or the Java API to transform DITA content
to the various output formats that DITA Open Toolkit supports.</shortdesc>
Expand Down
2 changes: 1 addition & 1 deletion topics/implement-saxon-extension-functions.dita
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<filepath>META-INF/services</filepath> in the compiled JAR that your plug-in provides. Each line of the file
must be the name of a class that implements <codeph
>net.sf.saxon.lib.ExtensionFunctionDefinition</codeph>: <codeblock>com.example.saxon.functions.Add
com.example.saxon.functions.Substract</codeblock>
com.example.saxon.functions.Subtract</codeblock>
<p>You can create the file using <xmlelement>service</xmlelement> elements in an Ant
<xmlelement>jar</xmlelement>
task:<codeblock outputclass="language-xml">&lt;jar destfile="${basedir}/target/lib/example-saxon.jar">
Expand Down
4 changes: 2 additions & 2 deletions topics/plugin-configfile.dita
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<metadata>
<keywords>
<indexterm>plug-ins
<indexterm>identfiers</indexterm></indexterm>
<indexterm>identifiers</indexterm></indexterm>
<indexterm>plug-ins
<indexterm><filepath>plugin.xml</filepath></indexterm></indexterm>
<indexterm>metadata
Expand Down Expand Up @@ -82,7 +82,7 @@
</simpletable>
<p id="extension-point-ids">Like plug-in identifiers, extension point identifiers are composed of one or
more dot-delimited tokens.</p>
<note id="entension-point-ids-note">Extension point identifiers should begin with the identifier of the
<note id="extension-point-ids-note">Extension point identifiers should begin with the identifier of the
defining plug-in and append one or more tokens, for example, <codeph>org.dita.example.pre</codeph>.</note>
<fig>
<title>Sample <xmlelement>extension-point</xmlelement> element</title>
Expand Down

0 comments on commit 8379a36

Please sign in to comment.