From 1762047bc0c6de1254ed56019521933d837bb5a8 Mon Sep 17 00:00:00 2001 From: Peter Bacon Darwin Date: Mon, 24 Apr 2017 17:37:07 +0100 Subject: [PATCH] build(aio): fix other dgeni templates The function and interface templates were overriding the wrong block. --- aio/tools/transforms/templates/cheatsheet.template.json | 5 ----- aio/tools/transforms/templates/function.template.html | 2 +- aio/tools/transforms/templates/interface.template.html | 2 +- 3 files changed, 2 insertions(+), 7 deletions(-) delete mode 100644 aio/tools/transforms/templates/cheatsheet.template.json diff --git a/aio/tools/transforms/templates/cheatsheet.template.json b/aio/tools/transforms/templates/cheatsheet.template.json deleted file mode 100644 index 72077d8ee3..0000000000 --- a/aio/tools/transforms/templates/cheatsheet.template.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "currentEnvironment": {$ doc.currentEnvironment | json | trim $}, - "version": {$ doc.version.currentVersion | json | indent(2) | trim $}, - "sections": {$ doc.sections | json | indent(2) | trim $} -} \ No newline at end of file diff --git a/aio/tools/transforms/templates/function.template.html b/aio/tools/transforms/templates/function.template.html index ab3663e1b7..bde4ecf1f3 100644 --- a/aio/tools/transforms/templates/function.template.html +++ b/aio/tools/transforms/templates/function.template.html @@ -1,6 +1,6 @@ {% import "lib/paramList.html" as params -%} {% extends 'layout/api-base.template.html' -%} -{% block main %} +{% block details %} {% include "includes/_description.html" %} {% endblock %} \ No newline at end of file diff --git a/aio/tools/transforms/templates/interface.template.html b/aio/tools/transforms/templates/interface.template.html index b176df5955..1ed21de37f 100644 --- a/aio/tools/transforms/templates/interface.template.html +++ b/aio/tools/transforms/templates/interface.template.html @@ -1,7 +1,7 @@ {% import "lib/paramList.html" as params -%} {% extends 'layout/api-base.template.html' -%} -{% block main %} +{% block details %} {% include "includes/_interface-overview.html" %} {% include "includes/_description.html" %} {% include "includes/_members.html" %}