honkit-plugin-sitemap

1.0.2 • Public • Published

Sitemap Generator for Honkit

Generate a sitemap for the Honkit Documentation. The output sitemap file is sitemap.xml and copied automatically.

This updates some older versions of this plugin from Gitbook to the modern era.

Install

npm install honkit-plugin-sitemap --save-dev

Usage

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

{
    "plugins": ["sitemap"],
    "pluginsConfig": {
        "sitemap": {
            "url": "https://example.com"
        }
    }
}

If you use a prefix for your domain use...

"pluginsConfig": {
    "sitemap": {
        "url": "https://example.com",
        "pathSuffix": "/yourSuffix/"
    }
}

Readme

Keywords

Package Sidebar

Install

npm i honkit-plugin-sitemap

Weekly Downloads

1

Version

1.0.2

License

Apache-2.0

Unpacked Size

3.46 kB

Total Files

4

Last publish

Collaborators

  • stuyk