build(aio): remove unused config code
This commit is contained in:
parent
49d97e1216
commit
16673fa38b
|
@ -207,7 +207,7 @@ module.exports =
|
||||||
|
|
||||||
// Configure nunjucks rendering of docs via templates
|
// Configure nunjucks rendering of docs via templates
|
||||||
.config(function(
|
.config(function(
|
||||||
renderDocsProcessor, versionInfo, templateFinder, templateEngine, getInjectables, renderMarkdown) {
|
renderDocsProcessor, versionInfo, templateFinder, templateEngine, getInjectables) {
|
||||||
|
|
||||||
// Where to find the templates for the doc rendering
|
// Where to find the templates for the doc rendering
|
||||||
templateFinder.templateFolders = [TEMPLATES_PATH];
|
templateFinder.templateFolders = [TEMPLATES_PATH];
|
||||||
|
@ -234,12 +234,6 @@ module.exports =
|
||||||
renderDocsProcessor.helpers.relativePath = function(from, to) {
|
renderDocsProcessor.helpers.relativePath = function(from, to) {
|
||||||
return path.relative(from, to);
|
return path.relative(from, to);
|
||||||
};
|
};
|
||||||
|
|
||||||
// Tell the HTML formatter not to format code-example blocks
|
|
||||||
renderMarkdown.unformattedTags = [
|
|
||||||
'code-example',
|
|
||||||
'code-pane'
|
|
||||||
];
|
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue