build(aio): remove unused config code

This commit is contained in:
Peter Bacon Darwin 2017-04-14 19:28:00 +01:00 committed by Pete Bacon Darwin
parent 49d97e1216
commit 16673fa38b
1 changed files with 1 additions and 7 deletions

View File

@ -207,7 +207,7 @@ module.exports =
// Configure nunjucks rendering of docs via templates
.config(function(
renderDocsProcessor, versionInfo, templateFinder, templateEngine, getInjectables, renderMarkdown) {
renderDocsProcessor, versionInfo, templateFinder, templateEngine, getInjectables) {
// Where to find the templates for the doc rendering
templateFinder.templateFolders = [TEMPLATES_PATH];
@ -234,12 +234,6 @@ module.exports =
renderDocsProcessor.helpers.relativePath = function(from, to) {
return path.relative(from, to);
};
// Tell the HTML formatter not to format code-example blocks
renderMarkdown.unformattedTags = [
'code-example',
'code-pane'
];
})