Closed KittyGiraudel closed 10 years ago
Please note we're moving view.json
to the theme when doing this. ;)
See #122.
var group;
// Adding a `display` key to each item
for (group in data) {
data[group].forEach(function (item) {
item.display = (options.display.access.indexOf(item.access[0]) !== -1) && !(!options.display.alias && item.alias);
});
}
Done. :)
https://github.com/SassDoc/sassdoc/blob/master/view/templates/layouts/base.html.swig#L12-L21
This should be done in the JavaScript side, at least the
item.display
thing.