Fixes #183. This is a refactor that changes /docs/plugins/list to be a redirect to /plugins, which is itself that parent of individual pages for plugins, categories, and tags (with lektor-tags). The publishing instructions for plugins are also modified.
This relies on a custom plugin I made that extracts data from PyPI. Thus, if a plugin's setup.py isn't very well filled out, neither will their page be on our site. The worst filled out pages still don't look too bad I think. Each plugin is it's own subpage of /plugins, but there aren't many fields as much of the info is pulled from PyPI or GitHub. The summary here is optionally custom, or pulled from the short description from PyPI.
A little css was added, which needed a webpack rebuild.
I made my own tags for these plugins. There could probably be more added, or otherwise revised.
--
Edit: One thing to note, is that the lektor-tags plugin seems to get a little confused if you try to access one of the /plugins pages before the build is complete. You can get mismatched data. If that happens, a clean and then rebuild fixes it, provided you again wait for the build to complete before access the page. I don't regard this as a problem blocking this PR, but something worth fixing later.
Fixes #183. This is a refactor that changes /docs/plugins/list to be a redirect to /plugins, which is itself that parent of individual pages for plugins, categories, and tags (with lektor-tags). The publishing instructions for plugins are also modified.
This relies on a custom plugin I made that extracts data from PyPI. Thus, if a plugin's setup.py isn't very well filled out, neither will their page be on our site. The worst filled out pages still don't look too bad I think. Each plugin is it's own subpage of /plugins, but there aren't many fields as much of the info is pulled from PyPI or GitHub. The summary here is optionally custom, or pulled from the short description from PyPI.
A little css was added, which needed a webpack rebuild.
I made my own tags for these plugins. There could probably be more added, or otherwise revised.
-- Edit: One thing to note, is that the lektor-tags plugin seems to get a little confused if you try to access one of the /plugins pages before the build is complete. You can get mismatched data. If that happens, a clean and then rebuild fixes it, provided you again wait for the build to complete before access the page. I don't regard this as a problem blocking this PR, but something worth fixing later.
Several screenshots are attached.