Skip to content

Commit 8346f4e

Browse files
committed
Ignore _tools packages
1 parent 8398d80 commit 8346f4e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tools/docs/www/scripts/generate_docs.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,16 @@ var version = require( './../../../../package.json' ).version;
3434
// MAIN //
3535

3636
// Create tree of packages of `stdlib`:
37-
var tree = pkgTree.sync();
37+
var tree = pkgTree.sync({
38+
'ignore': [
39+
'_tools/**'
40+
]
41+
});
3842

3943
// Index one level into the tree:
4044
tree = tree[ '@stdlib' ];
4145

42-
// Hide internal tools from user-facing documentation:
43-
delete tree[ '_tools' ];
44-
4546
// Create and save HTML fragments:
46-
4747
var assetPath = path.resolve( __dirname, '..', 'public', 'assets' );
4848
var docsPath = path.resolve( assetPath, 'v'+version );
4949

0 commit comments

Comments
 (0)