Transition to JSD
This commit is contained in:
parent
cc2a2c9e05
commit
0739444f87
68 changed files with 404 additions and 5458 deletions
|
|
@ -5,6 +5,7 @@ var srcPath = __dirname + "/../lib/ace";
|
|||
|
||||
var options = {
|
||||
title : "Ace API",
|
||||
parseType : "jsd",
|
||||
linkFormat : function(linkHtml) {
|
||||
var href = linkHtml.href;
|
||||
var o = href.match(/(.+)\.html(#.+)/);
|
||||
|
|
@ -32,7 +33,7 @@ var options = {
|
|||
skin : "./resources/ace/templates/layout.jade",
|
||||
assets : "./resources/ace/skeleton",
|
||||
additionalObjs : "./additionalObjs.json",
|
||||
exclude : ["**/*_test.js", "**/mode/**", "**/test/**", "**/theme/**", "**/worker/**"],
|
||||
exclude : ["**/*_test.js", "**/mode/**", "default_commands.js", "multi_select_commands.js", "**/test/**", "**/theme/**", "**/worker/**"],
|
||||
index : "./index.md",
|
||||
disableTests: true
|
||||
};
|
||||
|
|
@ -45,7 +46,7 @@ panino.parse(files, options, function (err, ast) {
|
|||
process.exit(1);
|
||||
}
|
||||
|
||||
panino.render('html', ast, options, function (err) {
|
||||
panino.render('json', ast, options, function (err) {
|
||||
if (err) {
|
||||
console.error(err);
|
||||
process.exit(1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue