Skip to content

Commit

Permalink
Upgraded to reveal.js 3.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Eike committed Oct 17, 2019
1 parent ca44268 commit 1a6e65f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
12 changes: 5 additions & 7 deletions build_transtype-reveal_template.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,17 @@
reveal"/>

<target name="reveal.init">
<!-- reveal.js version -->
<property name="reveal-version" value="3.7.0"/>
<!-- Fallback to version 3.8.0 if not defined. -->
<property unless:set="args.reveal.version" name="args.reveal.version" value="3.8.0"/>

<!-- Download URL of the reveal.js archive. -->
<property name="revealDownloadUrl" value="https://github.com/hakimel/reveal.js/archive/${reveal-version}.zip"/>
<property name="revealDownloadUrl" value="https://github.com/hakimel/reveal.js/archive/${args.reveal.version}.zip"/>

<!-- Filename of the reveal.js archive. -->
<property name="revealArchiveName" value="${reveal-version}.zip"/>
<property name="revealArchiveName" value="${args.reveal.version}.zip"/>

<!-- Directory name of reveal.js that is stored in the downloaded archive. -->
<property name="revealDirectoryName" value="reveal.js-${reveal-version}"/>
<property name="revealDirectoryName" value="reveal.js-${args.reveal.version}"/>

<!-- HTML version. Property is required by DITA-OT2.x -->
<property name="html-version" value="html5"/>
Expand All @@ -49,8 +49,6 @@
<os family="unix"/>
</condition>

<!--<property name="revealCacheDir" value="${user.home}${file.separator}.ditaToRevealJSCache"/>-->

<!-- Do not generate releated links -->
<property name="args.rellinks" value="none"/>

Expand Down
1 change: 1 addition & 0 deletions insertParameters.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
<param name="args.reveal.touch" expression="${args.reveal.touch}" if="args.reveal.touch"/>
<param name="args.reveal.transition" expression="${args.reveal.transition}" if="args.reveal.transition"/>
<param name="args.reveal.transitionspeed" expression="${args.reveal.transitionspeed}" if="args.reveal.transitionspeed"/>
<param name="args.reveal.version" expression="${args.reveal.version}" if="args.reveal.version"/>
<param name="args.reveal.viewdistance" expression="${args.reveal.viewdistance}" if="args.reveal.viewdistance"/>
<param name="args.reveal.width" expression="${args.reveal.width}" if="args.reveal.width"/>
</dummy>
5 changes: 4 additions & 1 deletion plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<feature extension="package.support.email" value="stefan.eike@mailbox.org"/>

<!-- Version of the plugin -->
<feature extension="package.version" value="0.1"/>
<feature extension="package.version" value="1.4"/>

<feature extension="dita.specialization.catalog.relative" type="file" value="catalog-dita.xml"/>

Expand Down Expand Up @@ -155,6 +155,9 @@
<val>fast</val>
<val>slow</val>
</param>
<param name="args.reveal.version" desc="Set the reveal.js version." type="string">
<val default="true">3.8.0</val>
</param>
<param name="args.reveal.viewdistance" desc="Set the number of slides away from the current that are visible." type="string">
<val default="true">3</val>
</param>
Expand Down

0 comments on commit 1a6e65f

Please sign in to comment.