mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
moving documentation folder under demos to make it work locally
This commit is contained in:
parent
c31ae93dc5
commit
27026e0f89
@ -164,7 +164,7 @@
|
|||||||
updateDemoNotes();
|
updateDemoNotes();
|
||||||
});
|
});
|
||||||
if (/default.html$/.test(path)) {
|
if (/default.html$/.test(path)) {
|
||||||
$.get("../documentation/docs-" + path.match(/demos\/(.+)\//)[1] + ".html", function(html) {
|
$.get("documentation/docs-" + path.match(/demos\/(.+)\//)[1] + ".html", function(html) {
|
||||||
$("#demo-notes").after(html);
|
$("#demo-notes").after(html);
|
||||||
$("#widget-docs").tabs();
|
$("#widget-docs").tabs();
|
||||||
$(".param-header").click(function() {
|
$(".param-header").click(function() {
|
||||||
|
@ -234,7 +234,7 @@
|
|||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="docs-process" depends="docs-download">
|
<target name="docs-process" depends="docs-download">
|
||||||
<property name="docs.dir" value="${ui.dir}/documentation" />
|
<property name="docs.dir" value="${ui.dir}/demos/documentation" />
|
||||||
<delete dir="${docs.dir}" />
|
<delete dir="${docs.dir}" />
|
||||||
<mkdir dir="${docs.dir}" />
|
<mkdir dir="${docs.dir}" />
|
||||||
<xslt includes="docs-*.xml" destdir="${docs.dir}" style="build/style.xsl" />
|
<xslt includes="docs-*.xml" destdir="${docs.dir}" style="build/style.xsl" />
|
||||||
|
Loading…
Reference in New Issue
Block a user