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

Commit e44cf88

Browse files
committed
chore(docs.angularjs.org): allow robots in partials/ but prevent indexing
1 parent 96bee0c commit e44cf88

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

docs/app/assets/robots.txt

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
User-agent: *
22

33
Disallow: /examples/
4-
Disallow: /partials/
54
Disallow: /ptore2e/
65
Disallow: /Error404.html
76

scripts/docs.angularjs.org-firebase/firebase.json

+9
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,15 @@
2626
"source": "**/*!(.@(jpg|jpeg|gif|png|html|js|map|json|css|svg|ttf|txt|woff|woff2|eot|xml))",
2727
"function": "sendFile"
2828
}
29+
],
30+
"headers": [
31+
{
32+
"source": "/partials/**",
33+
"headers" : [{
34+
"key" : "X-Robots-Tag",
35+
"value" : "noindex"
36+
}]
37+
}
2938
]
3039
}
3140
}

0 commit comments

Comments
 (0)