Skip to content

Commit

Permalink
Components: Hide private readmes from handbook (#60003)
Browse files Browse the repository at this point in the history
  • Loading branch information
mirka authored Mar 20, 2024
1 parent edb5fe5 commit c1032ab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
12 changes: 0 additions & 12 deletions docs/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -737,12 +737,6 @@
"markdown_source": "../packages/components/src/confirm-dialog/README.md",
"parent": "components"
},
{
"title": "CustomSelectControlV2",
"slug": "custom-select-control-v2",
"markdown_source": "../packages/components/src/custom-select-control-v2/README.md",
"parent": "components"
},
{
"title": "CustomSelectControl",
"slug": "custom-select-control",
Expand Down Expand Up @@ -1199,12 +1193,6 @@
"markdown_source": "../packages/components/src/tab-panel/README.md",
"parent": "components"
},
{
"title": "Tabs",
"slug": "tabs",
"markdown_source": "../packages/components/src/tabs/README.md",
"parent": "components"
},
{
"title": "TextControl",
"slug": "text-control",
Expand Down
4 changes: 3 additions & 1 deletion docs/tool/manifest.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,15 @@ const { join } = require( 'path' );

const baseRepoUrl = '..';
const componentPaths = glob( 'packages/components/src/*/**/README.md', {
// Don't expose documentation for mobile only and G2 components just yet.
// Don't expose documentation for mobile only and private components just yet.
ignore: [
'**/src/mobile/**/README.md',
'packages/components/src/theme/README.md',
'packages/components/src/view/README.md',
'packages/components/src/dropdown-menu-v2/README.md',
'packages/components/src/progress-bar/README.md',
'packages/components/src/tabs/README.md',
'packages/components/src/custom-select-control-v2/README.md',
],
} );
const packagePaths = glob( 'packages/*/package.json' )
Expand Down

0 comments on commit c1032ab

Please sign in to comment.