Skip to content
Permalink
Browse files

Update pkgindex plugins

Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Apr 2, 2017
1 parent 682a2b1 commit 913950a8a924cd5bcef442401400d233ef8e6851
@@ -9,4 +9,10 @@ Package indexes are sites like <https://plugins.getnikola.com/>. They provide
both a human-friendly interface (website), and a computer-friendly interface
(JSON file). The generated package indexes are compatible with Nikola’s plugin
and theme install features; however, they can be modified to work with any
other packaging system (with some Python code)
other packaging system (with some Python code modification).

Users
-----

* [Nikola Plugins](https://plugins.getnikola.com/) — uses default plugin set [(source)](https://github.com/getnikola/plugins/tree/master/site)
* [Nikola Themes](https://themes.getnikola.com/) — uses default plugin set and a custom plugin for screenshots and demos [(source)](https://github.com/getnikola/nikola-themes/tree/master/site)
@@ -8,6 +8,6 @@ MinVersion = 7.8.2

[Documentation]
Author = Chris Warrick
Version = 0.2.0
Version = 0.2.1
Website = https://plugins.getnikola.com/
Description = Generate package indexes (meta-plugin)
@@ -8,6 +8,6 @@ MinVersion = 7.8.1+

[Documentation]
Author = Chris Warrick, Roberto Alsina
Version = 0.2.0
Version = 0.2.1
Website = https://plugins.getnikola.com/
Description = Compile pages in package indexes
@@ -8,6 +8,6 @@ MinVersion = 7.8.1+

[Documentation]
Author = Chris Warrick
Version = 0.2.0
Version = 0.2.1
Website = https://plugins.getnikola.com/
Description = Scan packages for package indexes
@@ -90,3 +90,9 @@ def scan(self):
self.site.pkgindex_entries[topdir].append(post)

return timeline

def supported_extensions(self):
"""Return a list of supported file extensions, or None if such a list isn't known beforehand."""
if 'PKGINDEX_CONFIG' not in self.site.config:
return None
return [self.site.config['PKGINDEX_CONFIG']['extension']]
@@ -8,6 +8,6 @@ MinVersion = 7.8.1+

[Documentation]
Author = Chris Warrick
Version = 0.2.0
Version = 0.2.1
Website = https://plugins.getnikola.com/
Description = Generate ZIP (and JSON) files for package indexes

0 comments on commit 913950a

Please sign in to comment.
You can’t perform that action at this time.