File tree Expand file tree Collapse file tree 1 file changed +2
-17
lines changed Expand file tree Collapse file tree 1 file changed +2
-17
lines changed Original file line number Diff line number Diff line change @@ -508,31 +508,16 @@ var ui_builder = function () {
508
508
509
509
//build the viewall pages
510
510
var patterns = buildViewAllPages ( headerHTML , patternlab , styleguidePatterns ) ;
511
-
512
511
writeFile ( './all.json' , JSON . stringify ( patterns ) ) ;
513
512
514
513
//build the main styleguide page
515
- //todo broken
516
514
var styleguideHtml = pattern_assembler . renderPattern ( patternlab . viewAll ,
517
515
{
518
- //partials: patterns
519
- partials : [
520
- {
521
- "patternSectionSubtype" : {
522
- "patternName" : "global" ,
523
- "patternLink" : "00-atoms-00-global\\index.html" ,
524
- "patternPartial" : "viewall-atoms-global" ,
525
- "patternSectionSubtype" : true ,
526
- "patternDesc" : ""
527
- }
528
-
529
- }
530
- ]
516
+ partials : patterns
531
517
} , {
532
518
patternSection : patternlab . patternSection ,
533
- patternSectionSubType : patternlab . patternSectionSubType
519
+ patternSectionSubtype : patternlab . patternSectionSubType
534
520
} ) ;
535
-
536
521
writeFile ( path . resolve ( paths . public . styleguide , 'html/styleguide.html' ) , headerHTML + styleguideHtml + footerHTML ) ;
537
522
538
523
//move the index file from its asset location into public root
You can’t perform that action at this time.
0 commit comments