Skip to content
This repository was archived by the owner on Oct 27, 2020. It is now read-only.

Configuration is not well defined #1

Closed
SamyPesse opened this issue Jan 11, 2015 · 1 comment
Closed

Configuration is not well defined #1

SamyPesse opened this issue Jan 11, 2015 · 1 comment

Comments

@SamyPesse
Copy link
Contributor

instead of:

{
    "plugins": ["edit-link"],
    "pluginsConfig": {
        "rtEditLinkBase": "https://github.com/USER/REPO/edit/BRANCH/path/to/book",
        "rtEditLinkLabel": "Edit This Page"
    }
}

The configuration should be:

{
    "plugins": ["edit-link"],
    "pluginsConfig": {
        "edit-link": {
            "base": "https://github.com/USER/REPO/edit/BRANCH/path/to/book",
            "label": "Edit This Page"
        }
    }
}

It's cleaner when the book has multiples plugins

@rahul286
Copy link
Member

Thanks @SamyPesse for suggestion. :-)

I updated config and other codes based on what I saw in https://github.com/GitbookIO/plugin-ga

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants