diff --git a/swh/docs/django_settings.py b/swh/docs/django_settings.py --- a/swh/docs/django_settings.py +++ b/swh/docs/django_settings.py @@ -9,5 +9,8 @@ if elt not in ns[var]: ns[var].append(elt) +# swh-web needs to find its static files when running autodoc +STATIC_DIR = web.STATIC_DIR +STATICFILES_DIRS = web.STATICFILES_DIRS SECRET_KEY = "change me"