Skip to content
This repository has been archived by the owner on Jan 23, 2022. It is now read-only.

Commit

Permalink
fix(ngdocs): use correct options for ngdoc files
Browse files Browse the repository at this point in the history
  • Loading branch information
m7r committed Jun 29, 2015
1 parent c8057c3 commit b567294
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/reader.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ var ngdoc = require('./ngdoc.js'),
function process(content, file, section, options) {
if (file.match(/\.ngdoc$/)) {
var header = '@section ' + section + '\n';
exports.docs.push(new ngdoc.Doc(header + content.toString(),file, 1, options).parse());
exports.docs.push(new ngdoc.Doc(header + content.toString(),file, 1, 1, options).parse());
} else {
processJsFile(content, file, section, options).forEach(function(doc) {
exports.docs.push(doc);
Expand Down

0 comments on commit b567294

Please sign in to comment.