aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2009-01-08 21:57:49 +0000
committerJörn Zaefferer <joern.zaefferer@gmail.com>2009-01-08 21:57:49 +0000
commitad6baf24449b51e454bb2fe944db76b62d232cd8 (patch)
treee73100c90ac186ecdc055a694a564cc4dbbe6b80
parente9d2650278fe47f261bdae137e1aa8fd16c51c54 (diff)
downloadjquery-ui-ad6baf24449b51e454bb2fe944db76b62d232cd8.tar.gz
jquery-ui-ad6baf24449b51e454bb2fe944db76b62d232cd8.zip
integrating documentation into demo files, first draft; run Ant targets docs-download and docs-process to generate the files
-rw-r--r--demos/index.html2
-rw-r--r--release/build.xml24
2 files changed, 13 insertions, 13 deletions
diff --git a/demos/index.html b/demos/index.html
index e7f19ab84..5516531e2 100644
--- a/demos/index.html
+++ b/demos/index.html
@@ -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() {
diff --git a/release/build.xml b/release/build.xml
index 247ac554c..d4d18972c 100644
--- a/release/build.xml
+++ b/release/build.xml
@@ -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">