clean-jsdoc-theme 3.2.9 → 3.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. package/.eslintignore +4 -4
  2. package/.eslintrc.js +3 -3
  3. package/.github/ISSUE_TEMPLATE/bug_report.md +43 -43
  4. package/.github/ISSUE_TEMPLATE/feature_request.md +27 -27
  5. package/.github/pull_request_template.md +16 -16
  6. package/.github/workflows/codeql-analysis.yml +67 -67
  7. package/.prettierignore +2 -2
  8. package/.prettierrc +5 -5
  9. package/.stylelintignore +3 -3
  10. package/.stylelintrc +23 -23
  11. package/.travis.yml +30 -30
  12. package/CHANGELOG.md +216 -191
  13. package/CODE_OF_CONDUCT.md +76 -76
  14. package/CODE_OF_CONDUCT_HINDI.md +46 -46
  15. package/CONTRIBUTING.md +24 -24
  16. package/LICENSE +21 -21
  17. package/README.md +546 -510
  18. package/SECURITY.md +21 -21
  19. package/helpers/down-arrow.js +9 -9
  20. package/jsdoc-config.json +60 -59
  21. package/package.json +46 -46
  22. package/publish.js +1196 -948
  23. package/static/fonts/Montserrat-Regular.ttf +0 -0
  24. package/static/fonts/OFL-hind.txt +0 -0
  25. package/static/fonts/OFL-montserrat.txt +0 -0
  26. package/static/scripts/fix-code-block.js +53 -53
  27. package/static/scripts/fix-navbar.js +25 -25
  28. package/static/scripts/linenumber.js +25 -25
  29. package/static/scripts/misc.js +217 -217
  30. package/static/scripts/resize.js +85 -85
  31. package/static/scripts/search.js +83 -83
  32. package/static/scripts/third-party/Apache-License-2.0.txt +202 -202
  33. package/static/scripts/third-party/fuse.js +8 -8
  34. package/static/scripts/third-party/lang-css.js +2 -2
  35. package/static/scripts/third-party/prettify.js +28 -28
  36. package/static/styles/clean-jsdoc-theme-base.css +393 -393
  37. package/static/styles/clean-jsdoc-theme-dark.css +324 -324
  38. package/static/styles/clean-jsdoc-theme-light.css +319 -319
  39. package/static/styles/reset.css +351 -346
  40. package/static/styles/third-party/ionicons.min.css +11 -11
  41. package/static/styles/third-party/prettify-jsdoc.css +111 -111
  42. package/static/styles/third-party/prettify-tomorrow.css +5 -5
  43. package/tmpl/augments.tmpl +10 -10
  44. package/tmpl/container.tmpl +189 -189
  45. package/tmpl/details.tmpl +208 -209
  46. package/tmpl/example.tmpl +3 -3
  47. package/tmpl/examples.tmpl +38 -38
  48. package/tmpl/exceptions.tmpl +32 -32
  49. package/tmpl/icons.tmpl +34 -34
  50. package/tmpl/layout.tmpl +165 -171
  51. package/tmpl/mainpage.tmpl +10 -10
  52. package/tmpl/members.tmpl +43 -43
  53. package/tmpl/method.tmpl +140 -140
  54. package/tmpl/params.tmpl +124 -124
  55. package/tmpl/properties.tmpl +109 -109
  56. package/tmpl/returns.tmpl +18 -18
  57. package/tmpl/source.tmpl +7 -7
  58. package/tmpl/tutorial.tmpl +19 -19
  59. package/tmpl/type.tmpl +6 -6
package/tmpl/icons.tmpl CHANGED
@@ -1,35 +1,35 @@
1
- <svg aria-hidden="true" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
2
- style="display:none">
3
- <defs>
4
- <symbol id="copy-icon" viewbox="0 0 488.3 488.3">
5
- <g>
6
- <path
7
- d="M314.25,85.4h-227c-21.3,0-38.6,17.3-38.6,38.6v325.7c0,21.3,17.3,38.6,38.6,38.6h227c21.3,0,38.6-17.3,38.6-38.6V124 C352.75,102.7,335.45,85.4,314.25,85.4z M325.75,449.6c0,6.4-5.2,11.6-11.6,11.6h-227c-6.4,0-11.6-5.2-11.6-11.6V124 c0-6.4,5.2-11.6,11.6-11.6h227c6.4,0,11.6,5.2,11.6,11.6V449.6z" />
8
- <path
9
- d="M401.05,0h-227c-21.3,0-38.6,17.3-38.6,38.6c0,7.5,6,13.5,13.5,13.5s13.5-6,13.5-13.5c0-6.4,5.2-11.6,11.6-11.6h227 c6.4,0,11.6,5.2,11.6,11.6v325.7c0,6.4-5.2,11.6-11.6,11.6c-7.5,0-13.5,6-13.5,13.5s6,13.5,13.5,13.5c21.3,0,38.6-17.3,38.6-38.6 V38.6C439.65,17.3,422.35,0,401.05,0z" />
10
- </g>
11
- </symbol>
12
- <symbol id='search-icon' viewBox="0 0 512 512">
13
- <g>
14
- <g>
15
- <path
16
- d="M225.474,0C101.151,0,0,101.151,0,225.474c0,124.33,101.151,225.474,225.474,225.474 c124.33,0,225.474-101.144,225.474-225.474C450.948,101.151,349.804,0,225.474,0z M225.474,409.323 c-101.373,0-183.848-82.475-183.848-183.848S124.101,41.626,225.474,41.626s183.848,82.475,183.848,183.848 S326.847,409.323,225.474,409.323z" />
17
- </g>
18
- </g>
19
- <g>
20
- <g>
21
- <path
22
- d="M505.902,476.472L386.574,357.144c-8.131-8.131-21.299-8.131-29.43,0c-8.131,8.124-8.131,21.306,0,29.43l119.328,119.328 c4.065,4.065,9.387,6.098,14.715,6.098c5.321,0,10.649-2.033,14.715-6.098C514.033,497.778,514.033,484.596,505.902,476.472z" />
23
- </g>
24
- </g>
25
- </symbol>
26
- <symbol id="down-icon" viewBox="0 0 16 16">
27
- <path
28
- fill-rule="evenodd"
29
- clip-rule="evenodd"
30
- d="M12.7803 6.21967C13.0732 6.51256 13.0732 6.98744 12.7803 7.28033L8.53033 11.5303C8.23744 11.8232 7.76256 11.8232 7.46967 11.5303L3.21967 7.28033C2.92678 6.98744 2.92678 6.51256 3.21967 6.21967C3.51256 5.92678 3.98744 5.92678 4.28033 6.21967L8 9.93934L11.7197 6.21967C12.0126 5.92678 12.4874 5.92678 12.7803 6.21967Z"
31
- >
32
- </path>
33
- </symbol>
34
- </defs>
1
+ <svg aria-hidden="true" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
2
+ style="display:none">
3
+ <defs>
4
+ <symbol id="copy-icon" viewbox="0 0 488.3 488.3">
5
+ <g>
6
+ <path
7
+ d="M314.25,85.4h-227c-21.3,0-38.6,17.3-38.6,38.6v325.7c0,21.3,17.3,38.6,38.6,38.6h227c21.3,0,38.6-17.3,38.6-38.6V124 C352.75,102.7,335.45,85.4,314.25,85.4z M325.75,449.6c0,6.4-5.2,11.6-11.6,11.6h-227c-6.4,0-11.6-5.2-11.6-11.6V124 c0-6.4,5.2-11.6,11.6-11.6h227c6.4,0,11.6,5.2,11.6,11.6V449.6z" />
8
+ <path
9
+ d="M401.05,0h-227c-21.3,0-38.6,17.3-38.6,38.6c0,7.5,6,13.5,13.5,13.5s13.5-6,13.5-13.5c0-6.4,5.2-11.6,11.6-11.6h227 c6.4,0,11.6,5.2,11.6,11.6v325.7c0,6.4-5.2,11.6-11.6,11.6c-7.5,0-13.5,6-13.5,13.5s6,13.5,13.5,13.5c21.3,0,38.6-17.3,38.6-38.6 V38.6C439.65,17.3,422.35,0,401.05,0z" />
10
+ </g>
11
+ </symbol>
12
+ <symbol id='search-icon' viewBox="0 0 512 512">
13
+ <g>
14
+ <g>
15
+ <path
16
+ d="M225.474,0C101.151,0,0,101.151,0,225.474c0,124.33,101.151,225.474,225.474,225.474 c124.33,0,225.474-101.144,225.474-225.474C450.948,101.151,349.804,0,225.474,0z M225.474,409.323 c-101.373,0-183.848-82.475-183.848-183.848S124.101,41.626,225.474,41.626s183.848,82.475,183.848,183.848 S326.847,409.323,225.474,409.323z" />
17
+ </g>
18
+ </g>
19
+ <g>
20
+ <g>
21
+ <path
22
+ d="M505.902,476.472L386.574,357.144c-8.131-8.131-21.299-8.131-29.43,0c-8.131,8.124-8.131,21.306,0,29.43l119.328,119.328 c4.065,4.065,9.387,6.098,14.715,6.098c5.321,0,10.649-2.033,14.715-6.098C514.033,497.778,514.033,484.596,505.902,476.472z" />
23
+ </g>
24
+ </g>
25
+ </symbol>
26
+ <symbol id="down-icon" viewBox="0 0 16 16">
27
+ <path
28
+ fill-rule="evenodd"
29
+ clip-rule="evenodd"
30
+ d="M12.7803 6.21967C13.0732 6.51256 13.0732 6.98744 12.7803 7.28033L8.53033 11.5303C8.23744 11.8232 7.76256 11.8232 7.46967 11.5303L3.21967 7.28033C2.92678 6.98744 2.92678 6.51256 3.21967 6.21967C3.51256 5.92678 3.98744 5.92678 4.28033 6.21967L8 9.93934L11.7197 6.21967C12.0126 5.92678 12.4874 5.92678 12.7803 6.21967Z"
31
+ >
32
+ </path>
33
+ </symbol>
34
+ </defs>
35
35
  </svg>
package/tmpl/layout.tmpl CHANGED
@@ -1,171 +1,165 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
-
4
- <head>
5
- <meta charset="utf-8">
6
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
-
8
- <!-- Adding favicon -->
9
- <?js if(this.favicon != undefined) { ?>
10
- <link rel="icon" href="<?js= this.favicon?>" />
11
- <?js } ?>
12
-
13
- <!-- Adding meta -->
14
- <?js if(this.meta != undefined) { ?>
15
- <?js this.meta.forEach(function(src){ ?>
16
- <meta <?js= Object.keys(src).map(key=> `${key}="${src[key]}"`).join(" ") ?> />
17
- <?js }) ?>
18
- <?js } ?>
19
-
20
- <!-- Adding external script-->
21
- <?js if(this.dynamicScriptSrc != undefined) { ?>
22
- <?js this.dynamicScriptSrc.forEach(function(src){ ?>
23
- <script <?js= Object.keys(src).map(key=> `${key}="${src[key]}"`).join(" ") ?> ></script>
24
- <?js }) ?>
25
- <?js } ?>
26
-
27
- <!-- Adding external style-->
28
- <?js if(this.dynamicStyleSrc != undefined) { ?>
29
- <?js this.dynamicStyleSrc.forEach(function(src){ ?>
30
- <link <?js= Object.keys(src).map(key=> `${key}="${src[key]}"`).join(" ") ?> />
31
- <?js }) ?>
32
- <?js } ?>
33
-
34
- <!-- Adding scripts-->
35
- <?js if(this.includeScript != undefined) { ?>
36
- <?js this.includeScript.forEach(function(source){ ?>
37
- <script src="<?js= source ?>"></script>
38
- <?js }) ?>
39
- <?js } ?>
40
-
41
- <!-- Adding style-->
42
- <?js if(this.includeCss != undefined) { ?>
43
- <?js this.includeCss.forEach(function(source){ ?>
44
- <link type="text/css" rel="stylesheet" href="<?js= source ?>">
45
- <?js }) ?>
46
- <?js } ?>
47
-
48
- <!-- Adding overlay script-->
49
- <?js if(this.overlayScrollbar != undefined) { ?>
50
- <script src="https://cdnjs.cloudflare.com/ajax/libs/overlayscrollbars/1.13.0/js/OverlayScrollbars.min.js"
51
- integrity="sha512-5R3ngaUdvyhXkQkIqTf/k+Noq3phjmrqlUQyQYbgfI34Mzcx7vLIIYTy/K1VMHkL33T709kfh5y6R9Xy/Cbt7Q=="
52
- crossorigin="anonymous"></script>
53
- <?js } ?>
54
-
55
- <!-- Adding overlay style-->
56
- <?js if(this.includeCss != undefined) { ?>
57
- <link rel="stylesheet"
58
- href="https://cdnjs.cloudflare.com/ajax/libs/overlayscrollbars/1.13.0/css/OverlayScrollbars.min.css"
59
- integrity="sha512-pYQcc5kgavar0ah58/O8hw/6Tbo3mWlmQTmvoi1i96cBz7jQYS9as5J+Nfy32rAHY6CgR9ExwnFMcBdGVcKM7g=="
60
- crossorigin="anonymous" />
61
- <?js } ?>
62
-
63
-
64
- <title>
65
- <?js= title ?>
66
- </title>
67
-
68
- <!--[if lt IE 9]>
69
- <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
70
- <![endif]-->
71
- <link type="text/css" rel="stylesheet" href="styles/third-party/ionicons.min.css">
72
- <link type="text/css" rel="stylesheet" href="styles/third-party/prettify-tomorrow.css">
73
- <link type="text/css" rel="stylesheet" href="styles/reset.css">
74
- <link type="text/css" rel="stylesheet" href="styles/clean-jsdoc-theme-base.css">
75
- <link type="text/css" rel="stylesheet" href="styles/<?js= this.theme ?>">
76
- <?js if(this.dynamicStyle != undefined ) { ?>
77
- <style>
78
- <?js= this.dynamicStyle ?>
79
- </style>
80
- <?js } ?>
81
- <?js= this.partial('icons.tmpl') ?>
82
- </head>
83
-
84
- <body>
85
-
86
- <nav class="navbar" id="navbar">
87
- <?js= this.nav ?>
88
- <?js if(this.resizeable.navbar !== undefined) { ?>
89
- <div class="navbar-resize" id="navbar-resize">
90
- <div class="resize-dots-container">
91
- <div class="dots"></div>
92
- <div class="dots"></div>
93
- <div class="dots"></div>
94
- </div>
95
- </div>
96
- <?js } ?>
97
-
98
- </nav>
99
- <div class="navbar-ham" id="navbar-ham">
100
- <div>
101
- <div class="first"></div>
102
- <div class="second"></div>
103
- <div class="third"></div>
104
- </div>
105
- </div>
106
-
107
- <div id="main" class="main-content">
108
- <?js if (title != 'Home') { ?>
109
- <h1 id='page-title' class="page-title">
110
- <?js= title ?>
111
- </h1>
112
- <?js } ?>
113
-
114
- <?js= content ?>
115
- </div>
116
-
117
- <footer class="footer" id="footer">
118
- <?js= this.footer ?>
119
- </footer>
120
-
121
- <script src="scripts/third-party/prettify.js"></script>
122
- <script src="scripts/third-party/lang-css.js"></script>
123
- <script type="text/javascript" src="scripts/misc.js"></script>
124
-
125
- <script>prettyPrint();</script>
126
- <script src="scripts/linenumber.js"></script>
127
- <script src="scripts/fix-code-block.js"></script>
128
- <script src="scripts/fix-navbar.js"></script>
129
- <?js if(this.search.options !== 'false') { ?>
130
- <script src="scripts/search.js"></script>
131
- <script src="scripts/third-party/fuse.js"></script>
132
- <script>
133
- var list = [<?js= this.search.list ?>];
134
- var options = <?js= this.search.options ?>
135
- setupSearch(list, options)
136
- </script>
137
- <?js } ?>
138
-
139
- <?js if(this.dynamicScript != undefined ) { ?>
140
- <script type="text/javascript">
141
- <?js= this.dynamicScript ?>
142
- </script>
143
- <?js } ?>
144
-
145
- <?js if(this.resizeable.navbar != undefined ) { ?>
146
- <script src="scripts/resize.js"></script>
147
- <script type="text/javascript">
148
- var option = <?js= JSON.stringify(this.resizeable.navbar) ?>
149
- setupResizeOptions(option)
150
- </script>
151
- <?js } ?>
152
-
153
- <?js if(this.dynamicScript != undefined ) { ?>
154
- <script type="text/javascript">
155
- <?js= this.dynamicScript ?>
156
- </script>
157
- <?js } ?>
158
-
159
- <?js if(this.overlayScrollbar != undefined ) { ?>
160
- <script type="text/javascript">
161
- var option = JSON.parse('<?js=this.overlayScrollbar ?>')
162
- document.addEventListener("DOMContentLoaded", function () {
163
- OverlayScrollbars(document.querySelectorAll('body'), option.option || {});
164
- });
165
- </script>
166
- <?js } ?>
167
-
168
-
169
- </body>
170
-
171
- </html>
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+
4
+ <head>
5
+ <meta charset="utf-8">
6
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
+
8
+ <!-- Adding favicon -->
9
+ <?js if(this.favicon != undefined) { ?>
10
+ <link rel="icon" href="<?js= this.favicon?>" />
11
+ <?js } ?>
12
+
13
+ <!-- Adding meta -->
14
+ <?js if(this.meta != undefined) { ?>
15
+ <?js this.meta.forEach(function(src){ ?>
16
+ <meta <?js= Object.keys(src).map(key=> `${key}="${src[key]}"`).join(" ") ?> />
17
+ <?js }) ?>
18
+ <?js } ?>
19
+
20
+ <!-- Adding external script-->
21
+ <?js if(this.dynamicScriptSrc != undefined) { ?>
22
+ <?js this.dynamicScriptSrc.forEach(function(src){ ?>
23
+ <script <?js= Object.keys(src).map(key=> `${key}="${src[key]}"`).join(" ") ?> ></script>
24
+ <?js }) ?>
25
+ <?js } ?>
26
+
27
+ <!-- Adding external style-->
28
+ <?js if(this.dynamicStyleSrc != undefined) { ?>
29
+ <?js this.dynamicStyleSrc.forEach(function(src){ ?>
30
+ <link <?js= Object.keys(src).map(key=> `${key}="${src[key]}"`).join(" ") ?> />
31
+ <?js }) ?>
32
+ <?js } ?>
33
+
34
+ <!-- Adding scripts-->
35
+ <?js if(this.includeScript != undefined) { ?>
36
+ <?js this.includeScript.forEach(function(source){ ?>
37
+ <script src="<?js= source ?>"></script>
38
+ <?js }) ?>
39
+ <?js } ?>
40
+
41
+ <!-- Adding style-->
42
+ <?js if(this.includeCss != undefined) { ?>
43
+ <?js this.includeCss.forEach(function(source){ ?>
44
+ <link type="text/css" rel="stylesheet" href="<?js= source ?>">
45
+ <?js }) ?>
46
+ <?js } ?>
47
+
48
+ <!-- Adding overlay script-->
49
+ <?js if(this.overlayScrollbar != undefined) { ?>
50
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/overlayscrollbars/1.13.0/js/OverlayScrollbars.min.js"
51
+ integrity="sha512-5R3ngaUdvyhXkQkIqTf/k+Noq3phjmrqlUQyQYbgfI34Mzcx7vLIIYTy/K1VMHkL33T709kfh5y6R9Xy/Cbt7Q=="
52
+ crossorigin="anonymous"></script>
53
+ <?js } ?>
54
+
55
+ <!-- Adding overlay style-->
56
+ <?js if(this.includeCss != undefined) { ?>
57
+ <link rel="stylesheet"
58
+ href="https://cdnjs.cloudflare.com/ajax/libs/overlayscrollbars/1.13.0/css/OverlayScrollbars.min.css"
59
+ integrity="sha512-pYQcc5kgavar0ah58/O8hw/6Tbo3mWlmQTmvoi1i96cBz7jQYS9as5J+Nfy32rAHY6CgR9ExwnFMcBdGVcKM7g=="
60
+ crossorigin="anonymous" />
61
+ <?js } ?>
62
+
63
+
64
+ <title>
65
+ <?js= title ?>
66
+ </title>
67
+
68
+ <!--[if lt IE 9]>
69
+ <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
70
+ <![endif]-->
71
+ <link type="text/css" rel="stylesheet" href="styles/third-party/ionicons.min.css">
72
+ <link type="text/css" rel="stylesheet" href="styles/third-party/prettify-tomorrow.css">
73
+ <link type="text/css" rel="stylesheet" href="styles/reset.css">
74
+ <link type="text/css" rel="stylesheet" href="styles/clean-jsdoc-theme-base.css">
75
+ <link type="text/css" rel="stylesheet" href="styles/<?js= this.theme ?>">
76
+ <?js if(this.dynamicStyle != undefined ) { ?>
77
+ <style>
78
+ <?js= this.dynamicStyle ?>
79
+ </style>
80
+ <?js } ?>
81
+ <?js= this.partial('icons.tmpl') ?>
82
+ </head>
83
+
84
+ <body>
85
+
86
+ <nav class="navbar" id="navbar">
87
+ <?js= this.nav ?>
88
+ <?js if(this.resizeable.navbar !== undefined) { ?>
89
+ <div class="navbar-resize" id="navbar-resize">
90
+ <div class="resize-dots-container">
91
+ <div class="dots"></div>
92
+ <div class="dots"></div>
93
+ <div class="dots"></div>
94
+ </div>
95
+ </div>
96
+ <?js } ?>
97
+
98
+ </nav>
99
+ <div class="navbar-ham" id="navbar-ham">
100
+ <div>
101
+ <div class="first"></div>
102
+ <div class="second"></div>
103
+ <div class="third"></div>
104
+ </div>
105
+ </div>
106
+
107
+ <div id="main" class="main-content">
108
+ <?js if (title != 'Home') { ?>
109
+ <h1 id='page-title' class="page-title">
110
+ <?js= title ?>
111
+ </h1>
112
+ <?js } ?>
113
+
114
+ <?js= content ?>
115
+ </div>
116
+
117
+ <footer class="footer" id="footer">
118
+ <?js= this.footer ?>
119
+ </footer>
120
+
121
+ <script src="scripts/third-party/prettify.js"></script>
122
+ <script src="scripts/third-party/lang-css.js"></script>
123
+ <script type="text/javascript" src="scripts/misc.js"></script>
124
+
125
+ <script>prettyPrint();</script>
126
+ <script src="scripts/linenumber.js"></script>
127
+ <script src="scripts/fix-code-block.js"></script>
128
+ <script src="scripts/fix-navbar.js"></script>
129
+ <?js if(this.search.options !== 'false') { ?>
130
+ <script src="scripts/search.js"></script>
131
+ <script src="scripts/third-party/fuse.js"></script>
132
+ <script>
133
+ var list = [<?js= this.search.list ?>];
134
+ var options = <?js= this.search.options ?>
135
+ setupSearch(list, options)
136
+ </script>
137
+ <?js } ?>
138
+
139
+ <?js if(this.dynamicScript != undefined ) { ?>
140
+ <script type="text/javascript">
141
+ <?js= this.dynamicScript ?>
142
+ </script>
143
+ <?js } ?>
144
+
145
+ <?js if(this.resizeable.navbar != undefined ) { ?>
146
+ <script src="scripts/resize.js"></script>
147
+ <script type="text/javascript">
148
+ var option = <?js= JSON.stringify(this.resizeable.navbar) ?>
149
+ setupResizeOptions(option)
150
+ </script>
151
+ <?js } ?>
152
+
153
+ <?js if(this.overlayScrollbar != undefined ) { ?>
154
+ <script type="text/javascript">
155
+ var option = JSON.parse('<?js=this.overlayScrollbar ?>')
156
+ document.addEventListener("DOMContentLoaded", function () {
157
+ OverlayScrollbars(document.querySelectorAll('body'), option.option || {});
158
+ });
159
+ </script>
160
+ <?js } ?>
161
+
162
+
163
+ </body>
164
+
165
+ </html>
@@ -1,10 +1,10 @@
1
- <?js
2
- var data = obj;
3
- var self = this;
4
- ?>
5
-
6
- <?js if (data.readme) { ?>
7
- <section class="readme">
8
- <article><?js= data.readme ?></article>
9
- </section>
10
- <?js } ?>
1
+ <?js
2
+ var data = obj;
3
+ var self = this;
4
+ ?>
5
+
6
+ <?js if (data.readme) { ?>
7
+ <section class="readme">
8
+ <article><?js= data.readme ?></article>
9
+ </section>
10
+ <?js } ?>
package/tmpl/members.tmpl CHANGED
@@ -1,43 +1,43 @@
1
- <?js
2
- var data = obj;
3
- var self = this;
4
- ?>
5
- <h4 class="name" id="<?js= id ?>">
6
- <a href="#<?js= id ?>">#</a>
7
- <?js= data.attribs + name + (data.signature ? data.signature : '') ?>
8
- </h4>
9
-
10
- <?js if (data.summary) { ?>
11
- <p class="summary"><?js= summary ?></p>
12
- <?js } ?>
13
-
14
- <?js if (data.description) { ?>
15
- <div class="description">
16
- <?js= data.description ?>
17
- </div>
18
- <?js } ?>
19
-
20
- <?js if (data.type && data.type.names) {?>
21
- <div class="member-item-container flex">
22
- <strong>Type: </strong>
23
- <ul>
24
- <li>
25
- <?js= self.partial('type.tmpl', data.type.names) ?>
26
- </li>
27
- </ul>
28
- </div>
29
- <?js } ?>
30
-
31
- <?js= this.partial('details.tmpl', data) ?>
32
-
33
- <?js if (data.fires && fires.length) { ?>
34
- <h5>Fires:</h5>
35
- <ul><?js fires.forEach(function(f) { ?>
36
- <li><?js= self.linkto(f) ?></li>
37
- <?js }); ?></ul>
38
- <?js } ?>
39
-
40
- <?js if (data.examples && examples.length) { ?>
41
- <h5>Example<?js= examples.length > 1? 's':'' ?></h5>
42
- <?js= this.partial('examples.tmpl', examples) ?>
43
- <?js } ?>
1
+ <?js
2
+ var data = obj;
3
+ var self = this;
4
+ ?>
5
+ <h4 class="name" id="<?js= id ?>">
6
+ <a href="#<?js= id ?>">#</a>
7
+ <?js= data.attribs + name + (data.signature ? data.signature : '') ?>
8
+ </h4>
9
+
10
+ <?js if (data.summary) { ?>
11
+ <p class="summary"><?js= summary ?></p>
12
+ <?js } ?>
13
+
14
+ <?js if (data.description) { ?>
15
+ <div class="description">
16
+ <?js= data.description ?>
17
+ </div>
18
+ <?js } ?>
19
+
20
+ <?js if (data.type && data.type.names) {?>
21
+ <div class="member-item-container flex">
22
+ <strong>Type: </strong>
23
+ <ul>
24
+ <li>
25
+ <?js= self.partial('type.tmpl', data.type.names) ?>
26
+ </li>
27
+ </ul>
28
+ </div>
29
+ <?js } ?>
30
+
31
+ <?js= this.partial('details.tmpl', data) ?>
32
+
33
+ <?js if (data.fires && fires.length) { ?>
34
+ <h5>Fires:</h5>
35
+ <ul><?js fires.forEach(function(f) { ?>
36
+ <li><?js= self.linkto(f) ?></li>
37
+ <?js }); ?></ul>
38
+ <?js } ?>
39
+
40
+ <?js if (data.examples && examples.length) { ?>
41
+ <h5>Example<?js= examples.length > 1? 's':'' ?></h5>
42
+ <?js= this.partial('examples.tmpl', examples) ?>
43
+ <?js } ?>