sitemap-general

README

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/"
        }
    }
}

Configuration

Setting Description Type Allowed values
prefix
required
Prefix of the root url String
-

Plugin

Generate a sitemap for a GitBook with a prefix.

https://github.com/CyberZHG/gitbook-plugin-sitemap-general


Latest: 0.1.1

0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.0.5, 0.0.6, 0.0.7, 0.0.8, 0.0.9, 0.1.0, 0.1.1,

Requirements

GitBook
0.1.1 >=3.0.0-pre.0

Maintainers

Open on NPM