[pluginlist-update] Fixing a few typos and grammar errors. Commenting out github queries. Correcting plugin category.

This commit is contained in:
Joseph Nix 2018-05-14 18:05:29 -05:00
parent 6e7f9fbe71
commit d19842d4ae
6 changed files with 11 additions and 9 deletions

View File

@ -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) <a href="https://github.com/lektor/lektor-website" class="ext">GitHub Repository</a>of this website.
[GitHub Repository :ext](https://github.com/lektor/lektor-website) of this website.

View File

@ -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`:

View File

@ -9,7 +9,7 @@ minify
html
css
js
setup_env
after_build
setup-env
after-build
---
categories: build

View File

@ -1,6 +1,6 @@
name: lektor-npm-support
---
categories: templates
categories: build
---
tags:

View File

@ -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

View File

@ -24,6 +24,7 @@
{% endfor %}
<h2>Plugins:</h2>
<p>(*) Asterisks denote official plugins.</p>
<div class="plugin">
{{ render_plugin_list(this.items) }}
</div>