Noamyoungerm/gitbook-plugin-json-sidebar


Adds a sidebar.json file to gitbook output with the content of the navigation bar

License: Apache-2.0

Language: JavaScript


GitBook Sample Plugin

Gitbook plugin json-sidebar

This plugin creates a file sidebar.json that contains all chapters.

No configuration options.

Sample output:

  [{
    "index": 0,
    "title": "User Guide",
    "introduction": true,
    "next": {
      "path": "User Guide/Getting Started/Getting_Started.md",
      "title": "Getting Started",
      "level": "1",
      "exists": true,
      "external": false,
      "introduction": false
    },
    "level": "0",
    "path": "README.md",
    "percent": 0,
    "done": true
  }, {
    "index": 1,
    "title": "Getting Started",
    "introduction": false,
    "prev": {
      "path": "README.md",
      "title": "User Guide",
      "level": "0",
      "exists": true,
      "external": false,
      "introduction": true
    },
    "level": "1",
    "path": "User Guide/Getting Started/Getting_Started.md",
    "percent": 100,
    "done": true
  }]

Project Statistics

Sourcerank 3
Repository Size 5.86 KB
Stars 0
Forks 0
Watchers 1
Open issues 0
Dependencies 0
Contributors 2
Tags 0
Created
Last updated
Last pushed

Top Contributors See all

Samy Pessé Noam Youngerman

Packages Referencing this Repo

gitbook-plugin-json-sidebar
Adds a sidebar.json file to gitbook output with the content of the navigation bar
Latest release 0.1.0 - Published

Something wrong with this page? Make a suggestion

Last synced: 2016-05-28 04:41:59 UTC

Login to resync this repository