Skip to content

Commit f900f90

Browse files
committed
fix partial key
1 parent 7cb7169 commit f900f90

File tree

1 file changed

+2
-17
lines changed

1 file changed

+2
-17
lines changed

core/lib/ui_builder.js

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -508,31 +508,16 @@ var ui_builder = function () {
508508

509509
//build the viewall pages
510510
var patterns = buildViewAllPages(headerHTML, patternlab, styleguidePatterns);
511-
512511
writeFile('./all.json', JSON.stringify(patterns));
513512

514513
//build the main styleguide page
515-
//todo broken
516514
var styleguideHtml = pattern_assembler.renderPattern(patternlab.viewAll,
517515
{
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
531517
}, {
532518
patternSection: patternlab.patternSection,
533-
patternSectionSubType: patternlab.patternSectionSubType
519+
patternSectionSubtype: patternlab.patternSectionSubType
534520
});
535-
536521
writeFile(path.resolve(paths.public.styleguide, 'html/styleguide.html'), headerHTML + styleguideHtml + footerHTML);
537522

538523
//move the index file from its asset location into public root

0 commit comments

Comments
 (0)