This repository was archived by the owner on Apr 12, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +11
-13
lines changed
scripts/docs.angularjs.org-firebase Expand file tree Collapse file tree 3 files changed +11
-13
lines changed Original file line number Diff line number Diff line change @@ -354,7 +354,7 @@ module.exports = function(grunt) {
354354 } ,
355355 {
356356 cwd : 'build/docs' ,
357- src : '**' ,
357+ src : [ '**' , '!ptore2e/**' ] ,
358358 dest : 'deploy/docs/' ,
359359 expand : true
360360 } ,
Original file line number Diff line number Diff line change 11User-agent: *
22
3- Disallow: /examples/
4- Disallow: /ptore2e/
5- Disallow: /Error404.html
6-
7- # The js / map files in the root are used by the embedded examples, not by the app itself
8- Disallow: /*.js$
9- Disallow: /*.map$
10-
11- # (Javascript) crawlers need to access JS files
12- Allow: /components/*.js
13- Allow: /js/*.js
3+ # The map files are not required by the app
4+ Disallow: /*.map$
Original file line number Diff line number Diff line change 2929 ],
3030 "headers" : [
3131 {
32- "source" : " /partials/**" ,
32+ "source" : " /Error404.html" ,
33+ "headers" : [{
34+ "key" : " X-Robots-Tag" ,
35+ "value" : " noindex"
36+ }]
37+ },
38+ {
39+ "source" : " /@(partials|examples)/**" ,
3340 "headers" : [{
3441 "key" : " X-Robots-Tag" ,
3542 "value" : " noindex"
You can’t perform that action at this time.
0 commit comments