
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
Documentation template theme for JSDoc 3 based on Vue server side rendering.
Features:



Live sample is a UnityBase framework documentation
@memberOf module:parentModule it does not appear in navigation panel$ npm i ub-jsdoc
For simple Cross-module navigation replace a js-doc templateHelper.js with templateHelper.js-patched
Clone repository to your designated jsdoc template directory, then:
$ jsdoc entry-file.js -t path/to/ub-jsdoc
In project package.json file add generate script:
"script": {
"generate-docs": "node_modules/.bin/jsdoc --configure .jsdoc.json --verbose"
}
In .jsdoc.json file, add a template option.
"opts": {
"template": "node_modules/ub-jsdoc"
}
Used markdown-it and plugins:
[[toc]] tag in markdown to add table-of-content blockYou can easy extend generations with you own docs.
Just use renderFile function.
module.exports = () => {
const renderFile = require('./vueRender')
renderFile(props,
'path/to/vue/template',
'path/to/html/template',
'output/path')
}
Then add path to file in extends in your jsdoc config.
"extends": [
"path/to/module"
]
{
"tags": {
"allowUnknownTags": true,
"dictionaries": [
"jsdoc"
]
},
"source": {
"include": [
"lib",
"package.json",
"README.md"
],
"includePattern": ".js$",
"excludePattern": "(node_modules/|docs)"
},
"plugins": [
"plugins/markdown",
"./ub-jsdocs/plugins/sripPFromDescription",
"./packages/ub-jsdocs/plugins/memberOfModule.js"
],
"templates": {
"cleverLinks": true,
"monospaceLinks": false,
"buildInURL": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/",
"buildins": [
"array",
"arraybuffer",
"boolean",
"date",
"error",
"function",
"json",
"number",
"object",
"regexp",
"string",
"null"
],
"smallSourceLink": true,
"hideAuthor": true,
"stylesheet": "styles/ub-jsdoc.css",
"googleAnalytics": "yourGAAccount",
"default": {
"outputSourceFiles": true,
"staticFiles": {
"include": [
"./pathToYourTutorialFolder"
],
"excludePattern": "\\.md$"
}
}
},
"opts": {
"destination": "./docs/",
"encoding": "utf8",
"private": true,
"recurse": true,
"template": "./node_modules/ub-jsdoc",
"tutorials": "./pathToYourTutorialFolder"
},
"extendedConfig": {
"navbar": {
"logo": {
"img": "https://unitybase.info/img/UB-logo.png",
"href": "index.html"
},
"nav": [
{
"href": "server-v5/index.html",
"name": "Server Docs"
},
{
"href": "ubpub-v5/index.html",
"name": "Client Docs"
},
{
"href": "server-v5/tutorialIndex.html",
"name": "Tutorials"
},
{
"href": "gettingstarted/index.html",
"name": "Getting Started"
}
]
},
"extends": [
"./src/generators/gettingStarted",
"./src/generators/mainDocPage"
]
}
}
Licensed under the Apache2 license.
FAQs
JSDoc 3 Template / Theme generated using VueJS SSR
The npm package ub-jsdoc receives a total of 70 weekly downloads. As such, ub-jsdoc popularity was classified as not popular.
We found that ub-jsdoc demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.