Skip to content

Commit 2e58930

Browse files
committed
Add robots.txt and sitemap.xml
1 parent a1d9c8c commit 2e58930

File tree

2 files changed

+48
-0
lines changed

2 files changed

+48
-0
lines changed

robots.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
User-agent: *
2+
Disallow: /the-rust-programming-language-ja/1.6/
3+
Disallow: /the-rust-programming-language-ja/1.9/
4+
Allow: /the-rust-programming-language-ja/1.6/book/
5+
Allow: /the-rust-programming-language-ja/1.6/book/
6+
Sitemap: https://doc.rust-jp.rs/sitemap.xml

sitemap.xml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<urlset
3+
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
4+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5+
xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
6+
http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
7+
<url>
8+
<loc>https://doc.rust-jp.rs/</loc>
9+
<changefreq>daily</changefreq>
10+
<priority>1.00</priority>
11+
</url>
12+
<url>
13+
<loc>https://doc.rust-jp.rs/book/second-edition/</loc>
14+
<changefreq>weekly</changefreq>
15+
<priority>0.80</priority>
16+
</url>
17+
<url>
18+
<loc>https://doc.rust-jp.rs/rust-by-example-ja/</loc>
19+
<changefreq>monthly</changefreq>
20+
<priority>0.80</priority>
21+
</url>
22+
<url>
23+
<loc>https://doc.rust-jp.rs/edition-guide/</loc>
24+
<changefreq>weekly</changefreq>
25+
<priority>0.80</priority>
26+
</url>
27+
<url>
28+
<loc>https://doc.rust-jp.rs/rust-nomicon-ja/</loc>
29+
<changefreq>monthly</changefreq>
30+
<priority>0.80</priority>
31+
</url>
32+
<url>
33+
<loc>https://doc.rust-jp.rs/the-rust-programming-language-ja/1.9/book/</loc>
34+
<changefreq>monthly</changefreq>
35+
<priority>0.60</priority>
36+
</url>
37+
<url>
38+
<loc>https://doc.rust-jp.rs/the-rust-programming-language-ja/1.6/book/</loc>
39+
<changefreq>monthly</changefreq>
40+
<priority>0.40</priority>
41+
</url>
42+
</urlset>

0 commit comments

Comments
 (0)