Skip to content

Latest commit

 

History

History

gitbook-plugin-sitemap-general

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

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