clean-jsdoc-theme 4.2.4 → 4.2.6

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 (3) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -2
  3. package/publish.js +2 -5
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # clean-jsdoc-theme
2
2
 
3
- [![Stars](https://img.shields.io/github/stars/ankitskvmdam/clean-jsdoc-theme)](https://github.com/ankitskvmdam/clean-jsdoc-theme) [![Fork](https://img.shields.io/github/forks/ankitskvmdam/clean-jsdoc-theme)](https://github.com/ankitskvmdam/clean-jsdoc-theme/fork) ![Version](https://img.shields.io/badge/version-4.2.4-005bff) [![Issues Open](https://img.shields.io/github/issues/ankitskvmdam/clean-jsdoc-theme)](https://github.com/ankitskvmdam/clean-jsdoc-theme/issues) [![Contributors](https://img.shields.io/github/contributors/ankitskvmdam/clean-jsdoc-theme)](https://github.com/ankitskvmdam/clean-jsdoc-theme/graphs/contributors) [![Build Status](https://travis-ci.org/ankitskvmdam/clean-jsdoc-theme.svg?branch=production)](https://travis-ci.org/ankitskvmdam/clean-jsdoc-theme) [![license](https://img.shields.io/github/license/ankitskvmdam/clean-jsdoc-theme)](https://github.com/ankitskvmdam/clean-jsdoc-theme/blob/master/LICENSE)
3
+ [![Stars](https://img.shields.io/github/stars/ankitskvmdam/clean-jsdoc-theme)](https://github.com/ankitskvmdam/clean-jsdoc-theme) [![Fork](https://img.shields.io/github/forks/ankitskvmdam/clean-jsdoc-theme)](https://github.com/ankitskvmdam/clean-jsdoc-theme/fork) ![Version](https://img.shields.io/badge/version-4.2.6-005bff) [![Issues Open](https://img.shields.io/github/issues/ankitskvmdam/clean-jsdoc-theme)](https://github.com/ankitskvmdam/clean-jsdoc-theme/issues) [![Contributors](https://img.shields.io/github/contributors/ankitskvmdam/clean-jsdoc-theme)](https://github.com/ankitskvmdam/clean-jsdoc-theme/graphs/contributors) [![Build Status](https://travis-ci.org/ankitskvmdam/clean-jsdoc-theme.svg?branch=production)](https://travis-ci.org/ankitskvmdam/clean-jsdoc-theme) [![license](https://img.shields.io/github/license/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.4",
3
+ "version": "4.2.6",
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": {
@@ -46,7 +46,6 @@
46
46
  },
47
47
  "dependencies": {
48
48
  "@jsdoc/salty": "^0.2.2",
49
- "common-path-prefix": "^3.0.0",
50
49
  "fs-extra": "^10.1.0",
51
50
  "html-minifier": "^4.0.0",
52
51
  "klaw-sync": "^6.0.0",
package/publish.js CHANGED
@@ -1,5 +1,4 @@
1
1
  const _ = require('lodash');
2
- const commonPathPrefix = require('common-path-prefix');
3
2
  const env = require('jsdoc/env');
4
3
  const fs = require('fs-extra');
5
4
  const helper = require('jsdoc/util/templateHelper');
@@ -453,12 +452,10 @@ function buildSidebarMembers({
453
452
  function buildSearchListForData() {
454
453
  data().each((item) => {
455
454
  if (item.kind !== 'package' && !item.inherited) {
456
- const description = (item.description || '').substr(0, 100)
457
-
458
455
  searchList.push({
459
456
  title: item.longname,
460
457
  link: linkto(item.longname, item.name),
461
- description
458
+ description: item.description
462
459
  })
463
460
  }
464
461
  });
@@ -779,7 +776,7 @@ exports.publish = function (taffyData, opts, tutorials) {
779
776
  if (sourceFilePaths.length) {
780
777
  sourceFiles = shortenPaths(
781
778
  sourceFiles,
782
- commonPathPrefix(sourceFilePaths)
779
+ path.commonPrefix(sourceFilePaths)
783
780
  );
784
781
  }
785
782