diff --git a/docs/docs_settings.py b/docs/docs_settings.py index 0e01116390..a7e9963d2b 100644 --- a/docs/docs_settings.py +++ b/docs/docs_settings.py @@ -96,4 +96,8 @@ SWAGGER_SETTINGS["SECURITY_DEFINITIONS"] = { COMMON_TEST_DATA_ROOT = "" +# Needed because other settings derive from it and expect it +# to be a string but it is not relevant for generating docs. +LMS_ROOT_URL = "https://example.com" + derive_settings(__name__)