From afd25446d23f24872eb20ac79c8fbd2cff203ef0 Mon Sep 17 00:00:00 2001 From: Misko Hevery Date: Tue, 10 Jan 2012 13:46:49 -0800 Subject: feat(ngdocs): support for interface documentation --- docs/src/templates/docs.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'docs/src/templates') diff --git a/docs/src/templates/docs.js b/docs/src/templates/docs.js index 3a02e990..6b76a953 100644 --- a/docs/src/templates/docs.js +++ b/docs/src/templates/docs.js @@ -49,7 +49,9 @@ function DocsController($location, $window, $cookies, $filter) { }; scope.getCurrentPartial = function() { - return this.partialId ? ('./partials/' + this.sectionId + '/' + this.partialId + '.html') : ''; + return this.partialId + ? ('./partials/' + this.sectionId + '/' + this.partialId.replace('angular.Module', 'angular.IModule') + '.html') + : ''; }; scope.getClass = function(page) { -- cgit v1.2.3