From d19842d4aee702c4d0e8073c4dbd8c7a649236c6 Mon Sep 17 00:00:00 2001 From: Joseph Nix Date: Mon, 14 May 2018 18:05:29 -0500 Subject: [PATCH] [pluginlist-update] Fixing a few typos and grammar errors. Commenting out github queries. Correcting plugin category. --- content/docs/contents.lr | 2 +- content/docs/plugins/contents.lr | 2 +- content/plugins/lektor-minify/contents.lr | 4 ++-- content/plugins/lektor-npm-support/contents.lr | 2 +- packages/project-data/lektor_project_data.py | 9 +++++---- templates/plugin-tag.html | 1 + 6 files changed, 11 insertions(+), 9 deletions(-) diff --git a/content/docs/contents.lr b/content/docs/contents.lr index 3acd5660..531a8c07 100644 --- a/content/docs/contents.lr +++ b/content/docs/contents.lr @@ -14,4 +14,4 @@ special :ref](what/). The documentation is a work in progress and there will be areas that are lacking. If you have any feedback or you want to help out with the documentation project you can head over to the -[GitHub Repository :ext](https://github.com/lektor/lektor-website) GitHub Repositoryof this website. +[GitHub Repository :ext](https://github.com/lektor/lektor-website) of this website. diff --git a/content/docs/plugins/contents.lr b/content/docs/plugins/contents.lr index 9669d13b..dace8e5d 100644 --- a/content/docs/plugins/contents.lr +++ b/content/docs/plugins/contents.lr @@ -12,7 +12,7 @@ to use plugins and how to build your own. ## Installing Published Plugins -Lektor can find and install plugins that have been published to [PyPI :ext](https://pypi.org/) fo you. +Lektor can find and install plugins that have been published to [PyPI :ext](https://pypi.org/) for you. For completely automated plugin management just open your project file in a text editor and edit or extend the `[packages]` section. Just add a line for each plugin in the form `name = version`: diff --git a/content/plugins/lektor-minify/contents.lr b/content/plugins/lektor-minify/contents.lr index 509c4532..046c13e9 100644 --- a/content/plugins/lektor-minify/contents.lr +++ b/content/plugins/lektor-minify/contents.lr @@ -9,7 +9,7 @@ minify html css js -setup_env -after_build +setup-env +after-build --- categories: build diff --git a/content/plugins/lektor-npm-support/contents.lr b/content/plugins/lektor-npm-support/contents.lr index 68b54fa0..a3eb054a 100644 --- a/content/plugins/lektor-npm-support/contents.lr +++ b/content/plugins/lektor-npm-support/contents.lr @@ -1,6 +1,6 @@ name: lektor-npm-support --- -categories: templates +categories: build --- tags: diff --git a/packages/project-data/lektor_project_data.py b/packages/project-data/lektor_project_data.py index 580bfb1e..4e959314 100644 --- a/packages/project-data/lektor_project_data.py +++ b/packages/project-data/lektor_project_data.py @@ -74,10 +74,11 @@ class ProjectDataPlugin(Plugin): def project_data(self, name): self.package_data(name) - if 'github' in self.data.get('home_page'): - owner = self.data['home_page'].split('/')[-2] - repo = self.data['home_page'].split('/')[-1] - self.data['gh'] = self.github_data(owner=owner, repo=repo) + # github data not currently used. Commented to save build time. + # if 'github' in self.data.get('home_page'): + # owner = self.data['home_page'].split('/')[-2] + # repo = self.data['home_page'].split('/')[-1] + # self.data['gh'] = self.github_data(owner=owner, repo=repo) # TODO: support bitbucket return self.data diff --git a/templates/plugin-tag.html b/templates/plugin-tag.html index dabeca59..48792e95 100644 --- a/templates/plugin-tag.html +++ b/templates/plugin-tag.html @@ -24,6 +24,7 @@ {% endfor %}

Plugins:

+

(*) Asterisks denote official plugins.

{{ render_plugin_list(this.items) }}