[pluginlist-update] Fixing a few typos and grammar errors. Commenting out github queries. Correcting plugin category.
This commit is contained in:
parent
6e7f9fbe71
commit
d19842d4ae
|
@ -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.
|
||||
|
|
|
@ -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`:
|
||||
|
|
|
@ -9,7 +9,7 @@ minify
|
|||
html
|
||||
css
|
||||
js
|
||||
setup_env
|
||||
after_build
|
||||
setup-env
|
||||
after-build
|
||||
---
|
||||
categories: build
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
name: lektor-npm-support
|
||||
---
|
||||
categories: templates
|
||||
categories: build
|
||||
---
|
||||
tags:
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
{% endfor %}
|
||||
|
||||
<h2>Plugins:</h2>
|
||||
<p>(*) Asterisks denote official plugins.</p>
|
||||
<div class="plugin">
|
||||
{{ render_plugin_list(this.items) }}
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue