mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-28 12:15:37 +08:00
Improvements in the docs generation
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user