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
Showing with 68 additions and 68 deletions.
  1. +2 −2 nikola/nikola.py
  2. +1 −1 nikola/plugins/command/auto.plugin
  3. +1 −1 nikola/plugins/command/bootswatch_theme.plugin
  4. +1 −1 nikola/plugins/command/check.plugin
  5. +1 −1 nikola/plugins/command/console.plugin
  6. +1 −1 nikola/plugins/command/deploy.plugin
  7. +1 −1 nikola/plugins/command/github_deploy.plugin
  8. +1 −1 nikola/plugins/command/import_wordpress.plugin
  9. +1 −1 nikola/plugins/command/init.plugin
  10. +1 −1 nikola/plugins/command/install_theme.plugin
  11. +1 −1 nikola/plugins/command/new_page.plugin
  12. +1 −1 nikola/plugins/command/new_post.plugin
  13. +1 −1 nikola/plugins/command/orphans.plugin
  14. +1 −1 nikola/plugins/command/plugin.plugin
  15. +1 −1 nikola/plugins/command/rst2html.plugin
  16. +1 −1 nikola/plugins/command/serve.plugin
  17. +1 −1 nikola/plugins/command/status.plugin
  18. +1 −1 nikola/plugins/command/theme.plugin
  19. +1 −1 nikola/plugins/command/version.plugin
  20. +1 −1 nikola/plugins/compile/html.plugin
  21. +1 −1 nikola/plugins/compile/ipynb.plugin
  22. +1 −1 nikola/plugins/compile/markdown.plugin
  23. +1 −1 nikola/plugins/compile/markdown/mdx_gist.plugin
  24. +1 −1 nikola/plugins/compile/markdown/mdx_nikola.plugin
  25. +1 −1 nikola/plugins/compile/markdown/mdx_podcast.plugin
  26. +1 −1 nikola/plugins/compile/pandoc.plugin
  27. +1 −1 nikola/plugins/compile/php.plugin
  28. +1 −1 nikola/plugins/compile/rest.plugin
  29. +1 −1 nikola/plugins/compile/rest/chart.plugin
  30. +1 −1 nikola/plugins/compile/rest/doc.plugin
  31. +1 −1 nikola/plugins/compile/rest/gist.plugin
  32. +1 −1 nikola/plugins/compile/rest/listing.plugin
  33. +1 −1 nikola/plugins/compile/rest/media.plugin
  34. +1 −1 nikola/plugins/compile/rest/post_list.plugin
  35. +1 −1 nikola/plugins/compile/rest/slides.plugin
  36. +1 −1 nikola/plugins/compile/rest/soundcloud.plugin
  37. +1 −1 nikola/plugins/compile/rest/thumbnail.plugin
  38. +1 −1 nikola/plugins/compile/rest/vimeo.plugin
  39. +1 −1 nikola/plugins/compile/rest/youtube.plugin
  40. +1 −1 nikola/plugins/misc/post_encryption.plugin
  41. +1 −1 nikola/plugins/misc/taxonomies_classifier.plugin
  42. +1 −1 nikola/plugins/shortcode/gist.plugin
  43. +1 −1 nikola/plugins/task/archive.plugin
  44. +1 −1 nikola/plugins/task/authors.plugin
  45. +1 −1 nikola/plugins/task/bundles.plugin
  46. +1 −1 nikola/plugins/task/categories.plugin
  47. +1 −1 nikola/plugins/task/copy_assets.plugin
  48. +1 −1 nikola/plugins/task/copy_files.plugin
  49. +1 −1 nikola/plugins/task/galleries.plugin
  50. +1 −1 nikola/plugins/task/gzip.plugin
  51. +1 −1 nikola/plugins/task/indexes.plugin
  52. +1 −1 nikola/plugins/task/listings.plugin
  53. +1 −1 nikola/plugins/task/page_index.plugin
  54. +1 −1 nikola/plugins/task/pages.plugin
  55. +1 −1 nikola/plugins/task/posts.plugin
  56. +1 −1 nikola/plugins/task/py3_switch.plugin
  57. +1 −1 nikola/plugins/task/redirect.plugin
  58. +1 −1 nikola/plugins/task/robots.plugin
  59. +1 −1 nikola/plugins/task/scale_images.plugin
  60. +1 −1 nikola/plugins/task/sections.plugin
  61. +1 −1 nikola/plugins/task/sitemap.plugin
  62. +1 −1 nikola/plugins/task/sources.plugin
  63. +1 −1 nikola/plugins/task/tagcloud.plugin
  64. +1 −1 nikola/plugins/task/tags.plugin
  65. +1 −1 nikola/plugins/task/taxonomies.plugin
  66. +1 −1 nikola/plugins/template/jinja.plugin
  67. +1 −1 nikola/plugins/template/mako.plugin
@@ -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
@@ -3,7 +3,7 @@ name = gist
module = gist

[Nikola]
plugincategory = Shortcode
PluginCategory = Shortcode

[Documentation]
author = Roberto Alsina
@@ -9,5 +9,5 @@ website = https://getnikola.com/
description = Generates the blog's archive pages.

[Nikola]
plugincategory = Taxonomy
PluginCategory = Taxonomy

@@ -9,4 +9,4 @@ Website = http://getnikola.com
Description = Render the author pages and feeds.

[Nikola]
plugincategory = Taxonomy
PluginCategory = Taxonomy
@@ -9,5 +9,5 @@ website = https://getnikola.com/
description = Theme bundles using WebAssets

[Nikola]
plugincategory = Task
PluginCategory = Task

@@ -9,4 +9,4 @@ website = https://getnikola.com/
description = Render the category pages and feeds.

[Nikola]
plugincategory = Taxonomy
PluginCategory = Taxonomy
@@ -9,5 +9,5 @@ website = https://getnikola.com/
description = Copy theme assets into output.

[Nikola]
plugincategory = Task
PluginCategory = Task

@@ -9,5 +9,5 @@ website = https://getnikola.com/
description = Copy static files into the output.

[Nikola]
plugincategory = Task
PluginCategory = Task

@@ -9,5 +9,5 @@ website = https://getnikola.com/
description = Create image galleries automatically.

[Nikola]
plugincategory = Task
PluginCategory = Task

@@ -9,5 +9,5 @@ website = https://getnikola.com/
description = Create gzipped copies of files

[Nikola]
plugincategory = Task
PluginCategory = Task

@@ -9,4 +9,4 @@ website = https://getnikola.com/
description = Generates the blog's index pages.

[Nikola]
plugincategory = Taxonomy
PluginCategory = Taxonomy
@@ -9,5 +9,5 @@ website = https://getnikola.com/
description = Render code listings into output

[Nikola]
plugincategory = Task
PluginCategory = Task

0 comments on commit e3749be

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