Skip to content

Commit 3fe967c

Browse files
committed
Add sitemap
1 parent b0742e2 commit 3fe967c

2 files changed

Lines changed: 74 additions & 0 deletions

File tree

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,12 @@ usage of admonish (which shouldn't be difficult to replace) and the mdBook's
116116
If some other system would provide better features, poring this tutorial to it
117117
shouldn't be that difficult.
118118

119+
### How is `src/sitemap.xml` handled?
120+
None of the sitemap generators I know about don't meet this book's needs.
121+
Because of this, I edit it by hand. The appropriate `<changefreq>` should be
122+
changed when a page is updated. Appropriate `<url>` tags should be added or
123+
removed when pages are added or removed.
124+
119125
## Troubleshooting
120126
### The book doesn't build! I'm getting a mdbook_admonish error!
121127
The following error

src/sitemap.xml

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
3+
<url>
4+
<loc>https://xbps-src-tutorials.github.io/</loc>
5+
<lastmod>2024-03-28T16:05:47+01:00</lastmod>
6+
<priority>1</priority>
7+
<changefreq>weekly</changefreq>
8+
</url>
9+
<url>
10+
<loc>https://xbps-src-tutorials.github.io/package-update-tutorial.html</loc>
11+
<lastmod>2024-03-28T16:05:47+01:00</lastmod>
12+
<priority>0.8</priority>
13+
<changefreq>weekly</changefreq>
14+
</url>
15+
<url>
16+
<loc>https://xbps-src-tutorials.github.io/pr-testing-tutorial.html</loc>
17+
<lastmod>2024-03-28T16:05:47+01:00</lastmod>
18+
<priority>0.8</priority>
19+
<changefreq>weekly</changefreq>
20+
</url>
21+
<url>
22+
<loc>https://xbps-src-tutorials.github.io/troubleshooting.html</loc>
23+
<lastmod>2024-04-01T13:22:25+02:00</lastmod>
24+
<priority>0.7</priority>
25+
<changefreq>weekly</changefreq>
26+
</url>
27+
<url>
28+
<loc>https://xbps-src-tutorials.github.io/tips-and-tricks.html</loc>
29+
<lastmod>2024-04-01T13:22:25+02:00</lastmod>
30+
<priority>0.7</priority>
31+
<changefreq>weekly</changefreq>
32+
</url>
33+
<url>
34+
<loc>https://xbps-src-tutorials.github.io/packaging/j4-dmenu-desktop.html</loc>
35+
<lastmod>2024-03-22T21:44:20+01:00</lastmod>
36+
<changefreq>weekly</changefreq>
37+
</url>
38+
<url>
39+
<loc>https://xbps-src-tutorials.github.io/packaging/bat.html</loc>
40+
<lastmod>2024-03-22T21:31:43+01:00</lastmod>
41+
<changefreq>weekly</changefreq>
42+
</url>
43+
<url>
44+
<loc>https://xbps-src-tutorials.github.io/packaging/oniguruma.html</loc>
45+
<lastmod>2024-03-22T18:14:44+01:00</lastmod>
46+
<changefreq>weekly</changefreq>
47+
</url>
48+
<url>
49+
<loc>https://xbps-src-tutorials.github.io/packaging/rofimoji.html</loc>
50+
<lastmod>2024-03-22T18:14:44+01:00</lastmod>
51+
<changefreq>weekly</changefreq>
52+
</url>
53+
<url>
54+
<loc>https://xbps-src-tutorials.github.io/packaging/contributing.html</loc>
55+
<lastmod>2024-03-22T21:31:43+01:00</lastmod>
56+
<changefreq>weekly</changefreq>
57+
</url>
58+
<url>
59+
<loc>https://xbps-src-tutorials.github.io/mini-tutors/completions.html</loc>
60+
<lastmod>2024-03-22T21:31:43+01:00</lastmod>
61+
<changefreq>weekly</changefreq>
62+
</url>
63+
<url>
64+
<loc>https://xbps-src-tutorials.github.io/mini-tutors/git-submodules.html</loc>
65+
<lastmod>2024-03-22T18:14:44+01:00</lastmod>
66+
<changefreq>weekly</changefreq>
67+
</url>
68+
</urlset>

0 commit comments

Comments
 (0)