Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 22309c3

Browse files
committed
fix(docs): disable appcache - causing too much trouble
1 parent fcf95a4 commit 22309c3

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

docs/src/gen-docs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ function writeTheRest(writesFuture) {
4646
var manifest = 'manifest="/build/docs/appcache.manifest"';
4747

4848
writesFuture.push(writer.copy('docs/src/templates/index.html', 'build/docs/index.html',
49-
writer.replace, {'doc:manifest': manifest}));
49+
writer.replace, {'doc:manifest': ''})); //manifest //TODO(i): enable
5050

5151
writesFuture.push(writer.copy('docs/src/templates/index.html', 'build/docs/index-nocache.html',
5252
writer.replace, {'doc:manifest': ''}));

docs/src/templates/index.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,10 @@ <h2>Discussion</h2>
131131
ng:href="https://github.com/angular/angular.js/blob/master/CHANGELOG.md#{{versionNumber}}"
132132
ng:bind-template="v{{version}}">
133133
</a>
134+
<!-- TODO(i): enable
134135
<a ng:hide="offlineEnabled" ng:click ="subpage = true">(enable offline support)</a>
135136
<span ng:show="offlineEnabled">(offline support enabled)</span>
137+
-->
136138
<span id="copyright">© 2010-2012 AngularJS</span>
137139
</div>
138140
</div>

0 commit comments

Comments
 (0)