diff options
Diffstat (limited to 'docs/src/gen-docs.js')
| -rwxr-xr-x | docs/src/gen-docs.js | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/docs/src/gen-docs.js b/docs/src/gen-docs.js index 4649bec3..1e1474d8 100755 --- a/docs/src/gen-docs.js +++ b/docs/src/gen-docs.js @@ -43,10 +43,17 @@ function writeTheRest(writesFuture) { writesFuture.push(writer.copyDir('img')); writesFuture.push(writer.copyDir('examples')); writesFuture.push(writer.copyTpl('index.html')); - writesFuture.push(writer.copy('docs/src/templates/index.html', - 'build/docs/index-jq.html', - '<!-- jquery place holder -->', - '<script src=\"jquery.min.js\"><\/script>')); + + writesFuture.push(writer.copy('docs/src/templates/index.html', 'build/docs/index-jq.html', + '<!-- jquery place holder -->', '<script src=\"jquery.min.js\"><\/script>')); + + writesFuture.push(writer.copy('docs/src/templates/index.html', 'build/docs/index-nocache.html', + 'manifest="appcache.manifest"', '')); + + writesFuture.push(writer.copy('docs/src/templates/index.html', 'build/docs/index-jq-nocache.html', + 'manifest="appcache.manifest"', '', + '<!-- jquery place holder -->', '<script src=\"jquery.min.js\"><\/script>')); + writesFuture.push(writer.copyTpl('offline.html')); writesFuture.push(writer.copyTpl('docs-scenario.html')); writesFuture.push(writer.copyTpl('jquery.min.js')); |
