[Docs] Remove Transforms from sidebar, add to Style

This commit is contained in:
Brent Vatne
2015-05-07 16:05:30 -07:00
parent 731d4a0610
commit debd5b0942
4 changed files with 45 additions and 14 deletions

View File

@@ -69,7 +69,10 @@ function execute() {
try { value = JSON.parse(value); } catch(e) { }
metadata[key] = value;
}
metadatas.files.push(metadata);
if (metadata.sidebar !== false) {
metadatas.files.push(metadata);
}
if (metadata.permalink.match(/^https?:/)) {
return;