Question: If you want to create a plugin for Abell, what data and functions you would expect to be exported out of abell? #15
Labels
help wanted
Extra attention is needed
Idea
A random idea before actually putting it out in code
Need Feedback
Need feedback on this issue
question
Further information is requested
Milestone
This is how Abell works (as of v0.2.x)
programInfo
variable (Reads thetheme/[$slug]/index.abell
, reads theabell.config.js
, reads the directories incontent/
, prepares all the necessary variables)(Code: https://github.com/abelljs/abell/blob/master/src/content-generator.js#L89)
build(programInfo)
is called which loops through all.abell
files and callsgenerateHTMLFile(path, programInfo)
when it's a normal.abell
file andgenerateContentFile(path, programInfo)
when its[$slug]/index.abell
.Possible plugins
I would love to know suggestions and feedback on how we can possibly make the plugin system.
The text was updated successfully, but these errors were encountered: