1
0
mirror of https://github.com/ruanyf/es6tutorial.git synced 2025-05-24 02:02:21 +00:00
es6tutorial/config.js
2015-12-14 21:43:59 +08:00

27 lines
539 B
JavaScript

var CONFIG = {
// your website's title
document_title: "ECMAScript 6入门",
// index page
index: "README.md",
// sidebar file
sidebar_file: "sidebar.md",
// where the docs are actually stored on github - so you can edit
base_url: "https://github.com/ruanyf/es6tutorial/edit/gh-pages",
};
// **************************
// DON'T EDIT FOLLOWING CODES
// **************************
addConfig(ditto, CONFIG);
function addConfig(obj, conf) {
Object.keys(conf).forEach(function (key) {
obj[key] = conf[key];
});
}