1.0.2 • Published 11 months ago

gitbook-plugin-docsearch-v3 v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

DocSearch v3 plugin for HonKit / GitBook legacy

Installation

Using HonKit

npm install gitbook-plugin-docsearch-v3 --save-dev

Using GitBook Legacy

Follow the steps under Usage section, then run the following command:

gitbook install

Usage

Apply on https://docsearch.algolia.com/, to get free Algolia DocSearch credentials. Then On book.json, do the following steps:

  • Disable the search and lunr plugins (by adding - prefix on the plugin name).
  • Add the docsearch-v3 plugin.
  • specify your DocSearch credentials under pluginsConfig.docsearch.
{
    "plugins": [
        "-search",
        "-lunr",
        "docsearch-v3"
    ],
    "pluginsConfig": {
        "docsearch": {
            "appId": "<your-appId>",
            "apiKey": "<your-apiKey>",
            "indexName": "<your-indexName>"
        }
    }
}

License

MIT License

Author

Noval Agung Prayogo

1.0.2

11 months ago

1.0.1

11 months ago

0.0.0

11 months ago

1.0.0

11 months ago