File tree 3 files changed +11
-13
lines changed
scripts/docs.angularjs.org-firebase
3 files changed +11
-13
lines changed Original file line number Diff line number Diff line change @@ -341,7 +341,7 @@ module.exports = function(grunt) {
341
341
} ,
342
342
{
343
343
cwd : 'build/docs' ,
344
- src : '**' ,
344
+ src : [ '**' , '!ptore2e/**' ] ,
345
345
dest : 'deploy/docs/' ,
346
346
expand : true
347
347
} ,
Original file line number Diff line number Diff line change 1
1
User-agent: *
2
2
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 29
29
],
30
30
"headers" : [
31
31
{
32
- "source" : " /partials/**" ,
32
+ "source" : " Error404.html" ,
33
+ "headers" : [{
34
+ "key" : " X-Robots-Tag" ,
35
+ "value" : " noindex"
36
+ }]
37
+ },
38
+ {
39
+ "source" : " /@(partials|examples)/**" ,
33
40
"headers" : [{
34
41
"key" : " X-Robots-Tag" ,
35
42
"value" : " noindex"
You can’t perform that action at this time.
0 commit comments