Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request : support custom jsdoc template #218

Open
songyumeng opened this issue May 14, 2019 · 0 comments
Open

Feature request : support custom jsdoc template #218

songyumeng opened this issue May 14, 2019 · 0 comments

Comments

@songyumeng
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant