Skip to content

Commit

Permalink
allow some tags to be optionally suppressed
Browse files Browse the repository at this point in the history
  • Loading branch information
seiyria committed Jan 25, 2015
1 parent fe6c0f8 commit c713eae
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "doks",
"version": "0.3.0",
"version": "0.3.3",
"description": "A configurable, bring-your-own-template documentation generator aimed for user and developer documentation based on source code.",
"main": "lib/index.js",
"bin": {
Expand Down
1 change: 1 addition & 0 deletions themes/bootstrap-angular/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
},
"content": {
"showFileLabels": true,
"suppressProps": ["category","name","package"],
"sourceLink": "https://github.com/kellyirc/doks/tree/master/%filePath#L%lineNumber-L%endLineNumber"
}
}
Expand Down
2 changes: 1 addition & 1 deletion themes/bootstrap-angular/views/main-content.html
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@
<div class="row more-padding-top">
<div class="col-md-12">
<ul class="no-prefix">
<li ng-repeat="tag in mainObj._props track by $index" class="tag-data">
<li ng-repeat="tag in mainObj._props track by $index" class="tag-data" ng-if="config.options.content.suppressProps.indexOf(tag.name) === -1">
<div class="tag-simple-properties">
<span class="tag-data-symbol"></span><span>{{tag.name}}</span>
<span class="tag-data-type badge badge-default" ng-if="tag.value && tag.value.type">({{tag.value.type}})</span>
Expand Down

0 comments on commit c713eae

Please sign in to comment.