mirror of
https://github.com/wagtail/wagtail.git
synced 2024-11-24 19:17:48 +01:00
Renamed wagtail.contrib.wagtailstyleguide to wagtail.contrib.styleguide
This commit is contained in:
parent
58ea7f824a
commit
9a13b09d41
@ -74,8 +74,8 @@ source_lang = en
|
||||
type = PO
|
||||
|
||||
[wagtail.wagtailstyleguide]
|
||||
file_filter = wagtail/contrib/wagtailstyleguide/locale/<lang>/LC_MESSAGES/django.po
|
||||
source_file = wagtail/contrib/wagtailstyleguide/locale/en/LC_MESSAGES/django.po
|
||||
file_filter = wagtail/contrib/styleguide/locale/<lang>/LC_MESSAGES/django.po
|
||||
source_file = wagtail/contrib/styleguide/locale/en/LC_MESSAGES/django.po
|
||||
source_lang = en
|
||||
type = PO
|
||||
|
||||
|
@ -11,7 +11,7 @@ To install the styleguide module on your site, add it to the list of ``INSTALLED
|
||||
|
||||
INSTALLED_APPS = (
|
||||
...
|
||||
'wagtail.contrib.wagtailstyleguide',
|
||||
'wagtail.contrib.styleguide',
|
||||
...
|
||||
)
|
||||
|
||||
|
@ -61,7 +61,7 @@ All block types accept the following optional keyword arguments:
|
||||
The label to display in the editor interface when referring to this block - defaults to a prettified version of the block name (or, in a context where no name is assigned - such as within a ``ListBlock`` - the empty string).
|
||||
|
||||
``icon``
|
||||
The name of the icon to display for this block type in the menu of available block types. For a list of icon names, see the Wagtail style guide, which can be enabled by adding ``wagtail.contrib.wagtailstyleguide`` to your project's ``INSTALLED_APPS``.
|
||||
The name of the icon to display for this block type in the menu of available block types. For a list of icon names, see the Wagtail style guide, which can be enabled by adding ``wagtail.contrib.styleguide`` to your project's ``INSTALLED_APPS``.
|
||||
|
||||
``template``
|
||||
The path to a Django template that will be used to render this block on the front end. See `Template rendering`_.
|
||||
|
@ -29,7 +29,7 @@ var apps = [
|
||||
new App('wagtail/images'),
|
||||
new App('wagtail/snippets'),
|
||||
new App('wagtail/users'),
|
||||
new App('wagtail/contrib/wagtailstyleguide'),
|
||||
new App('wagtail/contrib/styleguide'),
|
||||
new App('wagtail/contrib/settings', {
|
||||
'appName': 'wagtailsettings',
|
||||
}),
|
||||
|
1
wagtail/contrib/styleguide/__init__.py
Normal file
1
wagtail/contrib/styleguide/__init__.py
Normal file
@ -0,0 +1 @@
|
||||
default_app_config = 'wagtail.contrib.styleguide.apps.WagtailStyleGuideAppConfig'
|
@ -4,6 +4,6 @@ from django.apps import AppConfig
|
||||
|
||||
|
||||
class WagtailStyleGuideAppConfig(AppConfig):
|
||||
name = 'wagtail.contrib.wagtailstyleguide'
|
||||
name = 'wagtail.contrib.styleguide'
|
||||
label = 'wagtailstyleguide'
|
||||
verbose_name = "Wagtail style guide"
|
@ -1 +0,0 @@
|
||||
default_app_config = 'wagtail.contrib.wagtailstyleguide.apps.WagtailStyleGuideAppConfig'
|
@ -111,7 +111,7 @@ INSTALLED_APPS = (
|
||||
'wagtail.tests.routablepage',
|
||||
'wagtail.tests.search',
|
||||
'wagtail.tests.modeladmintest',
|
||||
'wagtail.contrib.wagtailstyleguide',
|
||||
'wagtail.contrib.styleguide',
|
||||
'wagtail.contrib.routable_page',
|
||||
'wagtail.contrib.frontend_cache',
|
||||
'wagtail.contrib.search_promotions',
|
||||
|
Loading…
Reference in New Issue
Block a user