@@ -78,10 +78,9 @@ module.exports = (sourceMD, sourceProps, sourceFunctionDocs) => {
7878 const reactDragDropPath = require
7979 . resolve ( "@patternfly/react-drag-drop/package.json" )
8080 . replace ( "package.json" , "src" ) ;
81- // TODO: add back once PF react rebase is done
82- // const reactTemplatesPath = require
83- // .resolve("@patternfly/react-templates/package.json")
84- // .replace("package.json", "src");
81+ const reactTemplatesPath = require
82+ . resolve ( "@patternfly/react-templates/package.json" )
83+ . replace ( "package.json" , "src" ) ;
8584
8685 const reactTopologyPath = require
8786 . resolve ( "@patternfly/react-topology/package.json" )
@@ -93,8 +92,7 @@ module.exports = (sourceMD, sourceProps, sourceFunctionDocs) => {
9392 sourceProps ( path . join ( reactChartsPath , "/**/*.tsx" ) , reactPropsIgnore ) ;
9493 sourceProps ( path . join ( reactDragDropPath , "/**/*.tsx" ) , reactPropsIgnore ) ;
9594 sourceProps ( path . join ( reactTopologyPath , "/**/*.tsx" ) , reactPropsIgnore ) ;
96- // TODO: add back once PF react rebase is done
97- // sourceProps(path.join(reactTemplatesPath, "/**/*.tsx"), reactPropsIgnore);
95+ sourceProps ( path . join ( reactTemplatesPath , "/**/*.tsx" ) , reactPropsIgnore ) ;
9896
9997 // React MD
10098 sourceMD ( path . join ( reactCorePath , "/components/**/examples/*.md" ) , "react" ) ;
@@ -130,11 +128,10 @@ module.exports = (sourceMD, sourceProps, sourceFunctionDocs) => {
130128 sourceMD ( path . join ( reactDragDropPath , "/**/examples/*.md" ) , "react-next" ) ;
131129
132130 // Templates MD
133- // TODO: add back once PF react rebase is done
134- // sourceMD(
135- // path.join(reactTemplatesPath, "/**/examples/*.md"),
136- // "react-templates"
137- // );
131+ sourceMD (
132+ path . join ( reactTemplatesPath , "/**/examples/*.md" ) ,
133+ "react-templates"
134+ ) ;
138135
139136 // React-topology MD
140137 sourceMD ( path . join ( reactTopologyPath , "/**/*.md" ) , "extensions" ) ;
0 commit comments