Skip to content
This repository has been archived by the owner on May 1, 2020. It is now read-only.

Document new pattern export options #121

Open
bmuenzenmeyer opened this issue Oct 29, 2019 · 3 comments
Open

Document new pattern export options #121

bmuenzenmeyer opened this issue Oct 29, 2019 · 3 comments

Comments

@bmuenzenmeyer
Copy link
Member

see pattern-lab/patternlab-node#1089

@bradfrost
Copy link
Member

@bmuenzenmeyer can you provide some additional context here? I can take care of the website.

@bmuenzenmeyer
Copy link
Member Author

the thought was to add to https://patternlab.io/docs/advanced-exporting-patterns.html with the new options available on pattern-lab.config in the above linked PR:

  • patternExportAll

    • default: false
    • description: if true, overrides patternExportPatternPartials and instead exports all patterns
  • patternExportPreserveDirectoryStructure

    • default: true
    • description: if true, preserves the top-level pattern type structure (atoms/, molecules/, organisms/) during export. if false, all patterns are flatly exported to the patternExportDirectory
  • patternExportRaw

    • default: false
    • description: if true, exports the pattern's template file instead of the rendered html

@bmuenzenmeyer
Copy link
Member Author

this is available with pattern lab https://github.com/pattern-lab/patternlab-node/releases/tag/v5.1.0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants