lumeland / lume

🔥 Static site generator for Deno 🦕
https://lume.land
MIT License
1.88k stars 86 forks source link

RFC: Putting code, tests and docs of plugins next to each other #443

Open not-my-profile opened 1 year ago

not-my-profile commented 1 year ago

The files making up a plugin are currently scattered across three different locations:

I think it would make sense to instead put all these files next to each other in this repository, e.g. we could have:

The reasoning being that if you update the code, you likely also should update the tests and the documentation as well and that's easier to do when the files are all next to each other. Putting them next to each other also makes it easier to spot discrepancies. (Especially having the .md files in another repository makes contributing to plugins more difficult since you'd often need two PRs.)

oscarotero commented 1 year ago

Yeah, it makes sense but I can see some drawbacks: