clean-jsdoc-theme 3.3.3 → 3.3.4

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 -216
  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 -546
  18. package/SECURITY.md +21 -21
  19. package/helpers/down-arrow.js +9 -9
  20. package/jsdoc-config.json +60 -60
  21. package/package.json +46 -46
  22. package/publish.js +1197 -1197
  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 +77 -77
  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 -351
  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 -208
  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 -165
  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/layout.tmpl CHANGED
@@ -1,165 +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.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
+ <!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 } ?>