@@ -78,10 +78,9 @@ module.exports = (sourceMD, sourceProps, sourceFunctionDocs) => {
78
78
const reactDragDropPath = require
79
79
. resolve ( "@patternfly/react-drag-drop/package.json" )
80
80
. 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" ) ;
85
84
86
85
const reactTopologyPath = require
87
86
. resolve ( "@patternfly/react-topology/package.json" )
@@ -93,8 +92,7 @@ module.exports = (sourceMD, sourceProps, sourceFunctionDocs) => {
93
92
sourceProps ( path . join ( reactChartsPath , "/**/*.tsx" ) , reactPropsIgnore ) ;
94
93
sourceProps ( path . join ( reactDragDropPath , "/**/*.tsx" ) , reactPropsIgnore ) ;
95
94
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 ) ;
98
96
99
97
// React MD
100
98
sourceMD ( path . join ( reactCorePath , "/components/**/examples/*.md" ) , "react" ) ;
@@ -130,11 +128,10 @@ module.exports = (sourceMD, sourceProps, sourceFunctionDocs) => {
130
128
sourceMD ( path . join ( reactDragDropPath , "/**/examples/*.md" ) , "react-next" ) ;
131
129
132
130
// 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
+ ) ;
138
135
139
136
// React-topology MD
140
137
sourceMD ( path . join ( reactTopologyPath , "/**/*.md" ) , "extensions" ) ;
0 commit comments