Navigation Menu

Skip to content

Commit

Permalink
pkgindex_scan: add is_special_entry meta key
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Mar 26, 2018
1 parent 289fc52 commit 889c863
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion v7/pkgindex_scan/pkgindex_scan.plugin
Expand Up @@ -8,6 +8,6 @@ MinVersion = 7.8.1+

[Documentation]
Author = Chris Warrick
Version = 0.4.0
Version = 0.4.1
Website = https://plugins.getnikola.com/
Description = Scan packages for package indexes
4 changes: 4 additions & 0 deletions v7/pkgindex_scan/pkgindex_scan.py
Expand Up @@ -73,6 +73,8 @@ def scan(self):
compiler
)
post.is_two_file = True
for d in post.meta.values():
d['is_special_entry'] = False
timeline.append(post)
self.site.pkgindex_entries[topdir].append(post)
self._update_name_multiver(post)
Expand All @@ -89,6 +91,8 @@ def scan(self):
compiler
)
post.is_two_file = True
for d in post.meta.values():
d['is_special_entry'] = True
timeline.append(post)
self.site.pkgindex_entries[topdir].append(post)
self._update_name_multiver(post)
Expand Down

0 comments on commit 889c863

Please sign in to comment.