Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite0a5434

Browse files
committed
ENH: add sitemap to robots.txt
1 parent1051ec9 commite0a5434

File tree

1 file changed

+19
-5
lines changed

1 file changed

+19
-5
lines changed

‎robots.txt

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,27 @@
1+
# Docs: https://developers.google.com/search/docs/advanced/robots/intro
2+
# Note old files will still be indexed if they have links to them,
3+
# hopefully they are weighted less...
4+
15
User-agent:*
6+
7+
# do not search root directory by default.
28
Disallow:/
3-
Disallow:/examples/ # outdated location. Current examples are in /gallery/.
4-
Allow:/cmocean/
5-
Allow:/mpl-probscale/
6-
Allow:/mpl_toolkits/
7-
Allow:/xkcd/
9+
10+
# but allow some subdirectories:
811
Allow:/stable/
12+
13+
# versions should be searched. Note sitemap.xml downweights them...
914
Allow:/5.*/
1015
Allow:/4.*/
1116
Allow:/3.*/
1217
Allow:/2.*/
1318
Allow:/1.*/
19+
20+
# packages that should still be searched:
21+
Allow:/cmocean/
22+
Allow:/mpl-probscale/
23+
Allow:/mpl_toolkits/
24+
Allow:/xkcd/
25+
26+
# tell robots this is sitemap
27+
Sitemap:https://matplotlib.org/sitemap.xml

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp