nhn/tui.jsdoc-template

Customize styles

gkatsev opened this issue · 3 comments

Have you considered making the styles like background color of the footer etc customizable?

At first, I thought that making those be variables in the templates config might be useful but I'm now leaning towards providing a stylesheet field (or array) for urls that are included after the built-in styles.

And maybe also a scripts array but I think that isn't quite as necessary.

If you think it's a good idea, I can definitely make a PR for that.

Yeah, that's a good idea.
I think we can conjugate with jsdoc's static files.

templates: {
  defaults: {
    staticFiles: {
      include: [...]
      exclude: [...]  <-- Maybe we can exclude the built-in styles
    }
  },
  css(?): [...]  <-- new feature with staticFiles property
}

I made a PR for an initial solution: #17.

v1.1.0 published to npm.js

Thank you :)