Move HelpPanel documentation to avoid redefinition of wagtail.admin.edit_handlers module

pull/4563/head
Matt Westcott 2018-05-15 14:57:07 +01:00
rodzic 5ce14841d8
commit a9a69bedf5
1 zmienionych plików z 21 dodań i 24 usunięć

Wyświetl plik

@ -91,6 +91,27 @@ FieldRowPanel
A class to apply to the FieldRowPanel as a whole
HelpPanel
---------
.. class:: HelpPanel(content='', template='wagtailadmin/edit_handlers/help_panel.html', heading='', classname='')
.. attribute:: HelpPanel.content
HTML string that gets displayed in the panel.
.. attribute:: HelpPanel.template
Path to a template rendering the full panel HTML.
.. attribute:: HelpPanel.heading
A heading for the help content.
.. attribute:: HelpPanel.classname
String of CSS classes given to the panel which are used in formatting and scripted interactivity.
PageChooserPanel
----------------
@ -239,30 +260,6 @@ SnippetChooserPanel
See :ref:`snippets` for more information.
HelpPanel
---------
.. module:: wagtail.admin.edit_handlers
.. class:: HelpPanel(content='', template='wagtailadmin/edit_handlers/help_panel.html', heading='', classname='')
.. attribute:: HelpPanel.content
HTML string that gets displayed in the panel.
.. attribute:: HelpPanel.template
Path to a template rendering the full panel HTML.
.. attribute:: HelpPanel.heading
A heading for the help content.
.. attribute:: HelpPanel.classname
String of CSS classes given to the panel which are used in formatting and scripted interactivity.
Built-in Fields and Choosers
~~~~~~~~~~~~~~~~~~~~~~~~~~~~