Added support for octopress-config option and docs_mode