Skip to content

Commit

Permalink
feat(docs): fix props ignore paths (#10301)
Browse files Browse the repository at this point in the history
  • Loading branch information
kmcfaul authored Apr 26, 2024
1 parent 57800bd commit 312a351
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ module.exports = (baseSourceMD, sourceProps) => {
.replace('package.json', 'src');
const reactDragDropPath = require.resolve('@patternfly/react-drag-drop/package.json').replace('package.json', 'src');
const reactTemplatesPath = require.resolve('@patternfly/react-templates/package.json').replace('package.json', 'src');
const reactPropsIgnore = '**/*.test.tsx';
const reactPropsIgnore = ['/**/examples/**', '/**/__mocks__/**', '/**/__tests__/**', '/**/*.test.tsx'];

sourceProps(path.join(reactCorePath, '/**/*.tsx'), reactPropsIgnore);
sourceProps(path.join(reactTablePath, '/**/*.tsx'), reactPropsIgnore);
Expand Down

0 comments on commit 312a351

Please sign in to comment.