Skip to content
This repository has been archived by the owner on Apr 5, 2021. It is now read-only.

Commit

Permalink
Merge pull request #37 from A-Tokyo/development
Browse files Browse the repository at this point in the history
documentation is now beautified
  • Loading branch information
a-tokyo committed Feb 8, 2017
2 parents b55cf09 + 648fa1e commit fab0038
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion generators/component/src/files.js
Expand Up @@ -115,7 +115,7 @@ module.exports = function(AngularATGenerator) {
};
docsJSON.components[jsonQuery('components[path=' + pathAsArray.slice(0, -1).join('/') + ']', {data: docsJSON}).key].components.push(componentDocForeignKeyJSON);
}
jsonfile.writeFile(file, docsJSON, function(err) {}.bind(this));
jsonfile.writeFile(file, docsJSON, {spaces: 2}, function(err) {}.bind(this));
}.bind(this));
}
};
Expand Down
2 changes: 1 addition & 1 deletion generators/directive/src/files.js
Expand Up @@ -97,7 +97,7 @@ module.exports = function(AngularATGenerator) {
};
docsJSON.components[jsonQuery('components[path=' + parentPath + ']', {data: docsJSON}).key].directives.push(directiveDocForeignKeyJSON);
}
jsonfile.writeFile(file, docsJSON, function(err) {}.bind(this));
jsonfile.writeFile(file, docsJSON, {spaces: 2}, function(err) {}.bind(this));
}.bind(this));
}

Expand Down
2 changes: 1 addition & 1 deletion generators/page/src/files.js
Expand Up @@ -59,7 +59,7 @@ module.exports = function(AngularATGenerator) {
"description": descriptionForDocs
};
docsJSON.pages.push(pageDocJSON);
jsonfile.writeFile(file, docsJSON, function(err) {}.bind(this));
jsonfile.writeFile(file, docsJSON, {spaces: 2}, function(err) {}.bind(this));
}.bind(this));
}
};
Expand Down
2 changes: 1 addition & 1 deletion generators/service/src/files.js
Expand Up @@ -88,7 +88,7 @@ module.exports = function(AngularATGenerator) {
};
docsJSON.components[jsonQuery('components[path=' + parentPath + ']', {data: docsJSON}).key].services.push(serviceDocForeignKeyJSON);
}
jsonfile.writeFile(file, docsJSON, function(err) {}.bind(this));
jsonfile.writeFile(file, docsJSON, {spaces: 2}, function(err) {}.bind(this));
}.bind(this));
}
};
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "generator-at-angular",
"version": "0.4.0",
"version": "0.4.1",
"description": "Yeoman angular application generator thet uses Webpack, SASS, UI router, Karma and Jasmine for testing, and auto generated docs.",
"homepage": "http://a-tokyo.github.io/generator-at-angular/",
"author": {
Expand Down

0 comments on commit fab0038

Please sign in to comment.