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

Commit 9645a08

Browse files
committed
chore(docs.angularjs.org): allow robots access to js files
Related to #16432
1 parent 04ee1e7 commit 9645a08

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

docs/app/assets/robots.txt

+8-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
User-agent: *
22

33
Disallow: /examples/
4-
Disallow: /img/
54
Disallow: /partials/
65
Disallow: /ptore2e/
7-
Disallow: /*.js$ # The js files in the root are used by the embedded examples, not by the app itself
8-
Disallow: /*.map$ # The map files in the root are used by the embedded examples, not by the app itself
96
Disallow: /Error404.html
7+
8+
# The js / map files in the root are used by the embedded examples, not by the app itself
9+
Disallow: /*.js$
10+
Disallow: /*.map$
11+
12+
# (Javascript) crawlers need to access JS files
13+
Allow: /components/*.js
14+
Allow: /js/*.js

0 commit comments

Comments
 (0)