adding -doc for plugins
Merge pull request #85 from lzap/discovery

adding -doc for plugins