Skip to content

Commit

Permalink
Add sitemap
Browse files Browse the repository at this point in the history
  • Loading branch information
meator committed Apr 1, 2024
1 parent b0742e2 commit 3fe967c
Show file tree
Hide file tree
Showing 2 changed files with 74 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,12 @@ usage of admonish (which shouldn't be difficult to replace) and the mdBook's
If some other system would provide better features, poring this tutorial to it
shouldn't be that difficult.

### How is `src/sitemap.xml` handled?
None of the sitemap generators I know about don't meet this book's needs.
Because of this, I edit it by hand. The appropriate `<changefreq>` should be
changed when a page is updated. Appropriate `<url>` tags should be added or
removed when pages are added or removed.

## Troubleshooting
### The book doesn't build! I'm getting a mdbook_admonish error!
The following error
Expand Down
68 changes: 68 additions & 0 deletions src/sitemap.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://xbps-src-tutorials.github.io/</loc>
<lastmod>2024-03-28T16:05:47+01:00</lastmod>
<priority>1</priority>
<changefreq>weekly</changefreq>
</url>
<url>
<loc>https://xbps-src-tutorials.github.io/package-update-tutorial.html</loc>
<lastmod>2024-03-28T16:05:47+01:00</lastmod>
<priority>0.8</priority>
<changefreq>weekly</changefreq>
</url>
<url>
<loc>https://xbps-src-tutorials.github.io/pr-testing-tutorial.html</loc>
<lastmod>2024-03-28T16:05:47+01:00</lastmod>
<priority>0.8</priority>
<changefreq>weekly</changefreq>
</url>
<url>
<loc>https://xbps-src-tutorials.github.io/troubleshooting.html</loc>
<lastmod>2024-04-01T13:22:25+02:00</lastmod>
<priority>0.7</priority>
<changefreq>weekly</changefreq>
</url>
<url>
<loc>https://xbps-src-tutorials.github.io/tips-and-tricks.html</loc>
<lastmod>2024-04-01T13:22:25+02:00</lastmod>
<priority>0.7</priority>
<changefreq>weekly</changefreq>
</url>
<url>
<loc>https://xbps-src-tutorials.github.io/packaging/j4-dmenu-desktop.html</loc>
<lastmod>2024-03-22T21:44:20+01:00</lastmod>
<changefreq>weekly</changefreq>
</url>
<url>
<loc>https://xbps-src-tutorials.github.io/packaging/bat.html</loc>
<lastmod>2024-03-22T21:31:43+01:00</lastmod>
<changefreq>weekly</changefreq>
</url>
<url>
<loc>https://xbps-src-tutorials.github.io/packaging/oniguruma.html</loc>
<lastmod>2024-03-22T18:14:44+01:00</lastmod>
<changefreq>weekly</changefreq>
</url>
<url>
<loc>https://xbps-src-tutorials.github.io/packaging/rofimoji.html</loc>
<lastmod>2024-03-22T18:14:44+01:00</lastmod>
<changefreq>weekly</changefreq>
</url>
<url>
<loc>https://xbps-src-tutorials.github.io/packaging/contributing.html</loc>
<lastmod>2024-03-22T21:31:43+01:00</lastmod>
<changefreq>weekly</changefreq>
</url>
<url>
<loc>https://xbps-src-tutorials.github.io/mini-tutors/completions.html</loc>
<lastmod>2024-03-22T21:31:43+01:00</lastmod>
<changefreq>weekly</changefreq>
</url>
<url>
<loc>https://xbps-src-tutorials.github.io/mini-tutors/git-submodules.html</loc>
<lastmod>2024-03-22T18:14:44+01:00</lastmod>
<changefreq>weekly</changefreq>
</url>
</urlset>

0 comments on commit 3fe967c

Please sign in to comment.