File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -212,6 +212,11 @@ public static function init($baseDir = "", $verbose = true) {
212212 self ::$ options ["metaDir " ] = isset (self ::$ options ["metaDir " ]) ? self ::$ options ["sourceDir " ].DIRECTORY_SEPARATOR .self ::cleanDir (self ::$ options ["metaDir " ]) : self ::$ options ["sourceDir " ].DIRECTORY_SEPARATOR ."_meta/ " ;
213213 self ::$ options ["annotationsDir " ] = isset (self ::$ options ["annotationsDir " ]) ? self ::$ options ["sourceDir " ].DIRECTORY_SEPARATOR .self ::cleanDir (self ::$ options ["annotationsDir " ]) : self ::$ options ["sourceDir " ].DIRECTORY_SEPARATOR ."_annotations/ " ;
214214
215+ // set-up outputFileSuffixes
216+ self ::$ options ["outputFileSuffixes " ]["rendered " ] = isset (self ::$ options ["outputFileSuffixes " ]["rendered " ]) ? self ::$ options ["outputFileSuffixes " ]["rendered " ] : '' ;
217+ self ::$ options ["outputFileSuffixes " ]["rawTemplate " ] = isset (self ::$ options ["outputFileSuffixes " ]["rawTemplate " ]) ? self ::$ options ["outputFileSuffixes " ]["rawTemplate " ] : '' ;
218+ self ::$ options ["outputFileSuffixes " ]["markupOnly " ] = isset (self ::$ options ["outputFileSuffixes " ]["markupOnly " ]) ? self ::$ options ["outputFileSuffixes " ]["markupOnly " ] : '.markup-only ' ;
219+
215220 // handle a pre-2.1.0 styleguideKitPath before saving it
216221 if (isset (self ::$ options ["styleguideKitPath " ])) {
217222 self ::$ options ["styleguideKitPath " ] = self ::$ options ["baseDir " ].self ::cleanDir (self ::getStyleguideKitPath (self ::$ options ["styleguideKitPath " ]));
You can’t perform that action at this time.
0 commit comments