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

Commit d3bffc5

Browse files
committed
chore(docs.angularjs.org): add robots.txt
1 parent b969c3e commit d3bffc5

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

docs/app/assets/robots.txt

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
User-agent: *
2+
3+
Disallow: /components/
4+
Disallow: /examples/
5+
Disallow: /img/
6+
Disallow: /js/
7+
Disallow: /partials/
8+
Disallow: /ptore2e/
9+
Disallow: /*.js$
10+
Disallow: /*.map$
11+
Disallow: /Error404.html

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"destination": "/index-production.html"
2424
},
2525
{
26-
"source": "**/*!(.jpg|.jpeg|.gif|.png|.html|.js|.map|.json|.css|.svg|.ttf|.woff|.woff2|.eot)",
26+
"source": "**/*!(.jpg|.jpeg|.gif|.png|.html|.js|.map|.json|.css|.svg|.ttf|.txt|.woff|.woff2|.eot)",
2727
"destination": "/index-production.html"
2828
}
2929
]

0 commit comments

Comments
 (0)