diff --git a/doc/development/api/general.rst b/doc/development/api/general.rst index 18686e8c2..51448de6b 100644 --- a/doc/development/api/general.rst +++ b/doc/development/api/general.rst @@ -12,7 +12,7 @@ Core .. automodule:: pretix.base.signals :members: periodic_task, event_live_issues, event_copy_data, email_filter, register_notification_types, - item_copy_data, register_sales_channels + item_copy_data, register_sales_channels, register_global_settings Order events """""""""""" @@ -26,11 +26,7 @@ Frontend -------- .. automodule:: pretix.presale.signals - :members: html_head, html_footer, footer_link, front_page_top, front_page_bottom, fee_calculation_for_cart, contact_form_fields, question_form_fields, checkout_confirm_messages, checkout_confirm_page_content, checkout_all_optional, html_page_header, sass_preamble, sass_postamble - - -.. automodule:: pretix.presale.signals - :members: order_info, order_meta_from_request + :members: html_head, html_footer, footer_link, front_page_top, front_page_bottom, fee_calculation_for_cart, contact_form_fields, question_form_fields, checkout_confirm_messages, checkout_confirm_page_content, checkout_all_optional, html_page_header, sass_preamble, sass_postamble, checkout_flow_steps, order_info, order_meta_from_request Request flow """""""""""" diff --git a/src/pretix/control/signals.py b/src/pretix/control/signals.py index 16b05620a..de6969103 100644 --- a/src/pretix/control/signals.py +++ b/src/pretix/control/signals.py @@ -2,16 +2,6 @@ from django.dispatch import Signal from pretix.base.signals import DeprecatedSignal, EventPluginSignal -restriction_formset = EventPluginSignal( - providing_args=["item"] -) -""" -This signal is sent out to build configuration forms for all restriction formsets -(see plugin API documentation for details). - -As with all plugin signals, the ``sender`` keyword argument will contain the event. -""" - html_page_start = Signal( providing_args=[] ) diff --git a/src/pretix/presale/signals.py b/src/pretix/presale/signals.py index af1843551..73e6e9e22 100644 --- a/src/pretix/presale/signals.py +++ b/src/pretix/presale/signals.py @@ -82,7 +82,8 @@ As with all plugin signals, the ``sender`` keyword argument will contain the eve checkout_flow_steps = EventPluginSignal() """ -This signal is sent out to retrieve pages for the checkout flow +This signal is sent out to retrieve pages for the checkout flow. Receivers are expected to return +a subclass of ``pretix.presale.checkoutflow.BaseCheckoutFlowStep``. As with all plugin signals, the ``sender`` keyword argument will contain the event. """