Skip to content

Commit

Permalink
Documentation: Do not expose documentation for mobily only components (
Browse files Browse the repository at this point in the history
  • Loading branch information
gziolo authored Dec 19, 2019
1 parent 9ddf124 commit 6dbcfed
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
6 changes: 0 additions & 6 deletions docs/manifest-devhub.json
Original file line number Diff line number Diff line change
Expand Up @@ -839,12 +839,6 @@
"markdown_source": "../packages/components/src/menu-items-choice/README.md",
"parent": "components"
},
{
"title": "StepperControl",
"slug": "stepper-control",
"markdown_source": "../packages/components/src/mobile/stepper-control/README.md",
"parent": "components"
},
{
"title": "Modal",
"slug": "modal",
Expand Down
5 changes: 4 additions & 1 deletion docs/tool/manifest.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ const fs = require( 'fs' );
const glob = require( 'glob' ).sync;

const baseRepoUrl = '..';
const componentPaths = glob( 'packages/components/src/*/**/README.md' );
const componentPaths = glob( 'packages/components/src/*/**/README.md', {
// Don't expose documentation for mobile only components just yet.
ignore: '**/mobile/*/README.md',
} );
const packagePaths = glob( 'packages/*/package.json' ).map(
( fileName ) => fileName.split( '/' )[ 1 ]
);
Expand Down

0 comments on commit 6dbcfed

Please sign in to comment.