From ebf2d767e06fda34d4ba79dc9dd2d39949c2476d Mon Sep 17 00:00:00 2001 From: georgewhewell Date: Thu, 16 Apr 2015 10:56:29 +0100 Subject: [PATCH] Update docs for static site generation the staticsitegen command won't work without these settings- will throw NotImplementedErrors using defaults. --- docs/contrib/staticsitegen.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/contrib/staticsitegen.rst b/docs/contrib/staticsitegen.rst index 9c87c567b3..525a68333b 100644 --- a/docs/contrib/staticsitegen.rst +++ b/docs/contrib/staticsitegen.rst @@ -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 ~~~~~~~~~