@@ -79,10 +79,9 @@ module.exports = (sourceMD, sourceProps, sourceFunctionDocs) => {
7979 const reactDragDropPath = require
8080 . resolve ( "@patternfly/react-drag-drop/package.json" )
8181 . replace ( "package.json" , "src" ) ;
82- // TODO: add back once PF react rebase is done
83- // const reactTemplatesPath = require
84- // .resolve("@patternfly/react-templates/package.json")
85- // .replace("package.json", "src");
82+ const reactTemplatesPath = require
83+ . resolve ( "@patternfly/react-templates/package.json" )
84+ . replace ( "package.json" , "src" ) ;
8685
8786 const reactTopologyPath = require
8887 . resolve ( "@patternfly/react-topology/package.json" )
@@ -94,8 +93,7 @@ module.exports = (sourceMD, sourceProps, sourceFunctionDocs) => {
9493 sourceProps ( path . join ( reactChartsPath , "/**/*.tsx" ) , reactPropsIgnore ) ;
9594 sourceProps ( path . join ( reactDragDropPath , "/**/*.tsx" ) , reactPropsIgnore ) ;
9695 sourceProps ( path . join ( reactTopologyPath , "/**/*.tsx" ) , reactPropsIgnore ) ;
97- // TODO: add back once PF react rebase is done
98- // sourceProps(path.join(reactTemplatesPath, "/**/*.tsx"), reactPropsIgnore);
96+ sourceProps ( path . join ( reactTemplatesPath , "/**/*.tsx" ) , reactPropsIgnore ) ;
9997
10098 // React MD
10199 sourceMD ( path . join ( reactCorePath , "/components/**/examples/*.md" ) , "react" ) ;
@@ -131,11 +129,10 @@ module.exports = (sourceMD, sourceProps, sourceFunctionDocs) => {
131129 sourceMD ( path . join ( reactDragDropPath , "/**/examples/*.md" ) , "react-next" ) ;
132130
133131 // Templates MD
134- // TODO: add back once PF react rebase is done
135- // sourceMD(
136- // path.join(reactTemplatesPath, "/**/examples/*.md"),
137- // "react-templates"
138- // );
132+ sourceMD (
133+ path . join ( reactTemplatesPath , "/**/examples/*.md" ) ,
134+ "react-templates"
135+ ) ;
139136
140137 // React-topology MD
141138 sourceMD ( path . join ( reactTopologyPath , "/**/*.md" ) , "extensions" ) ;
0 commit comments