Skip to content
Permalink
Browse files
Standardize on PluginCategory spelling
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Jan 7, 2017
1 parent 7ce23c2 commit e3749beebc883dbf7fde1b69b8a8b1c49335cf2b
Show file tree
Hide file tree
Showing 67 changed files with 68 additions and 68 deletions.
@@ -1013,7 +1013,7 @@ def init_plugins(self, commands_only=False, load_all=False):
if not load_all:
for p in self.plugin_manager._candidates:
if commands_only:
if p[-1].details.has_option('Nikola', 'plugincategory'):
if p[-1].details.has_option('Nikola', 'PluginCategory'):
# FIXME TemplateSystem should not be needed
if p[-1].details.get('Nikola', 'PluginCategory') not in {'Command', 'Template'}:
bad_candidates.add(p)
@@ -1026,7 +1026,7 @@ def init_plugins(self, commands_only=False, load_all=False):
self.disabled_compilers[p[-1].name] = p
utils.LOGGER.debug('Not loading unneeded compiler {}', p[-1].name)
if p[-1].name not in self.config['COMPILERS'] and \
p[-1].details.has_option('Nikola', 'plugincategory') and p[-1].details.get('Nikola', 'PluginCategory') in ('Compiler', 'PageCompiler'):
p[-1].details.has_option('Nikola', 'PluginCategory') and p[-1].details.get('Nikola', 'PluginCategory') in ('Compiler', 'PageCompiler'):
bad_candidates.add(p)
self.disabled_compilers[p[-1].name] = p
utils.LOGGER.debug('Not loading unneeded compiler {}', p[-1].name)
@@ -9,5 +9,5 @@ website = https://getnikola.com/
description = Automatically detect site changes, rebuild and optionally refresh a browser.

[Nikola]
plugincategory = Command
PluginCategory = Command

@@ -9,5 +9,5 @@ website = https://getnikola.com/
description = Given a swatch name and a parent theme, creates a custom theme.

[Nikola]
plugincategory = Command
PluginCategory = Command

@@ -9,5 +9,5 @@ website = https://getnikola.com/
description = Check the generated site

[Nikola]
plugincategory = Command
PluginCategory = Command

@@ -9,5 +9,5 @@ website = https://getnikola.com/
description = Start a debugging python console

[Nikola]
plugincategory = Command
PluginCategory = Command

@@ -9,5 +9,5 @@ website = https://getnikola.com/
description = Deploy the site

[Nikola]
plugincategory = Command
PluginCategory = Command

@@ -9,5 +9,5 @@ website = https://getnikola.com/
description = Deploy the site to GitHub pages.

[Nikola]
plugincategory = Command
PluginCategory = Command

@@ -9,5 +9,5 @@ website = https://getnikola.com/
description = Import a wordpress site from a XML dump (requires markdown).

[Nikola]
plugincategory = Command
PluginCategory = Command

@@ -9,5 +9,5 @@ website = https://getnikola.com/
description = Create a new site.

[Nikola]
plugincategory = Command
PluginCategory = Command

@@ -9,5 +9,5 @@ website = https://getnikola.com/
description = Install a theme into the current site.

[Nikola]
plugincategory = Command
PluginCategory = Command

@@ -9,5 +9,5 @@ website = https://getnikola.com/
description = Create a new page.

[Nikola]
plugincategory = Command
PluginCategory = Command

@@ -9,5 +9,5 @@ website = https://getnikola.com/
description = Create a new post.

[Nikola]
plugincategory = Command
PluginCategory = Command

@@ -9,5 +9,5 @@ website = https://getnikola.com/
description = List all orphans

[Nikola]
plugincategory = Command
PluginCategory = Command

@@ -9,5 +9,5 @@ website = https://getnikola.com/
description = Manage Nikola plugins

[Nikola]
plugincategory = Command
PluginCategory = Command

@@ -9,5 +9,5 @@ website = https://getnikola.com/
description = Compile reStructuredText to HTML using the Nikola architecture

[Nikola]
plugincategory = Command
PluginCategory = Command

@@ -9,5 +9,5 @@ website = https://getnikola.com/
description = Start test server.

[Nikola]
plugincategory = Command
PluginCategory = Command

@@ -9,5 +9,5 @@ website = https://getnikola.com
description = Site status

[Nikola]
plugincategory = Command
PluginCategory = Command

@@ -9,5 +9,5 @@ website = https://getnikola.com/
description = Manage Nikola themes

[Nikola]
plugincategory = Command
PluginCategory = Command

@@ -9,5 +9,5 @@ website = https://getnikola.com/
description = Show nikola version

[Nikola]
plugincategory = Command
PluginCategory = Command

