Skip to content

Commit

Permalink
Add plugin categories
Browse files Browse the repository at this point in the history
  • Loading branch information
rixx committed Oct 3, 2023
1 parent 877ee71 commit e00e1be
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
9 changes: 9 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,15 @@ project folder created for you::
author_name [Your name]: J Random Developer
author_email [Your email]: jrandom@example.org
short_description [Short description]: The best plugin
Select category:
1 - FEATURE
2 - INTEGRATION
3 - CUSTOMIZATION
4 - EXPORTER
5 - RECORDING
6 - LANGUAGE
7 - OTHER
Choose from 1, 2, 3, 4, 5 [1]: 1

Now, change to the newly created directory::

Expand Down
3 changes: 2 additions & 1 deletion cookiecutter.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@
"human_name": "The pretalx super plugin",
"author_name": "Your name",
"author_email": "your-email@example.org",
"short_description": "Short description"
"short_description": "Short description",
"category": ["FEATURE", "INTEGRATION", "CUSTOMIZATION", "EXPORTER", "RECORDING", "LANGUAGE", "OTHER"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ class PretalxPluginMeta:
description = gettext_lazy("{{cookiecutter.short_description}}")
visible = True
version = "0.0.0"
category = "{{cookiecutter.category}}"

def ready(self):
from . import signals # NOQA

0 comments on commit e00e1be

Please sign in to comment.