You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: I think this is outside the scope of panflute, and there should be a separate repo that deals with this (we can add it to panflute's dependencies)
Implementation:
The package should fetch a filters.yaml file from the repo of an organization repo. This file should have a list of items, each with two fields (name and url).
A filter consists of a python file (for now let's limit ourselves to one file) and optionally a yaml file (e.g. headers.py and headers.csv)
The YAML file contains metadata about the filter. This includes: name, description, author, date, version (!), etc.
If at some point way in the future we want to extend this, we can do it easily through the yaml (eg: allow for more than one python file, more than just python files, versioning, example input and output markdown files).
The url should point to either the .py file or the .yaml file
Both files shoud be copied to datadir/filters (or to whatever path the user asks)
Finally, this utility should allow for a few suboptions:
Note: I think this is outside the scope of panflute, and there should be a separate repo that deals with this (we can add it to panflute's dependencies)
Implementation:
filters.yaml
file from the repo of an organization repo. This file should have a list of items, each with two fields (name and url)..py
file or the.yaml
fileFinally, this utility should allow for a few suboptions:
??? install somefilter
??? update somefilter
??? install filter1 filter2 filter3
??? uninstall filter1
Also see:
The text was updated successfully, but these errors were encountered: