-
Notifications
You must be signed in to change notification settings - Fork 240
Description
Is it possible, and if so, what would be the appropriate approach for overriding a CSS class in the tree view of the API? Can it be done with a custom tag?
There are several packages/classes in my API where I would like a unique icon to show up. For example, my API has an option to decorate the Node.js process
global variable. I have a stub file that generates the documentation for this, along the lines of:
/**
* @class process
* The global Node.js process.....
* @singleton
*/
In the tree view, the output originally looked like a singleton with the pink icon. In prior editions of JSDuck, I was able to override the css class that was generated for that specific tree element.
Ideally, I would like to be able to create a more generic custom tag along the lines of @cssClass
or something so I could have a little more granular control over the appearance of individual tree nodes. Something along the lines of:
/**
* @class myClass
* Some desc here.
* @cssClass icon-myclass
*/
Anyhow, I'm just looking for a starting point. I figured this out once before, but I didn't know if there was a more elegant solution. Any insight would be appreciated.