Refactor getReadTheDocsConfig
to use Promise
#286
Merged
getReadTheDocsConfig
to use Promise
#286