From 642e8339999c2a216f98f97f1eb5b9e54f0e48a8 Mon Sep 17 00:00:00 2001 From: Yagnesh Date: Wed, 17 Jan 2024 18:25:18 +0530 Subject: [PATCH] feat: update file feature_toggle_annotations.yaml --- .../contrib/config/feature_toggle_annotations.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/code_annotations/contrib/config/feature_toggle_annotations.yaml b/code_annotations/contrib/config/feature_toggle_annotations.yaml index 2860517..ae63dc4 100644 --- a/code_annotations/contrib/config/feature_toggle_annotations.yaml +++ b/code_annotations/contrib/config/feature_toggle_annotations.yaml @@ -25,3 +25,17 @@ extensions: python: - py rst_template: doc.rst.j2 + +# .. toggle_name: SOME_FEATURE_NAME +# .. toggle_implementation: WaffleFlag OR WaffleSwitch OR CourseWaffleFlag OR ExperimentWaffleFlag OR ConfigurationModel OR SettingToggle OR SettingDictToggle OR DjangoSetting +# .. toggle_default: True OR False +# .. toggle_description: Add here a detailed description of the consequences of enabling this feature toggle. +# Note that all annotations can be spread over multiple lines by prefixing every line after the first by +# at least three spaces (two spaces plus the leading space). +# .. toggle_warning: (Optional) Add here additional instructions that users should be aware of. For instance, dependency +# on additional settings or feature toggles should be referenced here. If this field is not needed, simply remove it. +# .. toggle_use_cases: temporary OR circuit_breaker OR vip OR opt_out OR opt_in OR open_edx +# .. toggle_creation_date: 2020-01-01 +# .. toggle_target_removal_date: 2020-07-01 (this is required if toggle_use_cases includes temporary. If not, simply remove it.) +# .. toggle_tickets: (Optional) https://openedx.atlassian.net/browse/DEPR-xxx, https://github.com/openedx/edx-platform/blob/master/docs/decisions/xxx.rst, https://github.com/openedx/edx-platform/pull/xxx (details initial feature) +SOME_FEATURE_NAME = ...