Gitbook | Treeview

918 阅读1分钟
原文链接: github.com

Pay GitHub issues GitHub license Gitter

npm Build Status devDependency Status npm

a gitbook-plugin for generating a treeview for each page.

Installation

add the following plugins to your book.json and run gitbook install

{
    "plugins": ["page-treeview"]
}

Usage

just find plugin on gitbook and install it on your gitbook project.

configuration option can be set as an obj like, and of course you can use a default value shown as followed:

{
    "plugins": [
        "page-treeview"
    ],
    "pluginsConfig": {
        "page-treview": {
            "style": "markdown",
            "copyright": "Copyright © aleen42"
        }
    }
}

Tests

Release History

  • ==================== 1.0.0 Initial release ====================
    • 1.5.7 release version
    • 1.5.8 fix bugs
    • 1.5.9 fix bugs of chinese
    • 1.6.1 fix bugs of text indent in markdown style
    • 1.6.9 fix bugs
    • 1.8.0 fix bugs
    • 1.8.3 fix bugs
  • ==================== 2.0.0 Style release ====================
    • 2.0.1 update style
    • 2.0.2 update style
    • 2.0.5 update style
    • 2.0.6 update style
    • 2.0.7 update readme
    • 2.1.3 fix bugs

⛽ How to contribute

Have an idea? Found a bug? See how to contribute.

📜 License

MIT © aleen42