Improvements in the docs generation

This commit is contained in:
Christopher Chedeau
2015-03-04 18:10:12 -08:00
parent 74824cb96e
commit d935f4554b
5 changed files with 87 additions and 11 deletions

View File

@@ -9,7 +9,7 @@ var Metadata = require('Metadata');
var DocsSidebar = React.createClass({
getCategories: function() {
var metadatas = Metadata.files.filter(function(metadata) {
return metadata.layout === 'docs';
return metadata.layout === 'docs' || metadata.layout === 'autodocs';
});
// Build a hashmap of article_id -> metadata