getnikola / plugins

Extra plugins for Nikola
https://plugins.getnikola.com/
MIT License
57 stars 93 forks source link

Group by plugin categories #90

Open Kwpolska opened 9 years ago

Kwpolska commented 9 years ago

Via the discussion in getnikola/nikola#1840.

Kwpolska commented 9 years ago

There are basically two ways to do this (both require a Nikola/Category field in the plugin metadata):

  1. Stay with the messy and ugly JavaScript implementation of the plugin site, hammer in categories support.
  2. Use Nikola to build the plugins site out of .plugin files.

    We have a scaffolding ready:

    • we could just parse .plugin and requirements*.txt files with post.compiler.read_metadata and grab the plugin metadata from there,
    • take README.md as the post content,
    • write Nikola plugins to create .zip and .json files,
    • tweak the templates to display everything nicely,

    and we’ll have a functional plugin site generated for us. We will lose the no-refresh part, but a refresh is just something normal on the Internet. (besides, DISQUS does not like this)

@ralsina, Opinions? I could happily get it done by July 12th if you agree to solution 2. I could also rewrite the themes site to use the same infrastructure.