Skip to content
Permalink
Browse files

integrating documentation into demo files, first draft; run Ant targe…

…ts docs-download and docs-process to generate the files
  • Loading branch information...
jzaefferer committed Jan 8, 2009
1 parent e9d2650 commit ad6baf24449b51e454bb2fe944db76b62d232cd8
Showing with 13 additions and 13 deletions.
  1. +1 −1 demos/index.html
  2. +12 −12 release/build.xml
@@ -164,7 +164,7 @@
updateDemoNotes();
});
if (/default.html$/.test(path)) {
$.get("../documentation/" + path.match(/demos\/(.+)\//)[1] + ".html", function(html) {
$.get("../documentation/docs-" + path.match(/demos\/(.+)\//)[1] + ".html", function(html) {
$("#demo-notes").after(html);
$("#widget-docs").tabs();
$(".param-header").click(function() {
@@ -220,24 +220,24 @@

<target name="docs-download">
<property name="url" value="http://www.exfer.net/jquery/createjQueryXMLDocs.py?start=UI/" />
<get src="${url}Accordion" dest="accordion.xml" />
<get src="${url}Datepicker" dest="datepicker.xml" />
<get src="${url}Dialog" dest="dialog.xml" />
<get src="${url}Draggable" dest="draggable.xml" />
<get src="${url}Droppable" dest="droppable.xml" />
<get src="${url}Progressbar" dest="progressbar.xml" />
<get src="${url}Resizable" dest="resizable.xml" />
<get src="${url}Selectable" dest="selectable.xml" />
<get src="${url}Slider" dest="slider.xml" />
<get src="${url}Sortable" dest="sortable.xml" />
<get src="${url}Tabs" dest="tabs.xml" />
<get src="${url}Accordion" dest="docs-accordion.xml" />
<get src="${url}Datepicker" dest="docs-datepicker.xml" />
<get src="${url}Dialog" dest="docs-dialog.xml" />
<get src="${url}Draggable" dest="docs-draggable.xml" />
<get src="${url}Droppable" dest="docs-droppable.xml" />
<get src="${url}Progressbar" dest="docs-progressbar.xml" />
<get src="${url}Resizable" dest="docs-resizable.xml" />
<get src="${url}Selectable" dest="docs-selectable.xml" />
<get src="${url}Slider" dest="docs-slider.xml" />
<get src="${url}Sortable" dest="docs-sortable.xml" />
<get src="${url}Tabs" dest="docs-tabs.xml" />
</target>

<target name="docs-process" depends="docs-download">
<property name="docs.dir" value="${ui.dir}/documentation" />
<delete dir="${docs.dir}" />
<mkdir dir="${docs.dir}" />
<xslt includes="*.xml,accordion.xml" excludes="build.xml" destdir="${docs.dir}" style="build/style.xsl" />
<xslt includes="docs-*.xml" destdir="${docs.dir}" style="build/style.xsl" />
</target>

<target name="docs-clean">

0 comments on commit ad6baf2

Please sign in to comment.
You can’t perform that action at this time.