Gathering detailed insights and metrics for docdash
Gathering detailed insights and metrics for docdash
Gathering detailed insights and metrics for docdash
Gathering detailed insights and metrics for docdash
@mocha/docdash
A JSDoc template for Mocha, forked from docdash
countly-docdash
A clean, responsive documentation template theme for JSDoc 3 inspired by docdash, lodash and minami
@eluvio/elv-docdash
A customized version of the Docdash JSDoc theme (https://github.com/clenemt/docdash)
docdash-with-dark-mode
A fork of Docdash with dark mode toggles
npm install docdash
96
Supply Chain
99.1
Quality
78.1
Maintenance
100
Vulnerability
87.3
License
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
827 Stars
181 Commits
201 Forks
10 Watching
2 Branches
31 Contributors
Updated on 29 Nov 2024
Minified
Minified + Gzipped
JavaScript (87.47%)
CSS (10.51%)
Shell (2.02%)
Cumulative downloads
Total Downloads
Last day
-27.1%
17,718
Compared to previous day
Last week
-11.7%
122,176
Compared to previous week
Last month
26.9%
485,449
Compared to previous month
Last year
7.2%
6,877,090
Compared to previous year
1
3
A clean, responsive documentation template theme for JSDoc 4.
See http://clenemt.github.io/docdash/ for a sample demo. :rocket:
1$ npm install docdash
Clone repository to your designated jsdoc
template directory, then:
1$ jsdoc entry-file.js -t path/to/docdash
In your projects package.json
file add a new script:
1"script": { 2 "generate-docs": "node_modules/.bin/jsdoc -c jsdoc.json" 3}
In your jsdoc.json
file, add a template option.
1"opts": { 2 "template": "node_modules/docdash" 3}
jsdoc.json
See the config file for the fixtures or the sample below.
1{ 2 "tags": { 3 "allowUnknownTags": false 4 }, 5 "source": { 6 "include": "../js", 7 "includePattern": "\\.js$", 8 "excludePattern": "(node_modules/|docs)" 9 }, 10 "plugins": [ 11 "plugins/markdown" 12 ], 13 "opts": { 14 "template": "assets/template/docdash/", 15 "encoding": "utf8", 16 "destination": "docs/", 17 "recurse": true, 18 "verbose": true 19 }, 20 "templates": { 21 "cleverLinks": false, 22 "monospaceLinks": false 23 } 24}
Docdash supports the following options:
1{ 2 "docdash": { 3 "static": [false|true], // Display the static members inside the navbar 4 "sort": [false|true], // Sort the methods in the navbar 5 "sectionOrder": [ // Order the main section in the navbar (default order shown here) 6 "Classes", 7 "Modules", 8 "Externals", 9 "Events", 10 "Namespaces", 11 "Mixins", 12 "Tutorials", 13 "Interfaces" 14 ], 15 "disqus": "", // Shortname for your disqus (subdomain during site creation) 16 "openGraph": { // Open Graph options (mostly for Facebook and other sites to easily extract meta information) 17 "title": "", // Title of the website 18 "type": "website", // Type of the website 19 "image": "", // Main image/logo 20 "site_name": "", // Site name 21 "url": "" // Main canonical URL for the main page of the site 22 }, 23 "meta": { // Meta information options (mostly for search engines that have not indexed your site yet) 24 "title": "", // Also will be used as postfix to actualy page title, prefixed with object/document name 25 "description": "", // Description of overal contents of your website 26 "keyword": "" // Keywords for search engines 27 }, 28 "search": [false|true], // Display seach box above navigation which allows to search/filter navigation items 29 "commonNav": [false|true], // Group all html code for <nav> in a nav.inc.html fetched on each page (instead of include it in each html page, save {navSize}×{nb html pages} which can be huge on big project) 30 "collapse": [false|true|top], // Collapse navigation by default except current object's navigation of the current page, top for top level collapse 31 "wrap": [false|true], // Wrap long navigation names instead of trimming them 32 "typedefs": [false|true], // Include typedefs in menu 33 "navLevel": [integer], // depth level to show in navbar, starting at 0 (false or -1 to disable) 34 "private": [false|true], // set to false to not show @private in navbar 35 "removeQuotes": [none|all|trim],// Remove single and double quotes, trim removes only surrounding ones 36 "scripts": [], // Array of external (or relative local copied using templates.default.staticFiles.include) js or css files to inject into HTML, 37 "ShortenTypes": [false|true], // If set to true this will resolve the display name of all types as the shortened name only (after the final period). 38 "menu": { // Adding additional menu items after Home 39 "Project Website": { // Menu item name 40 "href":"https://myproject.com", //the rest of HTML properties to add to manu item 41 "target":"_blank", 42 "class":"menu-item", 43 "id":"website_link" 44 }, 45 "Forum": { 46 "href":"https://myproject.com.forum", 47 "target":"_blank", 48 "class":"menu-item", 49 "id":"forum_link" 50 } 51 }, 52 "scopeInOutputPath": [false|true], // Add scope from package file (if present) to the output path, true by default. 53 "nameInOutputPath": [false|true], // Add name from package file to the output path, true by default. 54 "versionInOutputPath": [false|true] // Add package version to the output path, true by default. 55 } 56}
Place them anywhere inside your jsdoc.json
file.
Licensed under the Apache License, version 2.0. (see Apache-2.0).
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
Found 6/17 approved changesets -- score normalized to 3
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2024-11-25
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More