Move config to API docs
Merge pull request #1087 from batmanjs/config-docs

Move config to API docs