0
0
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:
Karl Hobley 2017-11-17 11:51:24 +00:00 committed by Matt Westcott
parent 58ea7f824a
commit 9a13b09d41
83 changed files with 8 additions and 8 deletions

View File

@ -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

View File

@ -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',
...
)

View File

@ -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`_.

View File

@ -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',
}),

View File

@ -0,0 +1 @@
default_app_config = 'wagtail.contrib.styleguide.apps.WagtailStyleGuideAppConfig'

View File

@ -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"

View File

@ -1 +0,0 @@
default_app_config = 'wagtail.contrib.wagtailstyleguide.apps.WagtailStyleGuideAppConfig'

View File

@ -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',