From 60284ea31444a45bb2f808dbf3ba97ae81a92497 Mon Sep 17 00:00:00 2001 From: Feanil Patel Date: Fri, 12 Sep 2025 09:49:06 -0400 Subject: [PATCH] docs: Fix the docs build. With the settings re-organization the docs settings file was missing a setting needed to properly run django. This wasn't caught in CI because the docs build is slow enough that we don't run it on every PR. --- docs/docs_settings.py | 4 ++++ 1 file changed, 4 insertions(+) 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__)