kubernetes-handbook/node_modules/gitbook-plugin-sitemap-general
Jimmy Song c6db5e8fef
add node modules
2021-04-13 00:24:28 +08:00
..
.npmignore add node modules 2021-04-13 00:24:28 +08:00
LICENSE add node modules 2021-04-13 00:24:28 +08:00
README.md add node modules 2021-04-13 00:24:28 +08:00
index.js add node modules 2021-04-13 00:24:28 +08:00
package.json add node modules 2021-04-13 00:24:28 +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/"
        }
    }
}