kubernetes-handbook/node_modules/gitbook-plugin-editlink
Jimmy Song c6db5e8fef
add node modules
2021-04-13 00:24:28 +08:00
..
book add node modules 2021-04-13 00:24:28 +08:00
.npmignore add node modules 2021-04-13 00:24:28 +08:00
LICENSE add node modules 2021-04-13 00:24:28 +08:00
README.md add node modules 2021-04-13 00:24:28 +08:00
index.js add node modules 2021-04-13 00:24:28 +08:00
package.json add node modules 2021-04-13 00:24:28 +08:00

README.md

gitbook-plugin-editlink

GitBook Plugin to add "Edit this page" link on every page. Link target will be that page's source file on Github or any repo.

{
  "plugins": ["editlink"],
  "pluginsConfig": {
    "editlink": {
      "base": "https://github.com/zhaoda/webpack-handbook/edit/master/content",
      "label": "Edit This Page",
      "multilingual": false
    }
  }
}

If you are using multiple languages in gitbook, set label like this:

{
    "label": {
        "en": "Edit This Page",
        "zh-cn": "编辑本页"
    }
}

Then run gitbook install to download and install the plugin.