bridgetownrb / bridgetown

A next-generation progressive site generator & fullstack framework, powered by Ruby
https://www.bridgetownrb.com
MIT License
1.16k stars 112 forks source link

docs: Add info about new sample plugin #23

Closed jaredcwhite closed 4 years ago

jaredcwhite commented 4 years ago

On this page it talks about how a Gem-based plugin could be created, but basically leaves it at "figure it out yourself".

We now have a sample starter repo for Bridgetown plugins that folks can simply copy and roll with, so the documentation should get updated with a link to that and a simple step-by-step guide to go from downloading the code to adding new functionality to packaging it up and pushing it to Rubygems and NPM.

jaredcwhite commented 4 years ago

First pass at this is up now at https://www.bridgetownrb.com/docs/plugins/

jaredcwhite commented 4 years ago

In 0.15.0.beta3, there's now a bridgetown plugins new command which pulls down the repo and transforms it for local development, so this can now be closed.