from code-server
This commit is contained in:
parent
eda5c02fe9
commit
5ef8bdba47
2652 changed files with 528235 additions and 0 deletions
|
|
@ -0,0 +1,11 @@
|
|||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
|
||||
<project>
|
||||
<target name="dita2html5-javascript"
|
||||
depends="dita2html5-javascript.init,
|
||||
dita2html5"/>
|
||||
<target name="dita2html5-javascript.init">
|
||||
<property name="args.ftr"
|
||||
location="${dita.plugin.com.example.html5-javascript.dir}/include/javascript.ftr.xml"/>
|
||||
</target>
|
||||
</project>
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
<div>
|
||||
<!-- Google Analytics -->
|
||||
<script>
|
||||
console.log('Adding Google Analytics tracker');
|
||||
|
||||
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
||||
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
||||
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
||||
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
|
||||
|
||||
ga('create', 'UA-XXXXX-Y', 'auto');
|
||||
ga('send', 'pageview');
|
||||
</script>
|
||||
<!-- End Google Analytics -->
|
||||
</div>
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?xml-model href="https://www.dita-ot.org/rng/plugin.rnc" type="application/relax-ng-compact-syntax"?>
|
||||
|
||||
<plugin id="com.example.html5-javascript">
|
||||
<require plugin="org.dita.html5"/>
|
||||
<transtype name="html5-javascript" extends="html5" desc="HTML5 with embedded JavaScript"/>
|
||||
<feature extension="ant.import" file="build_html5-javascript.xml"/>
|
||||
</plugin>
|
||||
Loading…
Add table
Add a link
Reference in a new issue