1
0
mirror of https://github.com/ruanyf/es6tutorial.git synced 2025-05-24 10:22:23 +00:00
es6tutorial/config.js
2018-07-24 11:06:49 +08:00

28 lines
552 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];
});
}
ditto.run();