From 9600a90c1e027d5c22045873ce54b34c9ab991a0 Mon Sep 17 00:00:00 2001 From: Maria Grimaldi Date: Tue, 19 Mar 2024 09:08:45 -0400 Subject: [PATCH] docs: document ENABLE_HIDE_FROM_TOC_UI feature toggle (#34377) Docs for the ENABLE_HIDE_FROM_TOC_UI feature toggle so it can be extracted by the feature toggle sphinx plugin. --- cms/envs/common.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/cms/envs/common.py b/cms/envs/common.py index 1bdd61623d..15e1c39d19 100644 --- a/cms/envs/common.py +++ b/cms/envs/common.py @@ -551,6 +551,16 @@ FEATURES = { # https://github.com/openedx/openedx-events/issues/265 # .. toggle_tickets: https://github.com/edx/edx-arch-experiments/issues/381 'ENABLE_SEND_XBLOCK_LIFECYCLE_EVENTS_OVER_BUS': False, + + # .. toggle_name: FEATURES['ENABLE_HIDE_FROM_TOC_UI'] + # .. toggle_implementation: DjangoSetting + # .. toggle_default: False + # .. toggle_description: When enabled, exposes hide_from_toc xblock attribute so course authors can configure it as + # a section visibility option in Studio. + # .. toggle_use_cases: open_edx + # .. toggle_creation_date: 2024-02-29 + # .. toggle_tickets: https://github.com/openedx/edx-platform/pull/33952 + 'ENABLE_HIDE_FROM_TOC_UI': False, } # .. toggle_name: ENABLE_COPPA_COMPLIANCE