@@ -9,5 +9,5 @@ website = https://getnikola.com/
description = Compile HTML into HTML (just copy)

[Nikola]
plugincategory = Compiler
PluginCategory = Compiler
friendlyname = HTML
@@ -9,5 +9,5 @@ website = http://www.damian.oquanta.info/
description = Compile IPython notebooks into Nikola posts

[Nikola]
plugincategory = Compiler
PluginCategory = Compiler
friendlyname = Jupyter/IPython Notebook
@@ -9,5 +9,5 @@ website = https://getnikola.com/
description = Compile Markdown into HTML

[Nikola]
plugincategory = Compiler
PluginCategory = Compiler
friendlyname = Markdown
@@ -4,7 +4,7 @@ module = mdx_gist

[Nikola]
compiler = markdown
plugincategory = CompilerExtension
PluginCategory = CompilerExtension

[Documentation]
author = Roberto Alsina
@@ -4,7 +4,7 @@ module = mdx_nikola

[Nikola]
compiler = markdown
plugincategory = CompilerExtension
PluginCategory = CompilerExtension

[Documentation]
author = Roberto Alsina
@@ -4,7 +4,7 @@ module = mdx_podcast

[Nikola]
compiler = markdown
plugincategory = CompilerExtension
PluginCategory = CompilerExtension

[Documentation]
author = Roberto Alsina
@@ -9,5 +9,5 @@ website = https://getnikola.com/
description = Compile markups into HTML using pandoc

[Nikola]
plugincategory = Compiler
PluginCategory = Compiler
friendlyname = Pandoc
@@ -9,5 +9,5 @@ website = https://getnikola.com/
description = Compile PHP into HTML (just copy and name the file .php)

[Nikola]
plugincategory = Compiler
PluginCategory = Compiler
friendlyname = PHP
@@ -9,5 +9,5 @@ website = https://getnikola.com/
description = Compile reSt into HTML

[Nikola]
plugincategory = Compiler
PluginCategory = Compiler
friendlyname = reStructuredText
@@ -4,7 +4,7 @@ module = chart

[Nikola]
compiler = rest
plugincategory = CompilerExtension
PluginCategory = CompilerExtension

[Documentation]
author = Roberto Alsina
@@ -4,7 +4,7 @@ module = doc

[Nikola]
compiler = rest
plugincategory = CompilerExtension
PluginCategory = CompilerExtension

[Documentation]
author = Manuel Kaufmann
@@ -4,7 +4,7 @@ module = gist

[Nikola]
compiler = rest
plugincategory = CompilerExtension
PluginCategory = CompilerExtension

[Documentation]
author = Roberto Alsina
@@ -4,7 +4,7 @@ module = listing

[Nikola]
compiler = rest
plugincategory = CompilerExtension
PluginCategory = CompilerExtension

[Documentation]
author = Roberto Alsina
@@ -4,7 +4,7 @@ module = media

[Nikola]
compiler = rest
plugincategory = CompilerExtension
PluginCategory = CompilerExtension

[Documentation]
author = Roberto Alsina
@@ -4,7 +4,7 @@ module = post_list

[Nikola]
compiler = rest
plugincategory = CompilerExtension
PluginCategory = CompilerExtension

[Documentation]
author = Udo Spallek
@@ -4,7 +4,7 @@ module = slides

[Nikola]
compiler = rest
plugincategory = CompilerExtension
PluginCategory = CompilerExtension

[Documentation]
author = Roberto Alsina
@@ -4,7 +4,7 @@ module = soundcloud

[Nikola]
compiler = rest
plugincategory = CompilerExtension
PluginCategory = CompilerExtension

[Documentation]
author = Roberto Alsina
@@ -4,7 +4,7 @@ module = thumbnail

[Nikola]
compiler = rest
plugincategory = CompilerExtension
PluginCategory = CompilerExtension

[Documentation]
author = Pelle Nilsson
@@ -4,7 +4,7 @@ module = vimeo

[Nikola]
compiler = rest
plugincategory = CompilerExtension
PluginCategory = CompilerExtension

[Documentation]
description = Vimeo directive
@@ -4,7 +4,7 @@ module = youtube

[Nikola]
compiler = rest
plugincategory = CompilerExtension
PluginCategory = CompilerExtension

[Documentation]
version = 0.1
@@ -9,4 +9,4 @@ Website = https://getnikola.com/
Description = Encrypt posts with passwords

[Nikola]
plugincategory = SignalHandler
PluginCategory = SignalHandler
@@ -9,4 +9,4 @@ website = https://getnikola.com/
description = Classifies the timeline into taxonomies.

[Nikola]
plugincategory = SignalHandler
PluginCategory = SignalHandler