grunt-ngdocs
Advanced tools
Comparing version 0.1.5 to 0.1.6
@@ -0,1 +1,20 @@ | ||
# 0.1.6 (2013-08-01) | ||
## Features | ||
### docs | ||
* optimize sidebar & breadcrum style ([6947ed47](https://github.com/m7r/grunt-ngdocs/commit/6947ed47)) | ||
* smaller font size for headings ([a1a8eb5b](https://github.com/m7r/grunt-ngdocs/commit/a1a8eb5b)) | ||
## Bug fixes | ||
### docs | ||
* show section in breadcrum ([4c1dd72f](https://github.com/m7r/grunt-ngdocs/commit/4c1dd72f)) | ||
# 0.1.5 (2013-07-30) | ||
@@ -10,2 +29,3 @@ | ||
# 0.1.4 (2013-07-29) | ||
@@ -12,0 +32,0 @@ |
{ | ||
"name": "grunt-ngdocs", | ||
"version": "0.1.5", | ||
"version": "0.1.6", | ||
"description": "grunt plugin for angularjs documentation", | ||
@@ -5,0 +5,0 @@ "main": "tasks", |
@@ -142,2 +142,4 @@ #grunt-ngdocs | ||
After an update of grunt-ngdocs you should clean the docs folder too. | ||
A doc commet looks like this: | ||
@@ -171,3 +173,7 @@ ```js | ||
##Batarang | ||
If your examples are empty you maybe have batarang enabled for the docs site. | ||
This is the same issue as on http://docs.angular.js and the batarang team is informed about it #68. | ||
##License | ||
MIT License |
@@ -298,2 +298,3 @@ var docsApp = { | ||
return { | ||
first: this.$first, | ||
last: this.$last, | ||
@@ -356,3 +357,3 @@ active: page1 && this.currentPage == page1 || page2 && this.currentPage == page2 | ||
if (partialId) { | ||
breadcrumb.push({ name: NG_DOCS.sections[sectionName], url: sectionPath }); | ||
breadcrumb.push({ name: sectionName, url: sectionPath }); | ||
if (partialId == 'angular.Module') { | ||
@@ -394,3 +395,3 @@ breadcrumb.push({ name: 'angular.Module' }); | ||
} else { | ||
breadcrumb.push({ name: NG_DOCS.sections[sectionName] }); | ||
breadcrumb.push({ name: sectionName }); | ||
} | ||
@@ -397,0 +398,0 @@ }); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
695600
9239
178