jsdoc-vuejs icon indicating copy to clipboard operation
jsdoc-vuejs copied to clipboard

Feature request : support custom jsdoc template

Open songyumeng opened this issue 6 years ago β€’ 0 comments

Hi,Thanks for your work on this. I have a problem: I create a custom jsdoc template with my own css style,etc. jsdocs folder: β”œβ”€β”€ plugins β”œβ”€β”€ template β”‚ β”œβ”€β”€ static β”‚ β”œβ”€β”€ tmpl β”œβ”€β”€ config.json

config.json "opts": { "recurse": true, "template": "./template", "configPath": "./", "destination": "./docs" }

But this plugin only supports 4 templates,not supports "./template". Is it possible to supports custom jsdoc template?

My current solution : recommend template folder should include a 'default.ejs' file . β”œβ”€β”€ plugins β”œβ”€β”€ template β”‚ β”œβ”€β”€ default.ejs β”‚ β”œβ”€β”€ static β”‚ β”œβ”€β”€ tmpl β”œβ”€β”€ config.json

getTemplatePath.js file like this: image

Any suggestions?Thank you.

songyumeng avatar May 14 '19 07:05 songyumeng