Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

pattern states not working as documented #166

Closed
ivancamilov opened this issue Oct 14, 2015 · 2 comments
Closed

pattern states not working as documented #166

ivancamilov opened this issue Oct 14, 2015 · 2 comments

Comments

@ivancamilov
Copy link

According to the docs, you should be able to define a pattern's state by setting it in the filename, ie changing 00-media-block.mustache to 00-media-block@inprogress.mustache.

However, patternlab-node doesn't work as documented; instead, it has a different way to set states by changing the config.json file.

Shouldn't patternlab-node work as documented in patternlab.io?

@bmuenzenmeyer
Copy link
Member

Not in every case. That documentation is officially for the PHP version. I know this is confusing. There is actually a bunch of documentation in a different branch of the site, but it's unreleased. Brad and his brother are working on v2 of the site which will probably have the node documents.

For now, we are in a sort of limbo between the README and some stuff here: https://github.com/pattern-lab/website/tree/dev/patternlabsite/docs/node

Also, on principle... PL node doesn't do everything exactly the same way as PHP. Like I said, I hope to make this more clear in the future. Please do reach out with specific questions here or on twitter. I try to be rather transparent about what work is going on: #134

@ivancamilov
Copy link
Author

I understand, thanks for the clarification.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants