mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-2764] Added new type linker features and applied them to core docs (#3442)
* [ADF-2764] Added basic support for composite and external types * [ADF-2764] Added new type linker features and applied to core docs
This commit is contained in:
committed by
Eugenio Romano
parent
47d7e59df4
commit
28ba09897e
@@ -66,10 +66,13 @@ function updatePhase(filenames, aggData) {
|
||||
showErrors(pathname, errorMessages);
|
||||
}
|
||||
|
||||
if (modified)
|
||||
if (program.json) {
|
||||
console.log(JSON.stringify(tree));
|
||||
}
|
||||
|
||||
if (modified) {
|
||||
fs.writeFileSync(filenames[i], remark().use(frontMatter, {type: 'yaml', fence: '---'}).data("settings", {paddedTable: false, gfm: false}).stringify(tree));
|
||||
|
||||
//console.log(JSON.stringify(tree));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -128,6 +131,7 @@ function getAllDocFilePaths(docFolder, files) {
|
||||
program
|
||||
.usage("[options] <source>")
|
||||
.option("-p, --profile [profileName]", "Select named config profile", "default")
|
||||
.option("-j, --json", "Output JSON data for Markdown syntax tree")
|
||||
.parse(process.argv);
|
||||
|
||||
var sourcePath;
|
||||
|
Reference in New Issue
Block a user