Skip to content

Commit

Permalink
Merge pull request #290 from dita-ot/feature/platform-passthrough
Browse files Browse the repository at this point in the history
Output platform profile attributes in website build
  • Loading branch information
jelovirt committed May 25, 2020
2 parents d1015a3 + fcc62cb commit 6b2381d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ task site(type: DitaOtTask) {

input file("${projectDir}/site.ditamap")
output getPropertyOrDefault('outputDir', "${buildDir}/site")
filter "${projectDir}/resources/html.ditaval"
filter "${projectDir}/resources/site.ditaval"

transtype 'org.dita-ot.html'

Expand Down
6 changes: 6 additions & 0 deletions resources/site.ditaval
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<val>
<prop action="include" att="deliveryTarget" val="html" />
<prop action="exclude" att="deliveryTarget" val="pdf" />
<prop action="passthrough" att="platform"/>
</val>

0 comments on commit 6b2381d

Please sign in to comment.