clean-jsdoc-theme 4.2.13 → 4.2.14
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.
- package/README.md +1 -1
- package/package.json +1 -1
- package/tmpl/container.tmpl +9 -8
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# clean-jsdoc-theme
|
|
2
2
|
|
|
3
|
-
[](https://github.com/ankitskvmdam/clean-jsdoc-theme) [](https://github.com/ankitskvmdam/clean-jsdoc-theme/fork) ](https://github.com/ankitskvmdam/clean-jsdoc-theme) [](https://github.com/ankitskvmdam/clean-jsdoc-theme/fork)  [](https://github.com/ankitskvmdam/clean-jsdoc-theme/issues) [](https://github.com/ankitskvmdam/clean-jsdoc-theme/graphs/contributors) [](https://travis-ci.org/ankitskvmdam/clean-jsdoc-theme) [](https://github.com/ankitskvmdam/clean-jsdoc-theme/blob/master/LICENSE)
|
|
4
4
|
<br>
|
|
5
5
|
|
|
6
6
|
`clean-jsdoc-theme` is a beautifully crafted theme for JSDoc 3/JSDoc 4. It is a clean and fully responsive theme with loads of
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "clean-jsdoc-theme",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.14",
|
|
4
4
|
"description": "A beautifully crafted theme/template for JSDoc 3. This theme/template looks and feels like a premium theme/template. This is a fully mobile responsive theme and also fully customizable theme.",
|
|
5
5
|
"main": "publish.js",
|
|
6
6
|
"scripts": {
|
package/tmpl/container.tmpl
CHANGED
|
@@ -91,7 +91,8 @@
|
|
|
91
91
|
<?js } ?>
|
|
92
92
|
|
|
93
93
|
<?js
|
|
94
|
-
var
|
|
94
|
+
var shouldExcludeInherited = { ...(self.excludeInherited ? { inherited: {isUndefined: true} } : {}) };
|
|
95
|
+
var classes = self.find({kind: 'class', memberof: doc.longname, ...shouldExcludeInherited } );
|
|
95
96
|
if (!isGlobalPage && classes && classes.length) {
|
|
96
97
|
?>
|
|
97
98
|
<h2 id="classes" class="subsection-title has-anchor">Classes</h2>
|
|
@@ -103,7 +104,7 @@
|
|
|
103
104
|
<?js } ?>
|
|
104
105
|
|
|
105
106
|
<?js
|
|
106
|
-
var interfaces = self.find({kind: 'interface', memberof: doc.longname, ...
|
|
107
|
+
var interfaces = self.find({kind: 'interface', memberof: doc.longname, ...shouldExcludeInherited});
|
|
107
108
|
if (!isGlobalPage && interfaces && interfaces.length) {
|
|
108
109
|
?>
|
|
109
110
|
<h2 id="interfaces" class="subsection-title has-anchor">Interfaces</h2>
|
|
@@ -115,7 +116,7 @@
|
|
|
115
116
|
<?js } ?>
|
|
116
117
|
|
|
117
118
|
<?js
|
|
118
|
-
var mixins = self.find({kind: 'mixin', memberof: doc.longname, ...
|
|
119
|
+
var mixins = self.find({kind: 'mixin', memberof: doc.longname, ...shouldExcludeInherited});
|
|
119
120
|
if (!isGlobalPage && mixins && mixins.length) {
|
|
120
121
|
?>
|
|
121
122
|
<h2 id="mixins" class="subsection-title has-anchor">Mixins</h2>
|
|
@@ -127,7 +128,7 @@
|
|
|
127
128
|
<?js } ?>
|
|
128
129
|
|
|
129
130
|
<?js
|
|
130
|
-
var namespaces = self.find({kind: 'namespace', memberof: doc.longname, ...
|
|
131
|
+
var namespaces = self.find({kind: 'namespace', memberof: doc.longname, ...shouldExcludeInherited});
|
|
131
132
|
if (!isGlobalPage && namespaces && namespaces.length) {
|
|
132
133
|
?>
|
|
133
134
|
<h2 id="namespaces" class="subsection-title has-anchor">Namespaces</h2>
|
|
@@ -139,7 +140,7 @@
|
|
|
139
140
|
<?js } ?>
|
|
140
141
|
|
|
141
142
|
<?js
|
|
142
|
-
var members = self.find({kind: 'member', memberof: isGlobalPage ? {isUndefined: true} : doc.longname, ...
|
|
143
|
+
var members = self.find({kind: 'member', memberof: isGlobalPage ? {isUndefined: true} : doc.longname, ...shouldExcludeInherited});
|
|
143
144
|
|
|
144
145
|
// symbols that are assigned to module.exports are not globals, even though they're not a memberof anything
|
|
145
146
|
if (isGlobalPage && members && members.length && members.forEach) {
|
|
@@ -157,7 +158,7 @@
|
|
|
157
158
|
<?js } ?>
|
|
158
159
|
|
|
159
160
|
<?js
|
|
160
|
-
var methods = self.find({kind: 'function', memberof: isGlobalPage ? {isUndefined: true} : doc.longname, ...
|
|
161
|
+
var methods = self.find({kind: 'function', memberof: isGlobalPage ? {isUndefined: true} : doc.longname, ...shouldExcludeInherited});
|
|
161
162
|
if (methods && methods.length && methods.forEach) {
|
|
162
163
|
?>
|
|
163
164
|
<h2 id="methods" class="subsection-title has-anchor">Methods</h2>
|
|
@@ -168,7 +169,7 @@
|
|
|
168
169
|
<?js } ?>
|
|
169
170
|
|
|
170
171
|
<?js
|
|
171
|
-
var typedefs = self.find({kind: 'typedef', memberof: isGlobalPage ? {isUndefined: true} : doc.longname, ...
|
|
172
|
+
var typedefs = self.find({kind: 'typedef', memberof: isGlobalPage ? {isUndefined: true} : doc.longname, ...shouldExcludeInherited});
|
|
172
173
|
if (typedefs && typedefs.length && typedefs.forEach) {
|
|
173
174
|
?>
|
|
174
175
|
<h2 id="type-definitions" class="subsection-title has-anchor">Type Definitions</h2>
|
|
@@ -188,7 +189,7 @@
|
|
|
188
189
|
<?js } ?>
|
|
189
190
|
|
|
190
191
|
<?js
|
|
191
|
-
var events = self.find({kind: 'event', memberof: isGlobalPage ? {isUndefined: true} : doc.longname, ...
|
|
192
|
+
var events = self.find({kind: 'event', memberof: isGlobalPage ? {isUndefined: true} : doc.longname, ...shouldExcludeInherited});
|
|
192
193
|
if (events && events.length && events.forEach) {
|
|
193
194
|
?>
|
|
194
195
|
<h2 id="events" class="subsection-title has-anchor">Events</h2>
|