From 86d0074386dfcdb65ff3f84f47405bb1e5622fc7 Mon Sep 17 00:00:00 2001 From: Andreas Hocevar Date: Tue, 15 Aug 2017 19:17:06 -0400 Subject: [PATCH] Print ES6 import hint on each doc page --- config/jsdoc/api/template/tmpl/container.tmpl | 81 +++++++++++-------- 1 file changed, 47 insertions(+), 34 deletions(-) diff --git a/config/jsdoc/api/template/tmpl/container.tmpl b/config/jsdoc/api/template/tmpl/container.tmpl index 065f0c6dd1..5a41fdf963 100644 --- a/config/jsdoc/api/template/tmpl/container.tmpl +++ b/config/jsdoc/api/template/tmpl/container.tmpl @@ -10,40 +10,53 @@
- +

+
+ a.replace(/>\./g, '>').replace(/\. +
import  from '';
+
-
+
- +
- + - +

Example 1? 's':'' ?>

- + -1; @@ -60,52 +73,52 @@

Extends

- +
- +

Mixes In

- +
- +

Requires

- +
- +

Classes

- +
- +

Namespaces

- +
- + @@ -116,32 +129,32 @@

Members

- +
- +

Methods

- +
- +

Type Definitions

- +
@@ -155,20 +168,20 @@ } }); ?>
- +

Events

- +
-
+