clean-jsdoc-theme
Advanced tools
Comparing version 4.2.6 to 4.2.7
{ | ||
"name": "clean-jsdoc-theme", | ||
"version": "4.2.6", | ||
"version": "4.2.7", | ||
"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.", | ||
@@ -48,3 +48,3 @@ "main": "publish.js", | ||
"dependencies": { | ||
"@jsdoc/salty": "^0.2.2", | ||
"@jsdoc/salty": "^0.2.4", | ||
"fs-extra": "^10.1.0", | ||
@@ -51,0 +51,0 @@ "html-minifier": "^4.0.0", |
@@ -672,3 +672,8 @@ const _ = require('lodash'); | ||
data = helper.prune(data); | ||
data.sort('longname, version, since'); | ||
// eslint-disable-next-line no-extra-boolean-cast, no-implicit-coercion | ||
if(themeOpts.sort !== false ) { | ||
data.sort('longname, version, since'); | ||
} | ||
helper.addEventListeners(data); | ||
@@ -675,0 +680,0 @@ |
@@ -420,2 +420,13 @@ # clean-jsdoc-theme | ||
### To ignore sorting | ||
To ignore the sorting of members/methods/event in the page. If it is `false` then the order of | ||
members/methods/events will be in the order they are in code/source. | ||
```json | ||
"theme_opts": { | ||
"sort": false | ||
} | ||
``` | ||
### Footer | ||
@@ -463,2 +474,3 @@ | ||
| `includeFilesListInHomepage` | `false` | If you want to add or remove the list of files in homepage | `boolean` | | ||
| `sort` | `true` | To sort the output members/methods/events | `boolean` | | ||
@@ -465,0 +477,0 @@ Don't forget to add the following in your jsdoc config file, otherwise toc will not work on some pages. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
959377
9330
525
Updated@jsdoc/salty@^0.2.4