kubernetes-handbook/gitbook-plugin-sitemap-general
Jimmy Song 1a5e3f08c0
update plugin
2022-02-22 15:54:51 +08:00
..
.npmignore update plugin 2022-02-22 15:54:51 +08:00
LICENSE update plugin 2022-02-22 15:54:51 +08:00
README.md update plugin 2022-02-22 15:54:51 +08:00
index.js update plugin 2022-02-22 15:54:51 +08:00
package.json update plugin 2022-02-22 15:54:51 +08:00

README.md

Sitemap for GitBook

npm npm npm

Generate a sitemap for the gitbook website in ./sitemap.xml.

Instead of using only the hostname part of the given config, this plugin uses the prefix of the urls.

Add it to your book.json with a basic configuration:

{
    "plugins": ["sitemap-general"],
    "pluginsConfig": {
        "sitemap-general": {
            "prefix": "https://cyberzhg.gitbooks.io/clrs/content/"
        }
    }
}