mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
integrating documentation into demo files, first draft; run Ant targets docs-download and docs-process to generate the files
This commit is contained in:
parent
e9d2650278
commit
ad6baf2444
@ -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">
|
||||
|
Loading…
Reference in New Issue
Block a user