mirror of
https://github.com/wagtail/wagtail.git
synced 2024-12-01 11:41:20 +01:00
Update docs for static site generation
the staticsitegen command won't work without these settings- will throw NotImplementedErrors using defaults.
This commit is contained in:
parent
54eb98f8d4
commit
ebf2d767e0
@ -27,6 +27,13 @@ Then add ``django_medusa`` and ``wagtail.contrib.wagtailmedusa`` to ``INSTALLED_
|
||||
'wagtail.contrib.wagtailmedusa',
|
||||
]
|
||||
|
||||
Define ``MEDUSA_RENDERER_CLASS`` and ``MEDUSA_DEPLOY_DIR`` in settings:
|
||||
|
||||
.. code:: python
|
||||
|
||||
MEDUSA_RENDERER_CLASS = 'django_medusa.renderers.DiskStaticSiteRenderer'
|
||||
MEDUSA_DEPLOY_DIR = os.path.join(BASE_DIR, 'build')
|
||||
|
||||
|
||||
Rendering
|
||||
~~~~~~~~~
|
||||
|
Loading…
Reference in New Issue
Block a user