0.0.6 • Published 6 years ago

gitbook-plugin-common-redirect v0.0.6

Weekly downloads
1
License
Apache 2
Repository
github
Last release
6 years ago

GitBook Common Redirect Plugin

This is a plugin for GitBook since version 2.3.0.

Redirect all requests on your book from a specific origin.

NPM

Usage

Add the plugin to the book setting book.json and set the required options.

Options

  • target - Specify a target origin.
  • redirect - Specify a redirect origin.

Example

{
  "plugins": [
    "common-redirect"
  ],
  "pluginsConfig": {
    "common-redirect": {
      "target": "https://exampleA.com",
      "redirect": "https://exampleB.com"
    }
  }
}

Аfter configuring book.json, run gitbook install to install all added plugins.

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago