Skip to content

Commit fe70965

Browse files
committed
Updating to 3.5.1
1 parent e4a0473 commit fe70965

File tree

7 files changed

+16
-26
lines changed

7 files changed

+16
-26
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ addons:
1111
- ant
1212

1313
env:
14-
- DITA_OT=3.5
14+
- DITA_OT=3.5.1
1515

1616
before_install:
1717
- zip -r fox.jason.passthrough.doxygen.zip . -x *.zip* *.git/* *temp/* *out/*

Customization/xsl/class.xsl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
</xsl:when>
9292
</xsl:choose>
9393
</codeblock>
94-
<xsl:value-of select="briefdescription"/>
94+
<xsl:call-template name="parse-detailed-description"/>
9595

9696
<xsl:if test="sectiondef[contains(@kind,'-attrib')]/memberdef[@kind='variable' and @prot='public']">
9797
<!-- Class Field Summary -->
@@ -227,7 +227,7 @@
227227
<xsl:call-template name="add-signature"/>
228228
</codeblock>
229229
<xsl:choose>
230-
<xsl:when test="normalize-space(detaileddescription)!=''">
230+
<xsl:when test="detaileddescription/node()">
231231
<xsl:call-template name="parse-detailed-description"/>
232232
</xsl:when>
233233
<xsl:otherwise>

Customization/xsl/html-processing.xsl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,11 @@
3232
<!--
3333
Paragraph processing
3434
-->
35-
<xsl:template match="p" mode="html">
35+
<xsl:template match="para" mode="html">
3636
<p class="- topic/p ">
37-
<xsl:apply-templates mode="html"/>
37+
38+
<xsl:value-of select="."/>
39+
<!--xsl:apply-templates mode="html"/-->
3840
</p>
3941
</xsl:template>
4042

Customization/xsl/method.xsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@
190190
</xsl:if>
191191

192192

193-
193+
<xsl:call-template name="parse-detailed-description"/>
194194
<xsl:call-template name="parameter-description"/>
195195
<xsl:call-template name="return-description"/>
196196
</xsl:variable>

Customization/xsl/package.xsl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,8 @@
121121
<xsl:with-param name="href" select="concat('#', dita-ot:name-to-id(compoundname))" />
122122
<xsl:with-param name="text" select="replace(compoundname, '^.*::','')" />
123123
</xsl:call-template>
124-
<xsl:if test="normalize-space(briefdescription)!=''">
125-
<xsl:value-of select="concat (' - ', briefdescription)"/>
124+
<xsl:if test="briefdescription">
125+
<xsl:value-of select="concat (' - ', briefdescription, detaileddescription/para[1])"/>
126126
</xsl:if>
127127
</li>
128128
</xsl:template>

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,19 +81,19 @@ DITA-OT version is therefore 3.3. It is recommended that you upgrade to the late
8181
The DITA-OT doxygen plug-in is a file reader for the DITA Open Toolkit.
8282
8383
- Full installation instructions for downloading DITA-OT can be found
84-
[here](https://www.dita-ot.org/3.5/topics/installing-client.html).
84+
[here](https://www.dita-ot.org/3.5.1/topics/installing-client.html).
8585
86-
1. Download the `dita-ot-3.5.zip` package from the project website at
86+
1. Download the `dita-ot-3.5.1.zip` package from the project website at
8787
[dita-ot.org/download](https://www.dita-ot.org/download)
8888
2. Extract the contents of the package to the directory where you want to install DITA-OT.
8989
3. **Optional**: Add the absolute path for the `bin` directory to the _PATH_ system variable.
9090
9191
This defines the necessary environment variable to run the `dita` command from the command line.
9292
9393
```console
94-
curl -LO https://github.com/dita-ot/dita-ot/releases/download/3.5/dita-ot-3.5.zip
95-
unzip -q dita-ot-3.5.zip
96-
rm dita-ot-3.5.zip
94+
curl -LO https://github.com/dita-ot/dita-ot/releases/download/3.5.1/dita-ot-3.5.1.zip
95+
unzip -q dita-ot-3.5.1.zip
96+
rm dita-ot-3.5.1.zip
9797
```
9898

9999
### Installing the Plug-in

xsl/doxygen2dita.xsl

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -80,19 +80,7 @@
8080
</xsl:template>
8181

8282
<xsl:template name="parse-detailed-description">
83-
<xsl:variable name="html-fragment">
84-
<xsl:try>
85-
<xsl:copy>
86-
<xsl:copy-of select="parse-xml-fragment(concat('&lt;root&gt;',detaileddescription,'&lt;/root&gt;'))"/>
87-
</xsl:copy>
88-
<xsl:catch>
89-
<xsl:copy>
90-
<xsl:copy-of select="parse-xml-fragment(concat('&lt;root&gt;',replace(detaileddescription,'&lt;p&gt;','&#10;&#10;'),'&lt;/root&gt;'))"/>
91-
</xsl:copy>
92-
</xsl:catch>
93-
</xsl:try>
94-
</xsl:variable>
95-
<xsl:apply-templates select="$html-fragment" mode="html"/>
83+
<xsl:apply-templates select="detaileddescription" mode="html"/>
9684
</xsl:template>
9785

9886
<!--

0 commit comments

Comments
 (0)